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 Copyright (c) 2007, 2010 IBM Corporation and others.
15 All rights reserved. This program and the accompanying materials
16 are made available under the terms of the Eclipse Public License v1.0
17 which accompanies this distribution, and is available at
18 http://www.eclipse.org/legal/epl-v10.html
21 IBM Corporation - initial API and implementation
22 Copyright (c) 2007, 2010 Association for Decentralized Information Management
24 All rights reserved. This program and the accompanying materials
25 are made available under the terms of the Eclipse Public License v1.0
26 which accompanies this distribution, and is available at
27 http://www.eclipse.org/legal/epl-v10.html
30 VTT Technical Research Centre of Finland - initial API and implementation
34 <project name="viewerApplet" basedir="." default="jar">
35 <property name="src" value="src"/>
36 <property name="output" value="classes"/>
37 <property name="build.compiler" value="javac1.5"/>
39 <property environment="env"/>
40 <property name="compiler" value="${env.JAVA_HOME}/bin/javac"/>
42 <target name="compile" depends="create">
43 <javac destdir="${output}" sourcepath="" source="1.5" target="1.5" compiler="javac1.5" fork="yes"><!-- executable="${compiler}">-->
45 <!-- And some dependencies that should be get ridden of -->
46 <include name="org/simantics/g2d/utils/GridConfiguration.java"/>
47 <include name="org/simantics/g2d/utils/GridUtils.java"/>
48 <classpath refid="build.classpath"/>
52 <target name="jar" depends="compile">
53 <jar destfile="org.simantics.g2d.jar">
54 <fileset dir="${output}"/>
55 <!-- include content of additional jar files -->
56 <!-- <zipfileset src="lib/svgSalamander-tiny.jar" includes="**/*.class"/> -->
61 <delete dir="${output}"/>
64 <target name="create" depends="clean">
65 <mkdir dir="${output}"/>
68 <path id="build.classpath">
70 <include name="**/*.jar" />