File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Deploy JAR file to UNIX Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Deploy JAR file to UNIX Server" Watch "Deploy JAR file to UNIX Server" New topic
Author

Deploy JAR file to UNIX Server

Troy Archbold
Greenhorn

Joined: May 17, 2005
Posts: 15
I am using a build.xml file to create a JAR file. I also need the build.xml ANT script to transfer the JAR file to a UNIX server where it will be deployed on WebLogic 8.1.

Is there a good way to transfer the file to the UNIX server besides a telnet session? If only it could be as easy as mapping to a Windows server.
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
You can use the optional ant FTP task.

Note that this task requires you to download a couple of additional jars if you don't already have them. The easiest way to use those is to drop them into your ant_home/lib directory along with the ant jars.

See the Library Dependencies section of the Installing ant page.

To use the FTP task, you need jakarta-oro , and commons-net jars.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploy JAR file to UNIX Server
 
Similar Threads
Ant Modifying Property file
ant against build.xml
eclipse and Ant (fundamental question)
Loadjava program
error during FTP transfer: org apache commons net MalformedServerReplyException