ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Waldo, Paul W (Elemental Solutions)" <paul.waldo-...@eds.com>
Subject Exclude path for Javac task?
Date Wed, 10 Oct 2001 20:33:28 GMT
Hi all,

I've got a path defined for files to exclude from a java compile, but I
can't seem to get the syntax right:

    <path id="common.exclude.files">
        <pathelement location="common/test/PIN/"/>
        <pathelement location="common/tests/"/>
    </path>
    <target name="build.common" depends="init, depend">
        <javac  destdir="${build}" classpathref="jars">
            <src refid="common.source.dirs"/>
            <include name="common/**"/>
            <exclude refid="common.exclude.files"/>
        </javac>
    </target>

Is this doable?  Thanks so much for any pointers!

Paul

Mime
View raw message