You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by as as <sa...@yahoo.com> on 2004/05/17 15:26:43 UTC
Slightly off topic- Ant build script with array
HI all,
Sightly off topic I guess but I felt I could post here coz sometimes I saw discussions about Apache ANT.
Wnated to know how we can pass array values in a target for ant script (.xml file)
I have an array - colorCodes declared as string in my array-red blue green yellow etc
my ANT script currently is:
<project name="" default="fork" basedir="..">
<property name="version" location="0.1"/>
<path id="rt.class.path">
<target name="build">
<book ISBN="1234" author="james" yearOfPublication="1994" colorCodes="red,green,blue,yellow>
</target>
</project>
is this correct or a better way to do things....
thanks!
---------------------------------
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.