wood burning stoves
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "XML basedir" Watch "XML basedir" New topic

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

Joined: Jan 10, 2002
Posts: 63052

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

Joined: Oct 14, 2005
Posts: 19693

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

Joined: May 14, 2008
Posts: 5852

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
It's not a secret anymore!