harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Gorr" <vvg...@gmail.com>
Subject Re: [classlib] trouble invoking build from 'afar'
Date Thu, 20 Jul 2006 07:20:09 GMT
On 7/20/06, Geir Magnusson Jr <geir@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message