You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by pa...@escalate.com on 2002/06/28 07:01:16 UTC

followsymlinks in javac task does not work

I specified:

  <target name="app_only">
    <javac srcdir="${src.home}" destdir="${deploy.home}/classes"
           includes="dd/app/**"
           excludes="dd/app/WEB-INF/** "
           followsymlinks="false"
           failonerror="false"
           debug="on" optimize="off" deprecation="off">
        <classpath refid="dd.class.path"/>
    </javac>
  </target>

and get the error;
app_only:

BUILD FAILED
/scratch/paul/rel61/build.xml:156: The <javac> task doesn't support the
"followsymlinks" attribute.

I am using 1.5 beta3, and according to the documentation:
 http://jakarta.apache.org/ant/manual/CoreTasks/javac.html
 This task(mean javac) forms an implicit FileSet and supports all attributes
of <fileset> (dir becomes srcdir) as well as the nested <include>, <exclude>
and <patternset> elements.
FileSet (http://jakarta.apache.org/ant/manual/CoreTypes/fileset.html)
supports the followsymlinks tag.

Is this a bug?

Currently, I have a symlink in the WEB-INF directory that points back to the
dd/app directory,creating a circle and ant traverses the cycle until runs
out of memory.

Any help would be highly appreciated.

Paul



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: followsymlinks in javac task does not work

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 27 Jun 2002, paul yan <pa...@escalate.com> wrote:

> I am using 1.5 beta3, and according to the documentation:
> http://jakarta.apache.org/ant/manual/CoreTasks/javac.html This
> task(mean javac) forms an implicit FileSet and supports all
> attributes of <fileset> (dir becomes srcdir) as well as the nested
> <include>, <exclude> and <patternset> elements.

Oops, you are right.  Will be fixed in the 1.5 branch shortly
(casesensitive is also missing).  Once it is available (in about two
or three hours from now (6am GMT), you can get a fixed version from
<http://cvs.apache.org/~bodewig/gump/ant1.5beta/20020628/>.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>