Hi all,

I just find, while testing ANT 1.4 on NetBeans, strange behaviour of
javac task:
I can't remove a directory from compiling.
Here is example:
     <javac
         srcdir="src"
         deprecation="${build.compiler.deprecation}"
         debug="${build.compiler.debug}"
         destdir="src"
         excludes="org/netbeans/modules/vcs/advanced/config">
       <include name="src"/>
       <classpath>
        <pathelement 
location="${nbroot}/openide/openide-13javac-workaround.jar"/>
         <fileset dir="${nbroot}/openide/netbeans/lib">
           <include name="openide*.jar" />
         </fileset>
        <pathelement
location="${nbroot}/openidex/netbeans/modules/autoload/openidex.jar"/>
        <pathelement
location="${nbroot}/vcscore/netbeans/modules/autoload/vcscore.jar"/>
         <pathelement
location="${binroot}/core/release/lib/ext/xerces.jar"/>
       </classpath>
     </javac>

The files in org/netbeans/modules/vcs/advanced/config still being compiled

I tried the nested exclude too, but it dosn't work.
BTW It works OK under ANT 1.3

Michal

PS: Sorry for using this mailing list instead of filling a bug, but I
can't connect to your bugzilla
--
Buildmaster of NetBeans
Michal Zlamal <mailto:[EMAIL PROTECTED]>




Reply via email to