Yep, it looks like an ant bug. I've searched ant bug database and have not find any open bugs according this issue. So we probably should file it.
SY, Alexey 2006/7/20, Vladimir Gorr <[EMAIL PROTECTED]>:
On 7/20/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: > > > > Vladimir Gorr wrote: > > On 7/20/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: > >> > >> I'm having a little trouble w/ classlib build when invoking from an ant > >> task outside of trunk/ > >> > > [SNIP] > > > > > The following fix eliminates your issue: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <project name="test" default="default" basedir="."> > > > > *<ant antfile="trunk/build.xml" inheritall="false" target="build"/>* > > > > </project> > > > > Thanks. That works. I don't understand why > > <ant dir="trunk" inheritall="false" target="build"/> > > doesn't. It seems this is new bug if I correctly undrstand the ant sub-task documentation: *When the antfile attribute is omitted, the file "build.xml" in the supplied directory (dir attribute) is used.* Thanks, Vladimir. > I thought when I saw your answer the real problem was that I > didn't use 'inheritall=false', but that's not the case. > > geir > > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
