3 Copyright (c) 2007, 2010 Association for Decentralized Information Management
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
11 VTT Technical Research Centre of Finland - initial API and implementation
14 <project name="scenegraph" basedir="." default="jar">
15 <property name="src" value="src"/>
16 <property name="output" value="classes"/>
17 <property name="build.compiler" value="javac1.6"/>
19 <property environment="env"/>
20 <property name="compiler" value="${env.JAVA_HOME}/bin/javac"/>
22 <target name="compile" depends="create">
23 <!-- <javac destdir="${output}" sourcepath="" source="1.5" target="1.5" compiler="javac1.5" fork="yes">--><!-- executable="${compiler}">-->
24 <javac destdir="${output}" sourcepath="" fork="yes"><!-- executable="${compiler}">-->
26 <exclude name="org/simantics/scenegraph/eclipse/**"/>
27 <classpath refid="build.classpath"/>
31 <target name="jar" depends="compile">
32 <jar destfile="org.simantics.scenegraph.jar">
33 <fileset dir="${output}"/>
34 <!-- include content of additional jar files -->
35 <zipfileset src="lib/svgSalamander-tiny.jar" includes="**/*.class"/>
36 <zipfileset src="lib/jfreechart-1.0.13.jar" includes="**/*.class, **/*.properties"/>
42 <fileset dir="." includes="*.jar"/>
44 <delete dir="${output}"/>
47 <target name="create" depends="clean">
48 <mkdir dir="${output}"/>
51 <path id="build.classpath">
53 <include name="**/*.jar" />