This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes how i can use a 3rd party build.xml in my own build file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "how i can use a 3rd party build.xml in my own build file?" Watch "how i can use a 3rd party build.xml in my own build file?" New topic
Author

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

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30392
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how i can use a 3rd party build.xml in my own build file?