Mercurial > hg > truffle
comparison agent/make/build.xml @ 270:b7f01ad69d30
Merge
author | jmasa |
---|---|
date | Mon, 04 Aug 2008 12:11:36 -0700 |
parents | 54499b980c23 |
children | 9ee9cf798b59 |
comparison
equal
deleted
inserted
replaced
269:850fdf70db2b | 270:b7f01ad69d30 |
---|---|
40 | 40 |
41 <!-- Property Definitions --> | 41 <!-- Property Definitions --> |
42 | 42 |
43 <property name="app.name" value="sa"/> | 43 <property name="app.name" value="sa"/> |
44 <property name="dist.jar" value="${app.name}.jar"/> | 44 <property name="dist.jar" value="${app.name}.jar"/> |
45 <property name="libs" value="../src/share/lib"/> | |
46 <property name="classes" value="../build/classes"/> | 45 <property name="classes" value="../build/classes"/> |
47 | 46 |
48 <!-- The "prepare" target is used to construct the deployment home | 47 <!-- The "prepare" target is used to construct the deployment home |
49 directory structure (if necessary), and to copy in static files | 48 directory structure (if necessary), and to copy in static files |
50 as required. In the example below, Ant is instructed to create | 49 as required. In the example below, Ant is instructed to create |
81 | 80 |
82 The "compile" task depends on the "prepare" task, so the deployment | 81 The "compile" task depends on the "prepare" task, so the deployment |
83 home directory structure will be created if needed the first time. | 82 home directory structure will be created if needed the first time. |
84 --> | 83 --> |
85 | 84 |
86 <path id="javac.classpath"> | |
87 <pathelement path="${libs}/maf-1_0.jar" /> | |
88 <pathelement path="${libs}/jlfgr-1_0.jar" /> | |
89 </path> | |
90 | |
91 <target name="compile" depends="prepare" description="Compiles the sources"> | 85 <target name="compile" depends="prepare" description="Compiles the sources"> |
92 <javac srcdir="../src/share/classes" | 86 <javac srcdir="../src/share/classes" |
93 destdir="${classes}" | 87 destdir="${classes}" |
94 debug="on" deprecation="on" | 88 debug="on" deprecation="on" |
95 source="1.4"> | 89 source="1.4"> |
108 | 102 |
109 <mkdir dir="${classes}/sun/jvm/hotspot/ui/resources" /> | 103 <mkdir dir="${classes}/sun/jvm/hotspot/ui/resources" /> |
110 <copy todir="${classes}/sun/jvm/hotspot/ui/resources"> | 104 <copy todir="${classes}/sun/jvm/hotspot/ui/resources"> |
111 <fileset dir="../src/share/classes/sun/jvm/hotspot/ui/resources" includes="*.png" /> | 105 <fileset dir="../src/share/classes/sun/jvm/hotspot/ui/resources" includes="*.png" /> |
112 </copy> | 106 </copy> |
107 <copy todir="${classes}/toolbarButtonGraphics/development/"> | |
108 <fileset dir="../src/share/classes/images/toolbarButtonGraphics/development/" includes="*.gif" /> | |
109 </copy> | |
110 <copy todir="${classes}/toolbarButtonGraphics/general/"> | |
111 <fileset dir="../src/share/classes/images/toolbarButtonGraphics/general/" includes="*.gif" /> | |
112 </copy> | |
113 <copy todir="${classes}/toolbarButtonGraphics/navigation/"> | |
114 <fileset dir="../src/share/classes/images/toolbarButtonGraphics/navigation/" includes="*.gif" /> | |
115 </copy> | |
116 <copy todir="${classes}/toolbarButtonGraphics/text/"> | |
117 <fileset dir="../src/share/classes/images/toolbarButtonGraphics/text/" includes="*.gif" /> | |
118 </copy> | |
113 | 119 |
114 <jar jarfile="${classes}/${dist.jar}" | 120 <jar jarfile="${classes}/${dist.jar}" |
115 basedir="${classes}"/> | 121 basedir="${classes}"/> |
116 </target> | 122 </target> |
117 | 123 |