ant-eclipse
Target package

package

  |
  +--compile
    |
    +--prepare
      |
      +--check

Packs the compiled classes.

The Java archive file is created by this task for the productive classes only with the explicitely configured manifest.

Detail:
<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>


Edouard Mercier 2003.10.01 21:48:07 - AntDoc V0.8g - XSL Transformer Factory: org.apache.xalan.processor.TransformerFactoryImpl