my dog learned polymorphism
The moose likes Ant, Maven and Other Build Tools and the fly likes XML basedir Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "XML basedir" Watch "XML basedir" New topic
Author

XML basedir

Abder-Rahman Ali
Ranch Hand

Joined: May 22, 2008
Posts: 138
Does "basedir" in XML mean the main directory that my XML file will be located in?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56180
    
  13

Please take the time to choose the correct forum for your posts. This forum is for questions on XML, not Ant scripts. For more information, please read this.

This post has been moved to a more appropriate forum.

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

Abder-Rahman Ali wrote:Does "basedir" in XML mean the main directory that my XML file will be located in?

No, probably not. (I say "Probably" because what you said isn't very clear.)
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5536

I will make a wild guess and assume that you mean the ${basedir} property in an Ant build.xml file. In that case, the answer is yes - ${basedir} yields the directory containing the build.xml file.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML basedir
 
Similar Threads
The <jar> type doesn't support the nested "copy" element.
JIBX - ant script for jar.
noob to ant need help please
War file created by Ant is not working with an exception cannot find global ActionForward for name *
Getting only modified from vss using ant scripts