Forums Register Login
Pushing a .jar file to remote server using ant build file
Hi all

My requirement is i need to generate a generate a jarfile using ant build.xml and need to push that generated jar to a server using sftp.

can any help me regarding this
Ok. Well, what do you have so far? The first step is to create a build.xml file. Then you can try compile/jar up the code. When you get stuck, post where you get up to.

thanks for the reply, i am using the following code to upload to the server using FTP.

And what error do you get?

there was no error and no output
Try running ant with the verbose flag. There has to be some output. Especially if you are having a probelm.

This thread has been viewed 649 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 19, 2018 11:54:46.