ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject RE: Pass Quotes to arg line
Date Wed, 16 Jul 2008 15:33:55 GMT
So, assuming one does this, how would one put quotes in place around 
params?

On Wed, 16 Jul 2008, Karr, David wrote:

> As another poster pointed out, the correct solution is to use multiple
> "arg"s with "value" attributes, not trying to figure out how to get
> through the various escaping layers with the "line" attribute.
>
>> -----Original Message-----
>> From: Peters, John [mailto:John.Peters@bcbsfl.com]
>> Sent: Tuesday, July 15, 2008 2:27 PM
>> To: user@ant.apache.org
>> Subject: Pass Quotes to arg line
>>
>> Hello,
>> I'm trying to pass quotes to the arg line for a parameter
>> that has spaces in it.
>> I've tried &quot; but that didn't seem to work.
>> Also tried "" \".
>> Any suggestions?
>>
>> <target name="call_tfsbuild" depends="process_proj">
>>   <exec executable="${os.tfsbuild}" failonerror="true">
>>   <arg line="start ${os.tfsmstr} ${cc.vob} ${cc.proj}
>> /msBuildArguments:/p:LabelComment=Label for Build at
>> ${local.time.start}
>> " />
>>   </exec>
>> </target>
>>
>>
>>
>> Blue Cross Blue Shield of Florida, Inc., and its subsidiary
>> and affiliate companies are not responsible for errors or
>> omissions in this e-mail message. Any personal comments made
>> in this e-mail do not reflect the views of Blue Cross Blue
>> Shield of Florida, Inc.  The information contained in this
>> document may be confidential and intended solely for the use
>> of the individual or entity to whom it is addressed.  This
>> document may contain material that is privileged or protected
>> from disclosure under applicable law.  If you are not the
>> intended recipient or the individual responsible for
>> delivering to the intended recipient, please (1) be advised
>> that any use, dissemination, forwarding, or copying of this
>> document IS STRICTLY PROHIBITED; and (2) notify sender
>> immediately by telephone and destroy the document. THANK YOU.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>> additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

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


Mime
View raw message