aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes XML basedir 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 "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: 60997
    
  65

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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: 5823
    
    7

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