File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 30369
    
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how i can use a 3rd party build.xml in my own build file?