Last modified by Pascal Robert on 2009/02/18 10:53

From version 3.1
edited by Pascal Robert
on 2009/02/18 10:53
Change comment: There is no comment for this version
To version 2.1
edited by Pascal Robert
on 2008/01/25 21:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  You can do many things with Ant, one of them is the ability to use tools like //[[tar>>http://ant.apache.org/manual/CoreTasks/tar.html]]//, //[[gzip>>http://ant.apache.org/manual/CoreTasks/pack.html]]//, //[[FTP>>http://ant.apache.org/manual/OptionalTasks/ftp.html]]// and //[[scp>>http://ant.apache.org/manual/OptionalTasks/scp.html]]// for remote deployment. At work, we use a shell script on our servers to deploy our apps, and we are using //rsync// to send the applications to the server before calling the shell script. Would be great to actually do this in one step ? It's quite easy!.
2 2  
3 -First, you need to install [[JSch>>http://sourceforge.net/projects/jsch/]]. We use the //jsch-0.1.29// release, we didn't try a later release. Copy the JAR into ///Developer/Java/Ant/lib/// (Mac OS X 10.4) or ///usr/share/ant/lib/// (Mac OS X 10.5).
3 +First, you need to install [[JSch>>http://sourceforge.net/projects/jsch/]]. We use the //jsch-0.1.29// release, we didn't try a later release. Copy the JAR into ///Developer/Java/Ant/lib///.
4 4  
5 5  Next, you need to add this JAR to the Ant lib list inside Eclipse. Open Eclipse's preferences (Eclipse->Preferences), open the //Tab// triangle and click on //Runtime//. Select //Ant Home Entries// and click on //Add External JARs...// Browse up to ///Developer/Java/Ant/lib/// and select //jsch-0.X.XX.jar//. The JAR should now be part of the list of JARs available for Ant.
6 6