You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mark Dobbrow <md...@imaginemedia.com> on 2000/08/15 02:15:50 UTC

destdir="." for compilation causes error

Setting the destination directory for a java compile gets an out of memory
error - looks like a recursion problem?

Anyone know how do you set the destdir to be the current directory???

Thanks,
Mark


My build.xml:
<project name="content" default="compile" basedir=".">
   <property name="dist" value="."/>

   <target name="compile">
      <javac
        srcdir=".."
        destdir="${dist}"
        />
   </target>

</project>




RE: destdir="." for compilation causes error

Posted by Mark Dobbrow <md...@imaginemedia.com>.
Found part of the problem: "." is fine for dest directory, except I have a
like to another class dir in my current directory - ant seems to recurse
infinitely because of this link - haven't figured out why yet.

> -----Original Message-----
> From: Mark Dobbrow [mailto:mdobbrow@imaginemedia.com]
> Sent: Monday, August 14, 2000 5:16 PM
> To: ant-user@jakarta.apache.org
> Subject: destdir="." for compilation causes error
>
>
> Setting the destination directory for a java compile gets an out of memory
> error - looks like a recursion problem?
>
> Anyone know how do you set the destdir to be the current directory???
>
> Thanks,
> Mark
>
>
> My build.xml:
> <project name="content" default="compile" basedir=".">
>    <property name="dist" value="."/>
>
>    <target name="compile">
>       <javac
>         srcdir=".."
>         destdir="${dist}"
>         />
>    </target>
>
> </project>
>
>
>
>