ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Surya Kiran <>
Subject <exclude> not working for <javac> having multiple <src> tags
Date Wed, 07 Mar 2012 02:20:45 GMT

I have a <javac> task as below

<javac destdir="${build}"

    <src path="${src}"/>
    <src path="${src2}"/>

    <include name="mypackage/p1/**"/>
    <include name="mypackage/p2/**"/>

    <exclude name="mypackage/p1/testpackage/**"/>

But <exclude> is not working.

Please let me know whats the problem or any other alternatives. Due to legacy structure we
need to put multiple <src> tags in <javac>

Please help. Thanks

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message