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/

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to