ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From detlef.bren...@canoo.com
Subject appending two quotes to a command line
Date Thu, 11 Jul 2002 13:23:40 GMT
Hello,

does somebody know how I can add a string like '-dbpass ""' to a command line ?

I tried a lot of different aproaches but cannot find out how to do it.
Unfortunately my execFile doesnt work with single quotes- it excatly has to be
like to commandline below.

<command line>execFile -user MyUser -dbpass ""

**** here are various exec command which dont work. ***
<exec executable="execFile" >
    <arg line="-user ${user}" />		
    <arg line="-dbpass &quot;&quot;" />
</exec>
++++++++++ doesnt work !!!
<exec executable="execFile" >
    <arg line="-user ${user}" />		
    <arg value="-dbpass &quot;&quot;" />
</exec>
++++++++++ doesnt work !!!
<exec executable="execFile" >
    <arg line="-user ${user}" />		
    <arg value="-dbpass ''" />
</exec>
++++++++++ doesnt work !!!

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


Mime
View raw message