• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

export svn content to other server

 
nlr reddy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more approach http://ant.apache.org/manual/OptionalTasks/scp.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic