1
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- WARNING: Eclipse auto-generated file.
3
Any modifications will be overwritten.
4
To include a user specific buildfile here, simply create one in the same
5
directory with the processing instruction <?eclipse.ant.import?>
6
as the first entry and export the buildfile again. -->
10
<project basedir="." default="build" name="jhv">
12
<exec executable="bzr" outputproperty="revnumber">
17
<replaceregexp file="./src/org/helioviewer/jhv/gui/dialogs/AboutDialog.java" match="Revision (.?)(.?)(.?)"
18
replace="Revision ${revnumber} "/>
21
<property environment="env"/>
22
<property name="viewmodel.location" value="../viewmodel"/>
23
<property name="ECLIPSE_HOME" value="../../../Downloads/eclipse"/>
24
<property name="base.location" value="../base"/>
25
<property name="hvplugin.location" value="../hvplugin"/>
26
<property name="debuglevel" value="source,lines,vars"/>
27
<property name="target" value="1.5"/>
28
<property name="source" value="1.5"/>
29
<path id="base.classpath">
30
<pathelement location="${base.location}/bin"/>
32
<path id="viewmodel.classpath">
33
<pathelement location="${viewmodel.location}/bin"/>
34
<pathelement location="${viewmodel.location}/lib/fits.jar"/>
35
<pathelement location="${viewmodel.location}/lib/kdu_jni.jar"/>
36
<path refid="base.classpath"/>
37
<pathelement location="${viewmodel.location}/lib/gluegen-rt.jar"/>
38
<pathelement location="${viewmodel.location}/lib/jogl.jar"/>
39
<pathelement location="${viewmodel.location}/lib/json.jar"/>
41
<path id="hvplugin.classpath">
42
<pathelement location="${hvplugin.location}/bin"/>
44
<path id="jhv.classpath">
45
<pathelement location="bin"/>
46
<path refid="base.classpath"/>
47
<path refid="viewmodel.classpath"/>
48
<pathelement location="${viewmodel.location}/lib/kdu_jni.jar"/>
49
<path refid="hvplugin.classpath"/>
50
<pathelement location="${viewmodel.location}/lib/gluegen-rt.jar"/>
51
<pathelement location="${viewmodel.location}/lib/jogl.jar"/>
52
<pathelement location="${viewmodel.location}/lib/json.jar"/>
56
<copy includeemptydirs="false" todir="bin">
58
<exclude name="**/*.launch"/>
59
<exclude name="**/*.java"/>
66
<target depends="clean" name="cleanall">
67
<ant antfile="${base.location}/build.xml" dir="${base.location}" inheritAll="false" target="clean"/>
68
<ant antfile="${hvplugin.location}/build.xml" dir="${hvplugin.location}" inheritAll="false" target="clean"/>
69
<ant antfile="${viewmodel.location}/build.xml" dir="${viewmodel.location}" inheritAll="false" target="clean"/>
71
<target depends="build-subprojects,build-project" name="build"/>
72
<target name="build-subprojects">
73
<ant antfile="${base.location}/build.xml" dir="${base.location}" inheritAll="false" target="build-project">
75
<propertyref name="build.compiler"/>
78
<ant antfile="${hvplugin.location}/build.xml" dir="${hvplugin.location}" inheritAll="false" target="build-project">
80
<propertyref name="build.compiler"/>
83
<ant antfile="${viewmodel.location}/build.xml" dir="${viewmodel.location}" inheritAll="false" target="build-project">
85
<propertyref name="build.compiler"/>
89
<target depends="init" name="build-project">
90
<echo message="${ant.project.name}: ${ant.file}"/>
91
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
93
<classpath refid="jhv.classpath"/>
96
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
97
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
98
<copy todir="${ant.library.dir}">
99
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
101
<unzip dest="${ant.library.dir}">
102
<patternset includes="jdtCompilerAdapter.jar"/>
103
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
106
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
107
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
108
<antcall target="build"/>
110
<target name="JavaHelioViewer">
112
<java classname="org.helioviewer.jhv.JavaHelioViewer" failonerror="true" fork="yes">
113
<classpath refid="jhv.classpath"/>
122
<ant antfile="../build.xml">
2
<project default="create_run_jar" name="Create Runnable Jar for Project jhv">
3
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
4
<!--ANT 1.7 is required -->
5
<target name="create_run_jar">
15
<jar destfile="/Users/andreas/nasa/jhv-andreas/JhelioViewer.jar" filesetmanifest="mergewithoutmain">
17
<attribute name="Main-Class" value="org.helioviewer.jhv.JavaHelioViewer"/>
18
<attribute name="Class-Path" value="."/>
20
<fileset dir="/Users/andreas/nasa/jhv-andreas/jhv/bin"/>
21
<fileset dir="/Users/andreas/nasa/jhv-andreas/base/bin"/>
22
<fileset dir="/Users/andreas/nasa/jhv-andreas/viewmodel/bin"/>
23
<zipfileset excludes="META-INF/*.SF" src="/Users/andreas/nasa/jhv-andreas/viewmodel/lib/fits.jar"/>
24
<zipfileset excludes="META-INF/*.SF" src="/Users/andreas/nasa/jhv-andreas/viewmodel/lib/kdu_jni.jar"/>
25
<zipfileset excludes="META-INF/*.SF" src="/Users/andreas/nasa/jhv-andreas/viewmodel/lib/gluegen-rt.jar"/>
26
<zipfileset excludes="META-INF/*.SF" src="/Users/andreas/nasa/jhv-andreas/viewmodel/lib/jogl.jar"/>
27
<zipfileset excludes="META-INF/*.SF" src="/Users/andreas/nasa/jhv-andreas/viewmodel/lib/json.jar"/>
28
<fileset dir="/Users/andreas/nasa/jhv-andreas/hvplugin/bin"/>