ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harna...@mail05.harlau.de
Subject RE: Relative paths
Date Fri, 13 Jan 2006 12:37:38 GMT
OK,
inheritall="false"
is better than using the dir attribute.

Regards, Frank


Quoting Paulo Jorge Guedes <Paulo.Guedes@artelecom.pt>:

> > -----Original Message-----
> > From: harnackf@mail05.harlau.de [mailto:harnackf@mail05.harlau.de]
> > 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message