ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik" <>
Subject Delima to use or not to use build.xml
Date Tue, 14 Feb 2006 07:04:33 GMT
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}"/>

1)How to set the Target name for ="TgtName"

  "<property name="TgtName" value="$(target}"/>"

   in property  Using ANT API ("*")

2)How to execute the argumented target using ANT API's.

Please somebody expalin to me

With regards

  -----Original Message-----
  From: Karthik []
  Sent: Tuesday, February 14, 2006 10:51 AM
  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.


    then is  the "buildfile.xml"  still necessary for execution.

  Please somebody  explain.....

  with regards

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message