File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Deploy JAR file to UNIX Server
Joined: May 17, 2005
May 19, 2005 09:41:00
I am using a build.xml file to create a JAR file. I also need the build.xml
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.
Joined: Oct 10, 2000
May 19, 2005 11:00:00
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.
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:
subject: Deploy JAR file to UNIX Server
error during FTP transfer: org apache commons net MalformedServerReplyException
eclipse and Ant (fundamental question)
Ant Modifying Property file
ant against build.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014