ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: Create filelists or filesets from property or path
Date Fri, 04 Apr 2003 07:53:25 GMT
You need the cvs version as 0.3 contained a stray debug
statement.

Also ant-contrib 0.3 and above needs at least ant 1.5.2.

Peter

On Friday 04 April 2003 09:17, you wrote:
> Dear Peter, dear Matthew,
>
> thanks for the hint. So I downloaded the latest ant-contrib (0.3)
> updating my jar file.
> Seems to work fine, but has a funny effect: it prints a list of the
> sourcefiles given as pathelement.
> Having a look into the sources, I could not find any printing or logging
> command which would cause this output.
>
> Hence, I tried building ant-contrib, but javac stopped with the
> following errors:
> build_contrib_jar:
>     [javac] Compiling 11 source files to C:\Documents and
> Settings\schulz\My
> Documents\Projects\Systematech\Development\externals\ant-contrib\ant-con
> trib\classes
>     [javac] C:\Documents and Settings\schulz\My
> Documents\Projects\Systematech\Development\externals\ant-contrib\ant-con
> trib\src\net\sf\antcontrib\logic\ForEach.java:312:
> handleOutput(java.lang.String) has protected access in
> org.apache.tools.ant.taskdefs.CallTarget
>     [javac]                 currentTarget.handleOutput(line);
>     [javac]                              ^
>     [javac] C:\Documents and Settings\schulz\My
> Documents\Projects\Systematech\Development\externals\ant-contrib\ant-con
> trib\src\net\sf\antcontrib\logic\ForEach.java:326:
> handleErrorOutput(java.lang.String) has protected access in
> org.apache.tools.ant.taskdefs.CallTarget
>     [javac]                 currentTarget.handleErrorOutput(line);
>     [javac]                              ^
>     [javac] 2 errors
>
> I am using Ant1.5.1.
>
> Best regards
> Stefan
>
> ---
> Stefan Schulz
> schulz@ivs.tu-berlin.de            http://ivs.tu-berlin.de
> tel:030 31 47 98 35                    fax:030 31 42 45 73
> TU-Berlin, Sekretariat EN-6, Einsteinufer 17, 10587 Berlin
>
> > -----Original Message-----
> > From: peter reilly [mailto:peter.reilly@corvil.com]
> > Sent: Thursday, April 03, 2003 4:24 PM
> > To: Ant Users List
> > Subject: Re: Create filelists or filesets from property or path
> >
> >
> > You have ran into one of the current issues
> > with ant - file sets cannot have multiple roots,
> > and most commands use file sets.
> >
> > There is a task - <outofdate> on ant-contrib which has
> > some of the behaviour of dependset. It can take a
> > path as a parameter.
> >
> > That said, if you are on unix or all the files in dos
> > are on the same partition (or "drive"), your <myanalyzetask>
> > should be able to generate a fileset where the dir property
> > is "/" for unix and drive:/ for dos, and all the file names
> > are relative to the root (/any/path/file.class ->
> > any/path/file.class).
> >
> > Peter


Mime
View raw message