Hi, Normally, the signature for the start of an ant build file is in the following form:
<project name="projA" default="compile" basedir="D:/source"> Can 'basedir' be set and/or reset elsewhere in the ant file ? For example, I would like to abstract all hard-coded directory information into a seperate XML file that gets included as part of the build process. This way, the "core" buidl file does not change, only a few properties in a XML file. Can 'basedir' be set (A) before the <project> element as below : Can it be set in "user-build.xml" ? <?xml version="1.0" encoding="UTF-8"?> <!-- user-build.xml has the property settings --> <!DOCTYPE project [ <!ENTITY user SYSTEM "user-build.xml"> <!ENTITY common SYSTEM "common-build.xml"> ]> <project name="projA" default="compile" basedir="D:/source"> .... .... </project> (B) after the <project> element ? <project name="projA" default="compile"> <!-- set basedir after start of project element --> <property name="basedir" value="D:/source"/> .... .... </project> Thanks, Raju