On Monday 25 March 2002 11:32 am, [EMAIL PROTECTED] wrote:
> <javac> task's excludes pattern matcher doesn't work.
...
> Version: 1.4.1
...
> I have common source path,
> "includes" attribute takes all java ("**/*.java")
> "excludes" attribute filters one package, that contains
> sub-packages (my/package/web/**).
>
> The result is that "excludes" detects the first sub-package, but
> leaves the rest to be compiled.
>
> The same scenario in <jar> task does not happen anymore.
FYI: this works fine for me with the following setup:
Ant 1.4.1
properties file:
build.javac.exclude.no_longer_used = \
de/einsurance/productLogic/doppelkarte/**/*.java,\
de/slab/einsurance/dialog/kfz/**/*.java,\
de/einsurance/backoffice/hrwizard/**/*.java
build.javac.exclude.temp = \
de/einsurance/servlet/util/PrintUnfallOnlineAntrag.java
build.javac.excludes = \
${build.javac.exclude.no_longer_used},\
${build.javac.exclude.temp}
...
<javac debug="true"
verbose="off"
encoding="ISO-8859-1"
deprecation="off"
destdir="${classes.out.dir}"
srcdir="${build.srcdir}"
failonerror="false"
fork="yes" memoryMaximumSize="160m"
excludes="${build.javac.excludes}"
>
<classpath refid="classpath"/>
<include name="**/*.java" />
</javac>
----- stephan
Generic Unix Computer Guy
[EMAIL PROTECTED] - http://www.einsurance.de
Office: +49 (89) �552 92 862 Handy: �+49 (179) 211 97 67
"...control is a degree of inhibition, and a system which is perfectly
inhibited is completely frozen." -- Alan W. Watts
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>