This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Dowloading file from a remote location on to another remote machine. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Dowloading file from a remote location on to another remote machine." Watch "Dowloading file from a remote location on to another remote machine." New topic
Author

Dowloading file from a remote location on to another remote machine.

Yogendra Singh Butola
Greenhorn

Joined: Sep 28, 2011
Posts: 13
Hi,

As a part of improving the build process, I popped up with an idea to dowload the ear file staright to my remote dev server, instead of dowloading it locally first and the uploading it to the remote dev server.

Is there anything available in the ANT which allows me to do it ?


Thanks in Advance !!

Yogen....
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19726
    
  10

Sure, I do something like that (although I don't call it "downloading"). I map a drive to the remote share, then I copy the file to that drive, then I unmap the drive. All using ANT commands.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Dowloading file from a remote location on to another remote machine.
 
jQuery in Action, 3rd edition