ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alan" <>
Subject RE: Dynamic compilation
Date Tue, 13 Jul 2004 06:12:17 GMT
Subant did look like it was going to do the trick.  However, my problem
became that the build file in the subdirectory was being run as if it were
in the higher directory so all my relative links were off.

Is there a way to make the build files called by subant recognize their own
directory as the base directory for relative references.

I tried setting the basedir property for the slave build file but that
didn't work (I thought it would).  InheritAll and inheritRefs don't appear
to do what I'd like them to either.

Am I on the right track?


-----Original Message-----
From: Yuji Yamano [] 
Sent: Monday, July 12, 2004 6:26 PM
Subject: Re: Dynamic compilation

On Mon, 12 Jul 2004 18:10:55 -0700,
"alan" <> wrote:

> Does anyone know if it's possible to have a central build file call out
> dynamically to whatever slave build files it can find under it's
> Our project consists of many modules that are frequently added to.  Each
> it's own build file.  These all have the same targets and are all called
> minibuild.xml.  
> We then have a central build file that calls out to these slave files and
> builds each of them.  

Subant task seems to fit your needs.

-- Yuji Yamano <>
  Loan me your funky mind. So I can play with it,
  for nothing is good unless you play with it. --George Clinton

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

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

View raw message