You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Geir Magnusson Jr <ge...@pobox.com> on 2006/07/20 08:14:55 UTC
[classlib] trouble invoking build from 'afar'
I'm having a little trouble w/ classlib build when invoking from an ant
task outside of trunk/
To demonstrate, go to enhanced/classlib and run the following ant script :
<?xml version="1.0" encoding="UTF-8"?>
<project name="test" default="default" basedir=".">
<target name="default">
<ant dir="trunk"/>
</target>
</project>
It bombs because there is some confusion about basedir or something :
C:\dev\apache\harmony\enhanced\classlib\trunk\modules\accessibility\build.xml:23:
Cannot find
C:\dev\apache\harmony\enhanced\classlib\trunk/../../make/properties.xml
imported from C:\dev\apache\harmony\enhanced\classlib\trunk\modules\access
ibility\build.xml
I'll dig into this in the morning, but if any of you ant gurus could
propose a fix...
geir
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib] trouble invoking build from 'afar'
Posted by Vladimir Gorr <vv...@gmail.com>.
New ant bug has been created for this issue:
*http://issues.apache.org/bugzilla/show_bug.cgi?id=40088*<http://issues.apache.org/bugzilla/show_bug.cgi?id=40088>
Thanks,
Vladimir.
On 7/21/06, Alexey Petrenko <al...@gmail.com> wrote:
>
> Ok, great.
>
> 2006/7/21, Vladimir Gorr <vv...@gmail.com>:
> > Yes, I'm in progress already.
> >
> > Thanks,
> > Vladimir.
> >
> > On 7/21/06, Alexey Petrenko <al...@gmail.com> wrote:
> > >
> > > 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 <vv...@gmail.com>:
> > > > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > > > >
> > > > >
> > > > >
> > > > > Vladimir Gorr wrote:
> > > > > > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> 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:
> harmony-dev-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail:
> harmony-dev-help@incubator.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexey A. Petrenko
> > > Intel Middleware Products Division
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> >
>
>
> --
> Alexey A. Petrenko
> Intel Middleware Products Division
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
Re: [classlib] trouble invoking build from 'afar'
Posted by Alexey Petrenko <al...@gmail.com>.
Ok, great.
2006/7/21, Vladimir Gorr <vv...@gmail.com>:
> Yes, I'm in progress already.
>
> Thanks,
> Vladimir.
>
> On 7/21/06, Alexey Petrenko <al...@gmail.com> wrote:
> >
> > 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 <vv...@gmail.com>:
> > > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > > >
> > > >
> > > >
> > > > Vladimir Gorr wrote:
> > > > > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> 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: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Alexey A. Petrenko
> > Intel Middleware Products Division
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
--
Alexey A. Petrenko
Intel Middleware Products Division
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib] trouble invoking build from 'afar'
Posted by Vladimir Gorr <vv...@gmail.com>.
Yes, I'm in progress already.
Thanks,
Vladimir.
On 7/21/06, Alexey Petrenko <al...@gmail.com> wrote:
>
> 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 <vv...@gmail.com>:
> > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > >
> > >
> > >
> > > Vladimir Gorr wrote:
> > > > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> 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: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> >
>
>
> --
> Alexey A. Petrenko
> Intel Middleware Products Division
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
Re: [classlib] trouble invoking build from 'afar'
Posted by Alexey Petrenko <al...@gmail.com>.
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 <vv...@gmail.com>:
> On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> >
> >
> >
> > Vladimir Gorr wrote:
> > > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> 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: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
--
Alexey A. Petrenko
Intel Middleware Products Division
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib] trouble invoking build from 'afar'
Posted by Vladimir Gorr <vv...@gmail.com>.
On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
>
>
>
> Vladimir Gorr wrote:
> > On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> 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: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
Re: [classlib] trouble invoking build from 'afar'
Posted by Geir Magnusson Jr <ge...@pobox.com>.
Vladimir Gorr wrote:
> On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> 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. 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: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib] trouble invoking build from 'afar'
Posted by Vladimir Gorr <vv...@gmail.com>.
On 7/20/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
>
> I'm having a little trouble w/ classlib build when invoking from an ant
> task outside of trunk/
>
> To demonstrate, go to enhanced/classlib and run the following ant script :
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <project name="test" default="default" basedir=".">
>
> <target name="default">
> <ant dir="trunk"/>
> </target>
> </project>
>
> It bombs because there is some confusion about basedir or something :
>
>
> C:\dev\apache\harmony\enhanced\classlib\trunk\modules\accessibility\build.xml:23:
> Cannot find
> C:\dev\apache\harmony\enhanced\classlib\trunk/../../make/properties.xml
> imported from C:\dev\apache\harmony\enhanced\classlib\trunk\modules\access
> ibility\build.xml
>
> I'll dig into this in the morning, but if any of you ant gurus could
> propose a fix...
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,
Vladimir.
geir
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>