Re: unsubscribe

Bob Archer <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
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]<mailto:[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\PdfCreator"

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://sprint.com/first> -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
NAnt-users mailing list
[email protected]<mailto:[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.