How do I exclude empty directories in jars?
I have the following target:
<target name="tdbase" depends="init">
<javac
srcdir="${src}"
destdir="${build}"
classpathref="projectlibs"
deprecation="on"
debug="on"
includes="com/timedisciple/base/*,com/timedisciple/jdbc/*,com/timedisciple
/jrule/*"
/>
<jar jarfile="${lib}/tdbase.jar">
<fileset dir="${build}" />
</jar>
<delete dir="${build}"/>
</target>
The result jar file seems to have empty base, jdbc, and jrule directories,
which seem to be causing the jvm to crash when I later use this jar in a
javac classpath...
Mark
-- \m/ --
"...if I seem super human I have been misunderstood." (c) Dream Theater
[EMAIL PROTECTED] - ICQ: 1934853 JID: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>