[Logo]
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.
hi

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



thanks.
And what error do you get?
hi

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.
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 602 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 20, 2018 20:17:48.