Hi Form
I have a build.xml file with tags as displayed below...
<property name="src.dir" value="${basedir}"/>
<property name="dest.dir" value="${destdir}"/>
<property name="TgtName" value="$(target}"/>
<target name="${TgtName}"
<copy todir="${dest.dir}">
<fileset dir="${src.dir}"/>
</copy>
1)How to set the Target name for ="TgtName"
"<property name="TgtName" value="$(target}"/>"
in property Using ANT API ("org.apache.tools.ant.*")
2)How to execute the argumented target using ANT API's.
Please somebody expalin to me
With regards
Karthik
-----Original Message-----
From: Karthik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 10:51 AM
To: [email protected]
Subject: Delima to use or not to use build.xml
Hi Form
I am a begineer in here....
If One uses the API's of Ant from java to set/run the targets /tasks.
"org.apache.tools.ant.*"
then is the "buildfile.xml" still necessary for execution.
Please somebody explain.....
with regards
Karthik