RE: 'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Dominique Devienne
Look at the doc for Ant 1.5.x for , and the table explaining which dir
is used to build based on various things. I myself avoid the 'dir' attribute
of , so that the 'basedir' of the sub-build file applies. --DD

-Original Message-
From: Marc Dugger [mailto:mdugger@;austin.rr.com] 
Sent: Monday, October 28, 2002 10:13 AM
To: Ant Users List
Subject: RE: 'ant' task not overriding basedir (Ant 1.5.1)

Well, this might not be entirely accurate.  I changed the 'basedir' property
in the sub-project to the sub-directory in which I want it to build and it
still is building from the top of the project tree.  In fact, the only way I
can get it to build in a sub-directory is to change to that directory and
use the -f parameter.  Can anyone offer any insight on building sub-projects
in a different directory other than the current?


-Original Message-
From: Marc Dugger [mailto:mdugger@;austin.rr.com]
Sent: Monday, October 28, 2002 9:23 AM
To: [EMAIL PROTECTED]
Subject: 'ant' task not overriding basedir (Ant 1.5.1)


I'm attempting to invoke a sub-project from my main ant build.xml using the
task 'ant'.  Both build files reside in the same directory at the top of my
project tree.  However, I am attempting to build the sub-project from a
different directory further down in the tree by setting the 'dir' attribute
in hopes it would override the 'basedir' of the sub-project's build.xml.
This is not working.  It continues to build from the top of the project
tree.  Any insight as to why this is not working is greatly appreciated.
Thanks in advance!

-md

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>




RE: 'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Marc Dugger
Well, this might not be entirely accurate.  I changed the 'basedir' property
in the sub-project to the sub-directory in which I want it to build and it
still is building from the top of the project tree.  In fact, the only way I
can get it to build in a sub-directory is to change to that directory and
use the -f parameter.  Can anyone offer any insight on building sub-projects
in a different directory other than the current?


-Original Message-
From: Marc Dugger [mailto:mdugger@;austin.rr.com]
Sent: Monday, October 28, 2002 9:23 AM
To: [EMAIL PROTECTED]
Subject: 'ant' task not overriding basedir (Ant 1.5.1)


I'm attempting to invoke a sub-project from my main ant build.xml using the
task 'ant'.  Both build files reside in the same directory at the top of my
project tree.  However, I am attempting to build the sub-project from a
different directory further down in the tree by setting the 'dir' attribute
in hopes it would override the 'basedir' of the sub-project's build.xml.
This is not working.  It continues to build from the top of the project
tree.  Any insight as to why this is not working is greatly appreciated.
Thanks in advance!

-md


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>




'ant' task not overriding basedir (Ant 1.5.1)

2002-10-28 Thread Marc Dugger
I'm attempting to invoke a sub-project from my main ant build.xml using the
task 'ant'.  Both build files reside in the same directory at the top of my
project tree.  However, I am attempting to build the sub-project from a
different directory further down in the tree by setting the 'dir' attribute
in hopes it would override the 'basedir' of the sub-project's build.xml.
This is not working.  It continues to build from the top of the project
tree.  Any insight as to why this is not working is greatly appreciated.
Thanks in advance!

-md


--
To unsubscribe, e-mail:   
For additional commands, e-mail: