]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.g2d/cc-build.xml
Fixed invalid comparisons which were identified by Eclipse IDE 2018-09
[simantics/platform.git] / bundles / org.simantics.g2d / cc-build.xml
1 <?xml version="1.0"?>
2 <!--
3     Copyright (c) 2007, 2010 Association for Decentralized Information Management
4     in Industry THTH ry.
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
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13 <!--
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
19    
20     Contributors:
21         IBM Corporation - initial API and implementation
22     Copyright (c) 2007, 2010 Association for Decentralized Information Management
23     in Industry THTH ry.
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
28    
29     Contributors:
30         VTT Technical Research Centre of Finland - initial API and implementation
31         
32  -->
33
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"/>
38
39     <property environment="env"/>
40     <property name="compiler" value="${env.JAVA_HOME}/bin/javac"/>
41
42     <target name="compile" depends="create">
43         <javac destdir="${output}" sourcepath="" source="1.5" target="1.5" compiler="javac1.5" fork="yes"><!-- executable="${compiler}">-->
44             <src path="${src}"/>
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"/>
49         </javac>
50     </target>
51
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"/> -->
57         </jar>          
58     </target>
59
60     <target name="clean">
61         <delete dir="${output}"/>
62     </target>
63
64     <target name="create" depends="clean">
65         <mkdir dir="${output}"/>
66     </target>
67
68     <path id="build.classpath">
69         <fileset dir="lib">
70             <include name="**/*.jar" />
71         </fileset>
72     </path>
73 </project>