<target
depends="compile"
description="Packs the compiled classes."
name="package"
>
<property
name="src.name"
value="${ant.project.name}-${version}${runtime.suffix}.jar"
/>
<jar jarfile="${lib.dir}/${src.name}">
<fileset
dir="${bin.dir}"
excludes="**/*Test*.class"
includes="**/*.class"
/>
<manifest>
<section name="prantl/ant/eclipse">
<attribute
name="Title"
value="Ant-Eclipse - task generating project files for Eclipse"
/>
<attribute
name="Comment"
value="This task generates files .classpath and .project for the Eclipse IDE using the settings from the Ant script."
/>
<attribute
name="Product"
value="Ant-Eclipse"
/>
<attribute
name="Version"
value="${version}"
/>
<attribute
name="Date"
value="${TODAY}"
/>
<attribute
name="Vendor"
value="Ferdinand Prantl <prantl@users.sourceforge.net>"
/>
<attribute
name="Copyright"
value="(C) 2005-2006 Ferdinand Prantl"
/>
<attribute
name="URL"
value="http://ant-eclipse.sourceforge.net"
/>
</section>
</manifest>
</jar>
</target>
|