I have been playing with using properties files for passing variables into
my ANT scripts.
Is there a way to pass in a property which has spaces?
i.e.
name=John Smith
I've tried using quotes (i.e. name="John Smith") , but then the quotes are
in the variable....
Is there another way? Or a way to strip the quotes from the variables??
Thank you!!
Ant script:
<?xml version="1.0"?>
<project name="test" basedir="." default="echo">
<target name="init">
<property file="c:/ant/bin/some.properties"/>
</target>
<target name="echo" depends="init">
<echo message="${name} was here"/>
</target>
</project>