ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <>
Subject Re: Fileset ignores dir when using a includesfile
Date Thu, 26 Oct 2006 13:45:33 GMT
On 10/26/06, Eric Wood <> wrote:
> I using the following fileset in the PMD task and it appears to ignore
> the dir and look for the includesfile in the directory that I am running
> ant from.
Not quite,
the name is a File attribute and like most File Attributes, it
is relative to the ${basedir} which by default is the location
of the build file.

> Has anybody else seen this?
>             <fileset dir="${pmd.dir}" >
>                 <includesfile name=""/>
If you want to be relative to pmp.dir, you need
to do:
<includesfile name="${pmd.dir}/"/>


>             </fileset>
> I have run it in debug mode and the fileset directory appears to be
> correct and the file exist and is readable, but the error message does
> not reflect the ${pmd.dir} dir setting.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message