aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes export svn content to other server 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 "export svn content to other server" Watch "export svn content to other server" New topic
Author

export svn content to other server

nlr reddy
Greenhorn

Joined: Jul 05, 2009
Posts: 9
Hi,

I use ant to export content from svn compile and then deploy onto weblogic.

Now, the static content must go to server 1 and dynamic content to server 2.

The problem is, I'm running the ant script from server 2. So, How can I export static content to server 1 using the ant script?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Perhaps the ftp task will help: http://ant.apache.org/manual/OptionalTasks/ftp.html
If the disk(s) on server 1 are mounted on server 2 (or you are using Windows and the disks one server 1 are shared), then the copy task could be used.


JBoss In Action
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
One more approach http://ant.apache.org/manual/OptionalTasks/scp.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: export svn content to other server