This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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