ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Command Line execution
Date Fri, 23 Mar 2007 05:54:32 GMT
In the first example I wrote a wrapper and mask the quotation marks with xml entity &quot;


Jan



<project name="ISBuild.1stTry">

    <property name="is.home" location="C:/Program Files/InstallShield/InstallShield Professional
6.1/Program/">

    <macrodef name="isbuild">
        <attribute name="ipr"/>
        <attribute name="dir"/>
        <sequential>
            <exec taskname="isbuild" executable="${is.home}/ISBuild.exe">
                <arg value="-p&quot;@{ipr}&quot;"/>
                <arg value="-m&quot;Default&quot;"/>
                <arg value="-b&quot;@{dir}&quot;"/>
            </exec>
        </sequential>
    </macrodef>
    
    <isbuild 
      ipr="../RL_1_6_1_3/20070322_1451/installer/superstar2/superstar2install/SuperSERVER
VC 2003/SuperSERVER VC2003.ipr"
      dir="../RL_1_6_1_3/package/SuperSERVER"
    />

</project> 









>-----Ursprüngliche Nachricht-----
>Von: Shankar S [mailto:shanki@gmail.com] 
>Gesendet: Freitag, 23. März 2007 04:00
>An: Ant Users List
>Betreff: Command Line execution
>
>I want to invoke this command using ant's exec?
>
>i've tried getting double qoutes but haven't suceeded
>
>"C:/Program Files/InstallShield/InstallShield Professional
>6.1/Program/ISBuild.exe"
>-p"../RL_1_6_1_3/20070322_1451/installer/superstar2/superstar2i
>nstall/SuperSERVER
>VC 2003/SuperSERVER VC2003.ipr" -m"Default"
>-b"../RL_1_6_1_3/package/SuperSERVER"
>
>any help will be much appreciated ..
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message