Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how i can use a 3rd party build.xml in my own build file?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
thank you for reading my post.
I have a build.xml which is from a 3rd party application server.
we should pass a .war file to it to deploy the war file in the specific container.

now i want to use this build file inside my own build file.

can you tell me how i should do this?
specially how i should pass the war file name to it? (I have war file name in my own build file)

thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34179
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raminaa,
Take a look at the ant task to call another build file. You can pass information to it as properties.

If you show how you passed the .war file to the original build.xml, we can give you a more specific example.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic