ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Marshall" <emi.ericmarsh...@gmail.com>
Subject Re: trouble with dependset under ant v1.7
Date Tue, 01 Jul 2008 19:06:40 GMT
Investigating my problem further, I found some ant code
that I think is broken. Does anyone know the process
on how to alert an ant developer of my findings?

Thanks in advance.



> On Tue, Jun 24, 2008 at 3:40 PM, Eric Marshall <emi.ericmarshall@gmail.com> wrote:
>
>    I have the following dependset declaration
> in one of our project's build files:
>
> <dependset>
>    <srcfileset     dir="src"                    includes="**/*.java"/>
>    <srcfileset     dir="${extern.dep.dir}/dist" includes="**/*.jar"/>
>
>    <targetfilelist dir="dist"
> files="${ant.project.name}.jar"/>
> </dependset>
>
>
> with the intention that any newer project source file
> or any newer external dependent jar will cause our project's
> jar file to be removed.
>
>
> The problem I'm having under Red Hat Linux 4.4 is
> that with "ant -v", ant says that the newest source
> file is a Java file from the first srcfileset
> definition, although the jar file specified in
> the second srcfileset definition is much newer.
> The jar file from the second srcfileset definition
> is even newer than the project's jar file, so
> I was expecting the dependset to remove the project's
> jar file, but because ant is misreporting the
> date information from the source file set, that's
> not happening. Is this a bug in dependset or am
> I not understanding the documentation correctly?
>
>    Thanks in advance.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message