Yes this should work although is not needed in either in the specifying of the executable attribute of <exec> task or the value attribute of the <arg> task, spaces are dealt with for both these attributes and puoting is not needed.
see the example here http://ant.apache.org/manual/using.html#arg for functionality of <arg value=""/> and examples here http://ant.apache.org/manual/CoreTasks/exec.html which shows use of properies with spaces. David TROGDON wrote: >In my build script I kick off a Windows command line to run an installation >creation application. The command line includes (simplified): > ><exec executable=" "e;Program To Run"e;"> > <arg value=""e;Path to Version"e;/> ></exec> > > >This occurs pretty far into the build process and I'd like vary the "arg >value" by useing a property near the top of the Ant script. > > >If I create a propery similar to: > ><property name="install.version" Value=""e;Path to Version"e;/> > >and change the "arg value" to: > >arg value="${install.version}/> > > >Will it "parse" (if that is the correct word) and run as expected with the >"e; in the property? > > >I thought one of the great minds here might know up front with out my >haveing to "blow up" my build to find out. > > >Thanks > > >David T. > > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
