Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I want my ant script Implement a function  RSS feed

yu xiaohang
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody i am using ant in my project ,and i found it is difficult to copy files to different directories at one time ,but sometimes i must excute an operation like making patch to current webapps:

1. i have two dirs A and B, then i have some *.class patch files in dir A;
2. next i unzip war file of current version webapp into dir B;
3. a file named “change.list” was placed in dir A ,*.class files' names and address in the app‘s directory are described in following fomate:


4. i want ant script read change.list file then copy those *.class files from dir A to dir B with the right address described in the change.list file so my

5. i rezip dir B to a .war file, at last this war package could be updated automatically when i run my ant script.

i have tried it for several days but i still have no result,any one can help me? just give me some advise, please....
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!