-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdraw2d.xml
More file actions
185 lines (151 loc) · 7.24 KB
/
Copy pathdraw2d.xml
File metadata and controls
185 lines (151 loc) · 7.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="draw2d" default="all">
<property file="build.props"/>
<!-- Uncomment the following property if no tests compilation is needed -->
<!--
<property name="skip.tests" value="true"/>
-->
<!-- Compiler options -->
<property name="compiler.debug" value="on"/>
<property name="compiler.generate.no.warnings" value="off"/>
<property name="compiler.args" value=""/>
<property name="compiler.max.memory" value="128m"/>
<patternset id="ignored.files">
<exclude name="**/CVS/**"/>
<exclude name="**/SCCS/**"/>
<exclude name="**/RCS/**"/>
<exclude name="**/rcs/**"/>
<exclude name="**/.DS_Store/**"/>
<exclude name="**/.svn/**"/>
</patternset>
<patternset id="compiler.resources">
<include name="**/?*.properties"/>
<include name="**/?*.xml"/>
<include name="**/?*.gif"/>
<include name="**/?*.png"/>
<include name="**/?*.jpeg"/>
<include name="**/?*.jpg"/>
<include name="**/?*.html"/>
<include name="**/?*.dtd"/>
<include name="**/?*.tld"/>
</patternset>
<!-- JDK definitions -->
<path id="jdk.classpath.jdk_1.5">
<fileset dir="${jdk.home.jdk_1.5}">
<include name="jre/lib/jce.jar"/>
<include name="jre/lib/charsets.jar"/>
<include name="jre/lib/jsse.jar"/>
<include name="jre/lib/plugin.jar"/>
<include name="jre/lib/javaws.jar"/>
<include name="jre/lib/rt.jar"/>
<include name="jre/lib/deploy.jar"/>
<include name="jre/lib/ext/sunpkcs11.jar"/>
<include name="jre/lib/ext/localedata.jar"/>
<include name="jre/lib/ext/sunjce_provider.jar"/>
<include name="jre/lib/ext/dnsns.jar"/>
</fileset>
</path>
<property name="project.jdk.home" value="${jdk.home.jdk_1.5}"/>
<property name="project.jdk.classpath" value="jdk.classpath.jdk_1.5"/>
<!-- Global Libraries -->
<path id="library.cdk_jars.classpath">
<fileset dir="${cdk.libs}">
<include name="*.jar"/>
</fileset>
</path>
<path id="library.cdk_deps.classpath">
<fileset dir="${cdk.deps}">
<include name="*.jar"/>
</fileset>
</path>
<path id="local.libs.classpath">
<fileset dir="libs">
<include name="*.jar"/>
</fileset>
</path>
<!-- Modules -->
<!-- Module CDKDescUI -->
<dirname property="module.draw2d.basedir" file="${ant.file}"/>
<property name="module.jdk.home.draw2d" value="${project.jdk.home}"/>
<property name="module.jdk.classpath.draw2d" value="${project.jdk.classpath}"/>
<property name="compiler.args.draw2d" value="${compiler.args}"/>
<property name="draw2d.output.dir" value="${module.draw2d.basedir}/classes"/>
<property name="draw2d.testoutput.dir" value="${module.draw2d.basedir}/classes"/>
<path id="draw2d.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="draw2d.module.classpath">
<path refid="${module.jdk.classpath.draw2d}"/>
<path refid="library.cdk_deps.classpath"/>
<path refid="library.cdk_jars.classpath"/>
<path refid="local.libs.classpath"/>
</path>
<patternset id="excluded.from.module.draw2d">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.draw2d">
<patternset refid="excluded.from.module.draw2d"/>
</patternset>
<path id="draw2d.module.sourcepath">
<dirset dir="${module.draw2d.basedir}">
<include name="src"/>
</dirset>
</path>
<target name="compile.module.draw2d" depends="compile.module.draw2d.production,compile.module.draw2d.tests"
description="compile module(s) CDKDescUI"/>
<target name="compile.module.draw2d.production" description="compile module(s) CDKDescUI production classes">
<mkdir dir="${draw2d.output.dir}"/>
<javac destdir="${draw2d.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}"
memoryMaximumSize="${compiler.max.memory}" fork="true"
executable="${module.jdk.home.draw2d}/bin/javac">
<compilerarg line="${compiler.args.draw2d}"/>
<bootclasspath refid="draw2d.module.bootclasspath"/>
<classpath refid="draw2d.module.classpath"/>
<src refid="draw2d.module.sourcepath"/>
</javac>
<copy todir="${draw2d.output.dir}">
<fileset dir="${module.draw2d.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.draw2d.tests" depends="compile.module.draw2d.production"
description="compile module(s) CDKDescUI test classes" unless="skip.tests"/>
<target name="clean.module.draw2d" description="cleanup module">
<delete dir="${draw2d.output.dir}"/>
<delete dir="${draw2d.testoutput.dir}"/>
</target>
<target name="jar" description="Create a big JAR" depends="init, compile.module.draw2d">
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-libiocml.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-atomtype.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-io.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-interfaces.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-data.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-dict.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-core.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-standard.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-extra.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-render.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-valencycheck.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.libs}/cdk-sdg.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.deps}/jama-1.0.2.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.deps}/jgrapht-0.6.0.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.deps}/vecmath1.2-1.14.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.deps}/jumbo52.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.deps}/xom-1.1.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.deps}/xml-apis.jar"/>
<unjar dest="${draw2d.output.dir}" src="${cdk.deps}/commons-cli-1.0.jar"/>
<unjar dest="${draw2d.output.dir}" src="libs/itext-1.3.jar"/>
<jar jarfile="draw2d.jar" basedir="${draw2d.output.dir}">
<manifest>
<attribute name="Main-Class" value="draw2d"/>
</manifest>
</jar>
</target>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.draw2d" description="cleanup all"/>
<target name="all" depends="init, clean, compile.module.draw2d" description="build all"/>
</project>