I am trying to get a string to be passed into ant in order for it to be ran as a parameter inside of a java function. Does anyone know how to do this?
Defining a string, this string has to have white spaces in between. For example, "Hello world hi"
<target name = "run" depends="compile">
<property name="input" value="report" />
<java classname="assn4">
<classpath>
<pathelement path="."/>
</classpath>
<arg line="${input}"/>
</java>
</target>