Skip to main content
summaryrefslogblamecommitdiffstats
blob: b576bc6814e7f5c0b87f5e695f44fc253cbfbc8a (plain) (tree)














































                                                                                                                                  
<?xml version="1.0"?>
<!--
    Copyright (c) 2004, 2010 BREDEX GmbH.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html
 -->

<project name="SimpleAdder" default="build" basedir=".">

  	<property name="app.name"      	value="SimpleAdder"/>
	<property name="src" 			value="src"/>
	<property name="build.dir"		value="build"/>
	<property name="classes"		value="build/classes"/>
	<property name="jars" 			value="build/jars"/>
	<property name="javac" 			value="javac"/>
	<property name="javac.debug" 	value="off"/>

	<target name="release" depends="clean, compile, build" />

	<target name="clean">
		<delete dir="${build.dir}"/>
	</target>

	<target name="compile">
		<mkdir dir="${build.dir}"/>
		<mkdir dir="${classes}"/>
		<mkdir dir="${jars}"/>
		<javac 	srcdir="${src}"
				destdir="${classes}"
				source="1.4"
				target="1.4"
				debug="${javac.debug}"
				fork="true"
		   		executable="${javac}"/>
	</target>

	<target name="build" depends="compile">
		<jar basedir="${classes}" destfile="${jars}/${app.name}.jar">
			<manifest>
				  <attribute name="Main-Class" value="org.eclipse.jubula.examples.aut.adder.swing.SimpleAdder"/>  
		    </manifest>
		</jar>
	</target>
	
</project>

Back to the top