ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: problem with commandlines
Date Fri, 11 Aug 2000 06:41:55 GMT
>>>>> "CW" == Cory Wandling <cory@ObjectDynamics.com> writes:

 CW> But the user must still specify the command line as a single line
 CW> and so there is still a basic problem with embedded spaces.

Quite the opposite is true with current CVS. You are going to get a
deprecation warning for the command attribute of <exec>. The preferred
way is to say

<exec executable="command">
  <arg value="value that contains spaces" />
  <arg line="value that shall be splitted like the OS would do" />
  <arg path="some;string:treated;as:a;path" />
  <arg file="relative/name/resolved/to/an/absolute/path/by/Ant" />
</exec>

Stefan

Mime
View raw message