ant-user mailing list archives

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

I have a <javac> task as below

<javac destdir="${build}"
         classpath="xyz.jar"
         debug="on">

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

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

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

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

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