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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 60053
    
  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: 18125
    
    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: 5772
    
    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
 
Similar Threads
noob to ant need help please
War file created by Ant is not working with an exception cannot find global ActionForward for name *
JIBX - ant script for jar.
The <jar> type doesn't support the nested "copy" element.
Getting only modified from vss using ant scripts