Hi Form
How to write the equivalent of the "FTP_UPLOAD" Task by using ANT API ("org.apache.tools.ant.*") <target name="FTP_UPLOAD" > <ftp server="${ftIp}" remotedir="${ftpremotedir}" userid="${ftpid}" password="${ftppas}" separator="\" action="put"> <fileset dir="${src.dir}"> <include name="**/*"/> </fileset> </ftp> </target> Mr McConell the site http://www.dpml.net/depot u reffred is probably down,and timing out on my FireFox Browser. Please somebody help he. with regards Karthik -----Original Message----- From: Stephen McConnell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 1:39 PM To: 'Ant Users List' Subject: RE: Delima to use or not to use build.xml > 1)How to set the Target name for ="TgtName" > > "<property name="TgtName" value="$(target}"/>" > > in property Using ANT API ("org.apache.tools.ant.*") http://api.dpml.net/ant/1.6.5/org/apache/tools/ant/Project.html#setProperty( java.lang.String,%20java.lang.String) > 2)How to execute the argumented target using ANT API's. Take a look at some examples of some systems that handle embedded ant. The DPML Depot system is the one I use (http://www.dpml.net/depot) but there are other more prominent/well-known examples on the net that you should probably dig into. Cheers, Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]