You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by jeroen <15...@student.eur.nl> on 2000/10/04 16:41:12 UTC
odd behaviour?
In a directory I have a buildfile and a directory called samples containing
sources of samples programs.
When I use the following task to compile the samples everything works fine,
this means that only files that are changed or that were not compiled before
are compiled.
<target name="samples" depends="init">
<javac srcdir="."
destdir="."
classpath="${classpath}:."
includes="samples/**/*.java"/>
</target>
But when use the following task ALL source files are compiled everytime I
call the task!
<target name="samples" depends="init">
<javac srcdir="./samples"
destdir="."
classpath="${classpath}:."
includes="**/*.java"/>
</target>
Why is there this difference?
greetings jeroen
Re: odd behaviour?
Posted by Jeroen Breedveld <je...@x-hive.com>.
Yep, that seems to be it.
Thanks,
jeroen
----- Original Message -----
From: "Stefan Bodewig" <bo...@bost.de>
To: <an...@jakarta.apache.org>
Sent: Wednesday, October 04, 2000 4:51 PM
Subject: Re: odd behaviour?
> Does
>
<http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/act
ion/SetAll/project_id/2/faq_id/16/topic_id/72/question_id/740>
> answer your question?
>
> If not, please help me to reword it 8^).
>
> Stefan
Re: odd behaviour?
Posted by Stefan Bodewig <bo...@bost.de>.
Does
<http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/16/topic_id/72/question_id/740>
answer your question?
If not, please help me to reword it 8^).
Stefan