OK, inheritall="false" is better than using the dir attribute. Regards, Frank
Quoting Paulo Jorge Guedes <[EMAIL PROTECTED]>: > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: sexta-feira, 13 de Janeiro de 2006 11:57 > > To: Ant Users List > > Subject: RE: Relative paths > > > > Something like this maybe help you in your root build.xml: > > > > <target name="compileApp1"> > > <ant antfile="apps/app1/nbproject/build.xml" > target="compileApp1" > > inheritall="true" inheritrefs="true"/> > > </target> > > > > <target name="compileApp2"> > > <ant antfile="apps/app2/nbproject/build.xml" > target="compileApp2" > > inheritall="true" inheritrefs="true"/> > > </target> > > > > <target name="packageApp1"> > > <ant antfile="apps/app1/nbproject/build.xml" > target="packageApp1" > > inheritall="true" inheritrefs="true"/> > > </target> > > > > <target name="packageApp2"> > > <ant antfile="apps/app2/nbproject/build.xml" > target="packageApp2" > > inheritall="true" inheritrefs="true"/> > > </target> > > > > It isn't nice, but it should work. > > > It works with "inheritall" set to false. > You're a life saver, thanks! > > Paulo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]