Re: unsubscribe

Andréys Guillaume <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
 

Think you, it is working but I had to write my property with imports like
this has I can’t use pathelement :

<property name="codegear-dir" value="c:\program files\codegear\rad
studio\6.0"/>

<property name="import"
value=”;&#34;${codegear-dir}\Imports&#34;;&#34;${codegear-dir}\Lib\ &#34;/>

 

Has windows path need to have “” if there are spaces …

 

Cordialement,
________________________________
Guillaume Andréys
Service Technique
 
OMT - River Side - 45 avenue Leclerc - 69007 Lyon
Tel commercial : 04 72 56 27 27
www.omt.fr <http://www.omt.fr/> 
 
Support Nota bene, Molière, UD SMS, StagExpert.net et toutes autres
installations : 04 72 56 27 20
Support UD Planning, UD Elèves, VieScolaire.net et VieScolaire.net Appel :
04 72 56 27 21
Support UD Répartition et UnDeuxTEMPS : 04 72 56 27 22
________________________________

 

De : Bob Archer [mailto:[email protected]] 
Envoyé : lundi 19 juillet 2010 18:31
À : Pavan Vadavalli; [email protected]
Objet : Re: [NAnt-users] unsubscribe

 

Use

 

<arg line="-I{Import}" />

 

instead. Value will quote the argument while line will pass it as is.

 

BOb

 

 

From: Pavan Vadavalli [mailto:[email protected]] 
Sent: Friday, July 16, 2010 6:07 PM
To: [email protected]
Subject: [NAnt-users] unsubscribe

 

 

2010/7/17 Andréys Guillaume <[email protected]>

 

Hi everybody, 

 

I am trying to compile a Delphi 32 bits application with nant, calling
dcc32.exe with the exec task. I’ve got problems that I can’t solve, maybe
someone can help me :

I want to launch the application with more or less this command line :

dcc32.exe -$O- -$D- -I”..\composants\src\Abrevia..\composants\src\JLabel”;”
..\composants\src\PdfCreator”;  … (I won’t put all the long command …)

 

My problem is with the –Ipath1;path2 …

 

If I am trying to do :

    <property name="composant-src-dir" value="..\composants\src"/>

    <path id="import">

     <pathelement dir="${composant-src-dir}/Abrevia" />

<pathelement dir="${composant-src-dir}/JLabel" />

     <pathelement dir="${composant-src-dir}/PdfCreator" />

    </path>

 

<exec program="dcc32.exe" basedir="${codegear-dir}/bin/" verbose="true">

<arg value="-$O-"/>

     <arg value="-$D-"/>

<arg value="-I"/>

      <arg>

        <path>

               <path refid="import" />

        </path>

      </arg>

</exec>

 

I can’t call the –I with path without an space between the –I and the path
list …

 

I have tried this :

<property name="composant-src-dir" value="..\composants\src"/>

<property name="import"
value="${composant-src-dir}\Abrevia;${composant-src-dir}\JLabel”/>

<exec program="dcc32.exe" basedir="${codegear-dir}/bin/" verbose="true">

<arg value="-$O-"/>

     <arg value="-$D-"/>

<arg value="-I${import}"/>

</exec>

 

But with this I have a “ before the –I that is coming and something like
this 

dcc32.exe O- -$D-
“-I..\composants\src\Abrevia..\composants\src\JLabel;..\composants\src\PdfCr
eator”

 

Then it won’t work … and I am loosing the benefice of the path element
(adding “ automatically, converting / to \ in windows …) 

 

Does someone have an idea to get out of those directory problems.

 

Think you for your help

 

Guillaume

 


----------------------------------------------------------------------------
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.