ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stephan beal <step...@wanderinghorse.net>
Subject Re: DO NOT REPLY [Bug 7437] New: - <javac> task's excludes pattern matcher doesn't work.
Date Mon, 25 Mar 2002 11:02:41 GMT
On Monday 25 March 2002 11:32 am, bugzilla@apache.org 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
stephan@einsurance.de - 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message