ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Zlamal <michal.zla...@sun.com>
Subject <javac> ant 1.4 task - strange behaviour - is it bug?
Date Fri, 31 Aug 2001 08:28:57 GMT
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:Michal.Zlamal@sun.com>



Mime
View raw message