From 18e948f21127276214a791a4c553daad93f60916 Mon Sep 17 00:00:00 2001
From: Peter Reilly ${src}/resources/mypackage/image.gif
, they will appear
in the same directory in the JAR (and thus be considered in the same package
by Java).
<jar destfile="build/main/checksites.jar"> + <fileset dir="build/main/classes"/> + <zipfileset src="lib/main/util.jar"> + <manifest> + <attribute name="Main-Class" + value="com.acme.checksites.Main"/> + </manifest> + </jar>+
+ Creates an executable jar file with a main class "com.acme.checksites.Main", and + embeds all the classes from util.jar. +
<jar destfile="test.jar" basedir="."> <include name="build"/> <manifest>