<target name="package" depends="gwtc,compile">
<jar destfile="${jars}/prototype-em-server.jar">
<fileset dir="${classes}">
<exclude name="com/opencloud/rem/prototype/dev/**"/>
</fileset>
</jar>
<jar destfile="${artifacts}/prototype-em.em.jar">
<fileset dir="${target}/war" includes="prototype/**"/>
<fileset dir="${basedir}/war" includes="prototype.html"/>
<zipfileset prefix="WEB-INF/lib" file="${jars}/prototype-em-server.jar"/>
<zipfileset prefix="WEB-INF/lib" dir="${libs}/war">
<include name="name-of-third-party-library.jar"/>
</zipfileset>
<manifest>
<attribute name="Short-Name" value="prototype"/>
<attribute name="Version" value="${plugin.version}"/>
<attribute name="Description" value="${plugin.description}"/>
</manifest>
</jar>
</target>