I'm trying to create empty jars
I have a target that creates a test jar, a target that should create an
empty JAR when there
are no tests
<target name="package-tests" depends="compile-tests"
description="create the JAR file for the tests">
<jar destfile="${test.jar}"
basedir="${test.classes.dir}"
whenmanifestonly="create"
compress="true"
duplicate="preserve"
includes="**/*"/>
</target>
[jar] Warning: skipping jar archive
/home/slo/Projects/SmartFrog/Forge/core/components/sfinstaller/dist/lib/sf-installer-test-3.10.slo.jar
because no files were included.
[jar] Building MANIFEST-only jar:
/home/slo/Projects/SmartFrog/Forge/core/components/sfinstaller/dist/lib/sf-installer-test-3.10.slo.jar
[jar] adding directory META-INF/
[jar] adding entry META-INF/MANIFEST.MF
so, why the message "skipping jar archive?" Because an archive is
being created.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]