SOLVED:
Still I can't say why all <include>/<exclude> statements fail in my 
configuration, but at last I found a workaround. I'll post it in case someone 
had similar issues.

build.properties
----------------
src.dir=${basedir}/projects/modules/src
# I overlooked subpackage sr2 previously, but that's not essential.
# Even including it (the old way, I mean) I get "[javac] No sources found."
src1=${src.dir}/apps/gdv/
src2=${src.dir}/packages/gui/elements/
src3=${src.dir}/packages/sde/actor/
src4=${src.dir}/packages/sde/monitor/
src5=${src.dir}/packages/sde/semaphore/
src6=${src.dir}/packages/synch/
build.dir=${basedir}/projects/WEB-INF/build
dist.dir=${basedir}/projects/WEB-INF/dist
project.name=gdv
main-class=apps.gdv.GDVLauncher
# I wish I could be more platform independent here...
jar-classpath=.\\gdv.jar


And here's the 'compile' task:

<target name="compile" depends="init">
 <javac sourcepath="${src.dir}/apps/gdv/GDVLauncher.java"
        srcdir="${src1}:${src2}:${src3}:${src4}:${src5}:${src6}"
        includeantruntime="false"
        destdir="${build.dir}" 
        debug="on"
/>
</target>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to