franta-hg@27
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
franta-hg@27
|
2 |
<!--
|
franta-hg@27
|
3 |
*** GENERATED FROM project.xml - DO NOT EDIT ***
|
franta-hg@27
|
4 |
*** EDIT ../build.xml INSTEAD ***
|
franta-hg@27
|
5 |
|
franta-hg@27
|
6 |
For the purpose of easier reading the script
|
franta-hg@27
|
7 |
is divided into following sections:
|
franta-hg@27
|
8 |
|
franta-hg@27
|
9 |
- initialization
|
franta-hg@27
|
10 |
- compilation
|
franta-hg@27
|
11 |
- jar
|
franta-hg@27
|
12 |
- execution
|
franta-hg@27
|
13 |
- debugging
|
franta-hg@27
|
14 |
- javadoc
|
franta-hg@27
|
15 |
- junit compilation
|
franta-hg@27
|
16 |
- junit execution
|
franta-hg@27
|
17 |
- junit debugging
|
franta-hg@27
|
18 |
- applet
|
franta-hg@27
|
19 |
- cleanup
|
franta-hg@27
|
20 |
|
franta-hg@27
|
21 |
-->
|
franta-hg@27
|
22 |
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="nekurak.net-lib-impl">
|
franta-hg@27
|
23 |
<fail message="Please build using Ant 1.7.1 or higher.">
|
franta-hg@27
|
24 |
<condition>
|
franta-hg@27
|
25 |
<not>
|
franta-hg@27
|
26 |
<antversion atleast="1.7.1"/>
|
franta-hg@27
|
27 |
</not>
|
franta-hg@27
|
28 |
</condition>
|
franta-hg@27
|
29 |
</fail>
|
franta-hg@27
|
30 |
<target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
|
franta-hg@27
|
31 |
<!--
|
franta-hg@27
|
32 |
======================
|
franta-hg@27
|
33 |
INITIALIZATION SECTION
|
franta-hg@27
|
34 |
======================
|
franta-hg@27
|
35 |
-->
|
franta-hg@27
|
36 |
<target name="-pre-init">
|
franta-hg@27
|
37 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
38 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
39 |
</target>
|
franta-hg@27
|
40 |
<target depends="-pre-init" name="-init-private">
|
franta-hg@27
|
41 |
<property file="nbproject/private/config.properties"/>
|
franta-hg@27
|
42 |
<property file="nbproject/private/configs/${config}.properties"/>
|
franta-hg@27
|
43 |
<property file="nbproject/private/private.properties"/>
|
franta-hg@27
|
44 |
</target>
|
franta-hg@27
|
45 |
<target depends="-pre-init,-init-private" name="-init-user">
|
franta-hg@27
|
46 |
<property file="${user.properties.file}"/>
|
franta-hg@27
|
47 |
<!-- The two properties below are usually overridden -->
|
franta-hg@27
|
48 |
<!-- by the active platform. Just a fallback. -->
|
franta-hg@27
|
49 |
<property name="default.javac.source" value="1.4"/>
|
franta-hg@27
|
50 |
<property name="default.javac.target" value="1.4"/>
|
franta-hg@27
|
51 |
</target>
|
franta-hg@27
|
52 |
<target depends="-pre-init,-init-private,-init-user" name="-init-project">
|
franta-hg@27
|
53 |
<property file="nbproject/configs/${config}.properties"/>
|
franta-hg@27
|
54 |
<property file="nbproject/project.properties"/>
|
franta-hg@27
|
55 |
</target>
|
franta-hg@27
|
56 |
<target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
|
franta-hg@27
|
57 |
<available file="${manifest.file}" property="manifest.available"/>
|
franta-hg@142
|
58 |
<available file="${application.splash}" property="splashscreen.available"/>
|
franta-hg@27
|
59 |
<condition property="main.class.available">
|
franta-hg@27
|
60 |
<and>
|
franta-hg@27
|
61 |
<isset property="main.class"/>
|
franta-hg@27
|
62 |
<not>
|
franta-hg@27
|
63 |
<equals arg1="${main.class}" arg2="" trim="true"/>
|
franta-hg@27
|
64 |
</not>
|
franta-hg@27
|
65 |
</and>
|
franta-hg@27
|
66 |
</condition>
|
franta-hg@27
|
67 |
<condition property="manifest.available+main.class">
|
franta-hg@27
|
68 |
<and>
|
franta-hg@27
|
69 |
<isset property="manifest.available"/>
|
franta-hg@27
|
70 |
<isset property="main.class.available"/>
|
franta-hg@27
|
71 |
</and>
|
franta-hg@27
|
72 |
</condition>
|
franta-hg@27
|
73 |
<condition property="do.mkdist">
|
franta-hg@27
|
74 |
<and>
|
franta-hg@27
|
75 |
<isset property="libs.CopyLibs.classpath"/>
|
franta-hg@27
|
76 |
<not>
|
franta-hg@27
|
77 |
<istrue value="${mkdist.disabled}"/>
|
franta-hg@27
|
78 |
</not>
|
franta-hg@27
|
79 |
</and>
|
franta-hg@27
|
80 |
</condition>
|
franta-hg@27
|
81 |
<condition property="manifest.available+main.class+mkdist.available">
|
franta-hg@27
|
82 |
<and>
|
franta-hg@27
|
83 |
<istrue value="${manifest.available+main.class}"/>
|
franta-hg@27
|
84 |
<isset property="do.mkdist"/>
|
franta-hg@27
|
85 |
</and>
|
franta-hg@27
|
86 |
</condition>
|
franta-hg@142
|
87 |
<condition property="manifest.available+main.class+mkdist.available+splashscreen.available">
|
franta-hg@27
|
88 |
<and>
|
franta-hg@142
|
89 |
<istrue value="${manifest.available+main.class+mkdist.available}"/>
|
franta-hg@142
|
90 |
<istrue value="${splashscreen.available}"/>
|
franta-hg@27
|
91 |
</and>
|
franta-hg@27
|
92 |
</condition>
|
franta-hg@142
|
93 |
<condition property="do.archive">
|
franta-hg@142
|
94 |
<not>
|
franta-hg@142
|
95 |
<istrue value="${jar.archive.disabled}"/>
|
franta-hg@142
|
96 |
</not>
|
franta-hg@27
|
97 |
</condition>
|
franta-hg@142
|
98 |
<condition property="do.archive+manifest.available">
|
franta-hg@142
|
99 |
<and>
|
franta-hg@142
|
100 |
<isset property="manifest.available"/>
|
franta-hg@142
|
101 |
<istrue value="${do.archive}"/>
|
franta-hg@142
|
102 |
</and>
|
franta-hg@142
|
103 |
</condition>
|
franta-hg@142
|
104 |
<condition property="do.archive+manifest.available+main.class">
|
franta-hg@142
|
105 |
<and>
|
franta-hg@27
|
106 |
<istrue value="${manifest.available+main.class}"/>
|
franta-hg@142
|
107 |
<istrue value="${do.archive}"/>
|
franta-hg@142
|
108 |
</and>
|
franta-hg@142
|
109 |
</condition>
|
franta-hg@142
|
110 |
<condition property="do.archive+manifest.available+main.class+mkdist.available">
|
franta-hg@142
|
111 |
<and>
|
franta-hg@142
|
112 |
<istrue value="${manifest.available+main.class+mkdist.available}"/>
|
franta-hg@142
|
113 |
<istrue value="${do.archive}"/>
|
franta-hg@142
|
114 |
</and>
|
franta-hg@142
|
115 |
</condition>
|
franta-hg@142
|
116 |
<condition property="do.archive+manifest.available+main.class+mkdist.available+splashscreen.available">
|
franta-hg@142
|
117 |
<and>
|
franta-hg@142
|
118 |
<istrue value="${manifest.available+main.class+mkdist.available+splashscreen.available}"/>
|
franta-hg@142
|
119 |
<istrue value="${do.archive}"/>
|
franta-hg@142
|
120 |
</and>
|
franta-hg@27
|
121 |
</condition>
|
franta-hg@27
|
122 |
<condition property="have.tests">
|
franta-hg@27
|
123 |
<or>
|
franta-hg@27
|
124 |
<available file="${test.src.dir}"/>
|
franta-hg@27
|
125 |
</or>
|
franta-hg@27
|
126 |
</condition>
|
franta-hg@27
|
127 |
<condition property="have.sources">
|
franta-hg@27
|
128 |
<or>
|
franta-hg@27
|
129 |
<available file="${src.dir}"/>
|
franta-hg@27
|
130 |
</or>
|
franta-hg@27
|
131 |
</condition>
|
franta-hg@27
|
132 |
<condition property="netbeans.home+have.tests">
|
franta-hg@27
|
133 |
<and>
|
franta-hg@27
|
134 |
<isset property="netbeans.home"/>
|
franta-hg@27
|
135 |
<isset property="have.tests"/>
|
franta-hg@27
|
136 |
</and>
|
franta-hg@27
|
137 |
</condition>
|
franta-hg@27
|
138 |
<condition property="no.javadoc.preview">
|
franta-hg@27
|
139 |
<and>
|
franta-hg@27
|
140 |
<isset property="javadoc.preview"/>
|
franta-hg@27
|
141 |
<isfalse value="${javadoc.preview}"/>
|
franta-hg@27
|
142 |
</and>
|
franta-hg@27
|
143 |
</condition>
|
franta-hg@27
|
144 |
<property name="run.jvmargs" value=""/>
|
franta-hg@27
|
145 |
<property name="javac.compilerargs" value=""/>
|
franta-hg@27
|
146 |
<property name="work.dir" value="${basedir}"/>
|
franta-hg@27
|
147 |
<condition property="no.deps">
|
franta-hg@27
|
148 |
<and>
|
franta-hg@27
|
149 |
<istrue value="${no.dependencies}"/>
|
franta-hg@27
|
150 |
</and>
|
franta-hg@27
|
151 |
</condition>
|
franta-hg@27
|
152 |
<property name="javac.debug" value="true"/>
|
franta-hg@27
|
153 |
<property name="javadoc.preview" value="true"/>
|
franta-hg@27
|
154 |
<property name="application.args" value=""/>
|
franta-hg@27
|
155 |
<property name="source.encoding" value="${file.encoding}"/>
|
franta-hg@27
|
156 |
<property name="runtime.encoding" value="${source.encoding}"/>
|
franta-hg@27
|
157 |
<condition property="javadoc.encoding.used" value="${javadoc.encoding}">
|
franta-hg@27
|
158 |
<and>
|
franta-hg@27
|
159 |
<isset property="javadoc.encoding"/>
|
franta-hg@27
|
160 |
<not>
|
franta-hg@27
|
161 |
<equals arg1="${javadoc.encoding}" arg2=""/>
|
franta-hg@27
|
162 |
</not>
|
franta-hg@27
|
163 |
</and>
|
franta-hg@27
|
164 |
</condition>
|
franta-hg@27
|
165 |
<property name="javadoc.encoding.used" value="${source.encoding}"/>
|
franta-hg@27
|
166 |
<property name="includes" value="**"/>
|
franta-hg@27
|
167 |
<property name="excludes" value=""/>
|
franta-hg@27
|
168 |
<property name="do.depend" value="false"/>
|
franta-hg@27
|
169 |
<condition property="do.depend.true">
|
franta-hg@27
|
170 |
<istrue value="${do.depend}"/>
|
franta-hg@27
|
171 |
</condition>
|
franta-hg@27
|
172 |
<path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
|
franta-hg@27
|
173 |
<condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
|
franta-hg@27
|
174 |
<length length="0" string="${endorsed.classpath}" when="greater"/>
|
franta-hg@27
|
175 |
</condition>
|
franta-hg@27
|
176 |
<property name="javac.fork" value="false"/>
|
franta-hg@142
|
177 |
<property name="jar.index" value="false"/>
|
franta-hg@142
|
178 |
<available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
|
franta-hg@27
|
179 |
</target>
|
franta-hg@27
|
180 |
<target name="-post-init">
|
franta-hg@27
|
181 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
182 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
183 |
</target>
|
franta-hg@27
|
184 |
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
|
franta-hg@27
|
185 |
<fail unless="src.dir">Must set src.dir</fail>
|
franta-hg@27
|
186 |
<fail unless="test.src.dir">Must set test.src.dir</fail>
|
franta-hg@27
|
187 |
<fail unless="build.dir">Must set build.dir</fail>
|
franta-hg@27
|
188 |
<fail unless="dist.dir">Must set dist.dir</fail>
|
franta-hg@27
|
189 |
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
|
franta-hg@27
|
190 |
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
|
franta-hg@27
|
191 |
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
|
franta-hg@27
|
192 |
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
|
franta-hg@27
|
193 |
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
|
franta-hg@27
|
194 |
<fail unless="dist.jar">Must set dist.jar</fail>
|
franta-hg@27
|
195 |
</target>
|
franta-hg@27
|
196 |
<target name="-init-macrodef-property">
|
franta-hg@27
|
197 |
<macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
|
franta-hg@27
|
198 |
<attribute name="name"/>
|
franta-hg@27
|
199 |
<attribute name="value"/>
|
franta-hg@27
|
200 |
<sequential>
|
franta-hg@27
|
201 |
<property name="@{name}" value="${@{value}}"/>
|
franta-hg@27
|
202 |
</sequential>
|
franta-hg@27
|
203 |
</macrodef>
|
franta-hg@27
|
204 |
</target>
|
franta-hg@142
|
205 |
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
|
franta-hg@27
|
206 |
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
|
franta-hg@27
|
207 |
<attribute default="${src.dir}" name="srcdir"/>
|
franta-hg@27
|
208 |
<attribute default="${build.classes.dir}" name="destdir"/>
|
franta-hg@27
|
209 |
<attribute default="${javac.classpath}" name="classpath"/>
|
franta-hg@142
|
210 |
<attribute default="${javac.processorpath}" name="processorpath"/>
|
franta-hg@142
|
211 |
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
|
franta-hg@142
|
212 |
<attribute default="${includes}" name="includes"/>
|
franta-hg@142
|
213 |
<attribute default="${excludes}" name="excludes"/>
|
franta-hg@142
|
214 |
<attribute default="${javac.debug}" name="debug"/>
|
franta-hg@142
|
215 |
<attribute default="${empty.dir}" name="sourcepath"/>
|
franta-hg@142
|
216 |
<attribute default="${empty.dir}" name="gensrcdir"/>
|
franta-hg@142
|
217 |
<element name="customize" optional="true"/>
|
franta-hg@142
|
218 |
<sequential>
|
franta-hg@142
|
219 |
<property location="${build.dir}/empty" name="empty.dir"/>
|
franta-hg@142
|
220 |
<mkdir dir="${empty.dir}"/>
|
franta-hg@142
|
221 |
<mkdir dir="@{apgeneratedsrcdir}"/>
|
franta-hg@142
|
222 |
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
|
franta-hg@142
|
223 |
<src>
|
franta-hg@142
|
224 |
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
|
franta-hg@142
|
225 |
<include name="*"/>
|
franta-hg@142
|
226 |
</dirset>
|
franta-hg@142
|
227 |
</src>
|
franta-hg@142
|
228 |
<classpath>
|
franta-hg@142
|
229 |
<path path="@{classpath}"/>
|
franta-hg@142
|
230 |
</classpath>
|
franta-hg@142
|
231 |
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
|
franta-hg@142
|
232 |
<compilerarg line="${javac.compilerargs}"/>
|
franta-hg@142
|
233 |
<compilerarg value="-processorpath"/>
|
franta-hg@142
|
234 |
<compilerarg path="@{processorpath}:${empty.dir}"/>
|
franta-hg@142
|
235 |
<compilerarg line="${ap.processors.internal}"/>
|
franta-hg@142
|
236 |
<compilerarg line="${annotation.processing.processor.options}"/>
|
franta-hg@142
|
237 |
<compilerarg value="-s"/>
|
franta-hg@142
|
238 |
<compilerarg path="@{apgeneratedsrcdir}"/>
|
franta-hg@142
|
239 |
<compilerarg line="${ap.proc.none.internal}"/>
|
franta-hg@142
|
240 |
<customize/>
|
franta-hg@142
|
241 |
</javac>
|
franta-hg@142
|
242 |
</sequential>
|
franta-hg@142
|
243 |
</macrodef>
|
franta-hg@142
|
244 |
</target>
|
franta-hg@142
|
245 |
<target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
|
franta-hg@142
|
246 |
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
|
franta-hg@142
|
247 |
<attribute default="${src.dir}" name="srcdir"/>
|
franta-hg@142
|
248 |
<attribute default="${build.classes.dir}" name="destdir"/>
|
franta-hg@142
|
249 |
<attribute default="${javac.classpath}" name="classpath"/>
|
franta-hg@142
|
250 |
<attribute default="${javac.processorpath}" name="processorpath"/>
|
franta-hg@142
|
251 |
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
|
franta-hg@27
|
252 |
<attribute default="${includes}" name="includes"/>
|
franta-hg@27
|
253 |
<attribute default="${excludes}" name="excludes"/>
|
franta-hg@27
|
254 |
<attribute default="${javac.debug}" name="debug"/>
|
franta-hg@27
|
255 |
<attribute default="${empty.dir}" name="sourcepath"/>
|
franta-hg@27
|
256 |
<attribute default="${empty.dir}" name="gensrcdir"/>
|
franta-hg@27
|
257 |
<element name="customize" optional="true"/>
|
franta-hg@27
|
258 |
<sequential>
|
franta-hg@27
|
259 |
<property location="${build.dir}/empty" name="empty.dir"/>
|
franta-hg@27
|
260 |
<mkdir dir="${empty.dir}"/>
|
franta-hg@27
|
261 |
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
|
franta-hg@27
|
262 |
<src>
|
franta-hg@27
|
263 |
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
|
franta-hg@27
|
264 |
<include name="*"/>
|
franta-hg@27
|
265 |
</dirset>
|
franta-hg@27
|
266 |
</src>
|
franta-hg@27
|
267 |
<classpath>
|
franta-hg@27
|
268 |
<path path="@{classpath}"/>
|
franta-hg@27
|
269 |
</classpath>
|
franta-hg@27
|
270 |
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
|
franta-hg@27
|
271 |
<compilerarg line="${javac.compilerargs}"/>
|
franta-hg@27
|
272 |
<customize/>
|
franta-hg@27
|
273 |
</javac>
|
franta-hg@27
|
274 |
</sequential>
|
franta-hg@27
|
275 |
</macrodef>
|
franta-hg@142
|
276 |
</target>
|
franta-hg@142
|
277 |
<target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
|
franta-hg@27
|
278 |
<macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
|
franta-hg@27
|
279 |
<attribute default="${src.dir}" name="srcdir"/>
|
franta-hg@27
|
280 |
<attribute default="${build.classes.dir}" name="destdir"/>
|
franta-hg@27
|
281 |
<attribute default="${javac.classpath}" name="classpath"/>
|
franta-hg@27
|
282 |
<sequential>
|
franta-hg@27
|
283 |
<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
|
franta-hg@27
|
284 |
<classpath>
|
franta-hg@27
|
285 |
<path path="@{classpath}"/>
|
franta-hg@27
|
286 |
</classpath>
|
franta-hg@27
|
287 |
</depend>
|
franta-hg@27
|
288 |
</sequential>
|
franta-hg@27
|
289 |
</macrodef>
|
franta-hg@27
|
290 |
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
|
franta-hg@27
|
291 |
<attribute default="${build.classes.dir}" name="destdir"/>
|
franta-hg@27
|
292 |
<sequential>
|
franta-hg@27
|
293 |
<fail unless="javac.includes">Must set javac.includes</fail>
|
franta-hg@27
|
294 |
<pathconvert pathsep="," property="javac.includes.binary">
|
franta-hg@27
|
295 |
<path>
|
franta-hg@27
|
296 |
<filelist dir="@{destdir}" files="${javac.includes}"/>
|
franta-hg@27
|
297 |
</path>
|
franta-hg@27
|
298 |
<globmapper from="*.java" to="*.class"/>
|
franta-hg@27
|
299 |
</pathconvert>
|
franta-hg@27
|
300 |
<delete>
|
franta-hg@27
|
301 |
<files includes="${javac.includes.binary}"/>
|
franta-hg@27
|
302 |
</delete>
|
franta-hg@27
|
303 |
</sequential>
|
franta-hg@27
|
304 |
</macrodef>
|
franta-hg@27
|
305 |
</target>
|
franta-hg@27
|
306 |
<target name="-init-macrodef-junit">
|
franta-hg@27
|
307 |
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
|
franta-hg@27
|
308 |
<attribute default="${includes}" name="includes"/>
|
franta-hg@27
|
309 |
<attribute default="${excludes}" name="excludes"/>
|
franta-hg@27
|
310 |
<attribute default="**" name="testincludes"/>
|
franta-hg@27
|
311 |
<sequential>
|
franta-hg@27
|
312 |
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
|
franta-hg@27
|
313 |
<batchtest todir="${build.test.results.dir}">
|
franta-hg@27
|
314 |
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
|
franta-hg@27
|
315 |
<filename name="@{testincludes}"/>
|
franta-hg@27
|
316 |
</fileset>
|
franta-hg@27
|
317 |
</batchtest>
|
franta-hg@27
|
318 |
<classpath>
|
franta-hg@27
|
319 |
<path path="${run.test.classpath}"/>
|
franta-hg@27
|
320 |
</classpath>
|
franta-hg@27
|
321 |
<syspropertyset>
|
franta-hg@27
|
322 |
<propertyref prefix="test-sys-prop."/>
|
franta-hg@27
|
323 |
<mapper from="test-sys-prop.*" to="*" type="glob"/>
|
franta-hg@27
|
324 |
</syspropertyset>
|
franta-hg@27
|
325 |
<formatter type="brief" usefile="false"/>
|
franta-hg@27
|
326 |
<formatter type="xml"/>
|
franta-hg@27
|
327 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
|
franta-hg@27
|
328 |
<jvmarg line="${run.jvmargs}"/>
|
franta-hg@27
|
329 |
</junit>
|
franta-hg@27
|
330 |
</sequential>
|
franta-hg@27
|
331 |
</macrodef>
|
franta-hg@27
|
332 |
</target>
|
franta-hg@27
|
333 |
<target depends="-init-debug-args" name="-init-macrodef-nbjpda">
|
franta-hg@27
|
334 |
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
|
franta-hg@27
|
335 |
<attribute default="${main.class}" name="name"/>
|
franta-hg@27
|
336 |
<attribute default="${debug.classpath}" name="classpath"/>
|
franta-hg@27
|
337 |
<attribute default="" name="stopclassname"/>
|
franta-hg@27
|
338 |
<sequential>
|
franta-hg@27
|
339 |
<nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
|
franta-hg@27
|
340 |
<classpath>
|
franta-hg@27
|
341 |
<path path="@{classpath}"/>
|
franta-hg@27
|
342 |
</classpath>
|
franta-hg@27
|
343 |
</nbjpdastart>
|
franta-hg@27
|
344 |
</sequential>
|
franta-hg@27
|
345 |
</macrodef>
|
franta-hg@27
|
346 |
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
|
franta-hg@27
|
347 |
<attribute default="${build.classes.dir}" name="dir"/>
|
franta-hg@27
|
348 |
<sequential>
|
franta-hg@27
|
349 |
<nbjpdareload>
|
franta-hg@27
|
350 |
<fileset dir="@{dir}" includes="${fix.classes}">
|
franta-hg@27
|
351 |
<include name="${fix.includes}*.class"/>
|
franta-hg@27
|
352 |
</fileset>
|
franta-hg@27
|
353 |
</nbjpdareload>
|
franta-hg@27
|
354 |
</sequential>
|
franta-hg@27
|
355 |
</macrodef>
|
franta-hg@27
|
356 |
</target>
|
franta-hg@27
|
357 |
<target name="-init-debug-args">
|
franta-hg@27
|
358 |
<property name="version-output" value="java version "${ant.java.version}"/>
|
franta-hg@27
|
359 |
<condition property="have-jdk-older-than-1.4">
|
franta-hg@27
|
360 |
<or>
|
franta-hg@27
|
361 |
<contains string="${version-output}" substring="java version "1.0"/>
|
franta-hg@27
|
362 |
<contains string="${version-output}" substring="java version "1.1"/>
|
franta-hg@27
|
363 |
<contains string="${version-output}" substring="java version "1.2"/>
|
franta-hg@27
|
364 |
<contains string="${version-output}" substring="java version "1.3"/>
|
franta-hg@27
|
365 |
</or>
|
franta-hg@27
|
366 |
</condition>
|
franta-hg@27
|
367 |
<condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
|
franta-hg@27
|
368 |
<istrue value="${have-jdk-older-than-1.4}"/>
|
franta-hg@27
|
369 |
</condition>
|
franta-hg@27
|
370 |
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
|
franta-hg@27
|
371 |
<os family="windows"/>
|
franta-hg@27
|
372 |
</condition>
|
franta-hg@27
|
373 |
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
|
franta-hg@27
|
374 |
<isset property="debug.transport"/>
|
franta-hg@27
|
375 |
</condition>
|
franta-hg@27
|
376 |
</target>
|
franta-hg@27
|
377 |
<target depends="-init-debug-args" name="-init-macrodef-debug">
|
franta-hg@27
|
378 |
<macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
|
franta-hg@27
|
379 |
<attribute default="${main.class}" name="classname"/>
|
franta-hg@27
|
380 |
<attribute default="${debug.classpath}" name="classpath"/>
|
franta-hg@27
|
381 |
<element name="customize" optional="true"/>
|
franta-hg@27
|
382 |
<sequential>
|
franta-hg@27
|
383 |
<java classname="@{classname}" dir="${work.dir}" fork="true">
|
franta-hg@27
|
384 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
|
franta-hg@27
|
385 |
<jvmarg line="${debug-args-line}"/>
|
franta-hg@27
|
386 |
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
|
franta-hg@27
|
387 |
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
|
franta-hg@27
|
388 |
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
|
franta-hg@27
|
389 |
<jvmarg line="${run.jvmargs}"/>
|
franta-hg@27
|
390 |
<classpath>
|
franta-hg@27
|
391 |
<path path="@{classpath}"/>
|
franta-hg@27
|
392 |
</classpath>
|
franta-hg@27
|
393 |
<syspropertyset>
|
franta-hg@27
|
394 |
<propertyref prefix="run-sys-prop."/>
|
franta-hg@27
|
395 |
<mapper from="run-sys-prop.*" to="*" type="glob"/>
|
franta-hg@27
|
396 |
</syspropertyset>
|
franta-hg@27
|
397 |
<customize/>
|
franta-hg@27
|
398 |
</java>
|
franta-hg@27
|
399 |
</sequential>
|
franta-hg@27
|
400 |
</macrodef>
|
franta-hg@27
|
401 |
</target>
|
franta-hg@27
|
402 |
<target name="-init-macrodef-java">
|
franta-hg@27
|
403 |
<macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
|
franta-hg@27
|
404 |
<attribute default="${main.class}" name="classname"/>
|
franta-hg@27
|
405 |
<attribute default="${run.classpath}" name="classpath"/>
|
franta-hg@27
|
406 |
<element name="customize" optional="true"/>
|
franta-hg@27
|
407 |
<sequential>
|
franta-hg@27
|
408 |
<java classname="@{classname}" dir="${work.dir}" fork="true">
|
franta-hg@27
|
409 |
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
|
franta-hg@27
|
410 |
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
|
franta-hg@27
|
411 |
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
|
franta-hg@27
|
412 |
<jvmarg line="${run.jvmargs}"/>
|
franta-hg@27
|
413 |
<classpath>
|
franta-hg@27
|
414 |
<path path="@{classpath}"/>
|
franta-hg@27
|
415 |
</classpath>
|
franta-hg@27
|
416 |
<syspropertyset>
|
franta-hg@27
|
417 |
<propertyref prefix="run-sys-prop."/>
|
franta-hg@27
|
418 |
<mapper from="run-sys-prop.*" to="*" type="glob"/>
|
franta-hg@27
|
419 |
</syspropertyset>
|
franta-hg@27
|
420 |
<customize/>
|
franta-hg@27
|
421 |
</java>
|
franta-hg@27
|
422 |
</sequential>
|
franta-hg@27
|
423 |
</macrodef>
|
franta-hg@27
|
424 |
</target>
|
franta-hg@142
|
425 |
<target name="-init-macrodef-copylibs">
|
franta-hg@142
|
426 |
<macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
|
franta-hg@142
|
427 |
<element name="customize" optional="true"/>
|
franta-hg@142
|
428 |
<sequential>
|
franta-hg@142
|
429 |
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
|
franta-hg@142
|
430 |
<pathconvert property="run.classpath.without.build.classes.dir">
|
franta-hg@142
|
431 |
<path path="${run.classpath}"/>
|
franta-hg@142
|
432 |
<map from="${build.classes.dir.resolved}" to=""/>
|
franta-hg@142
|
433 |
</pathconvert>
|
franta-hg@142
|
434 |
<pathconvert pathsep=" " property="jar.classpath">
|
franta-hg@142
|
435 |
<path path="${run.classpath.without.build.classes.dir}"/>
|
franta-hg@142
|
436 |
<chainedmapper>
|
franta-hg@142
|
437 |
<flattenmapper/>
|
franta-hg@142
|
438 |
<globmapper from="*" to="lib/*"/>
|
franta-hg@142
|
439 |
</chainedmapper>
|
franta-hg@142
|
440 |
</pathconvert>
|
franta-hg@142
|
441 |
<taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
|
franta-hg@142
|
442 |
<copylibs compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
|
franta-hg@142
|
443 |
<fileset dir="${build.classes.dir}"/>
|
franta-hg@142
|
444 |
<manifest>
|
franta-hg@142
|
445 |
<attribute name="Class-Path" value="${jar.classpath}"/>
|
franta-hg@142
|
446 |
<customize/>
|
franta-hg@142
|
447 |
</manifest>
|
franta-hg@142
|
448 |
</copylibs>
|
franta-hg@142
|
449 |
</sequential>
|
franta-hg@142
|
450 |
</macrodef>
|
franta-hg@142
|
451 |
</target>
|
franta-hg@27
|
452 |
<target name="-init-presetdef-jar">
|
franta-hg@27
|
453 |
<presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
|
franta-hg@142
|
454 |
<jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
|
franta-hg@27
|
455 |
<j2seproject1:fileset dir="${build.classes.dir}"/>
|
franta-hg@27
|
456 |
</jar>
|
franta-hg@27
|
457 |
</presetdef>
|
franta-hg@27
|
458 |
</target>
|
franta-hg@142
|
459 |
<target name="-init-ap-cmdline-properties">
|
franta-hg@142
|
460 |
<property name="annotation.processing.enabled" value="true"/>
|
franta-hg@142
|
461 |
<property name="annotation.processing.processors.list" value=""/>
|
franta-hg@142
|
462 |
<property name="annotation.processing.processor.options" value=""/>
|
franta-hg@142
|
463 |
<property name="annotation.processing.run.all.processors" value="true"/>
|
franta-hg@142
|
464 |
<property name="javac.processorpath" value="${javac.classpath}"/>
|
franta-hg@142
|
465 |
<property name="javac.test.processorpath" value="${javac.test.classpath}"/>
|
franta-hg@142
|
466 |
<condition property="ap.supported.internal" value="true">
|
franta-hg@142
|
467 |
<not>
|
franta-hg@142
|
468 |
<matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
|
franta-hg@142
|
469 |
</not>
|
franta-hg@142
|
470 |
</condition>
|
franta-hg@142
|
471 |
</target>
|
franta-hg@142
|
472 |
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
|
franta-hg@142
|
473 |
<condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
|
franta-hg@142
|
474 |
<isfalse value="${annotation.processing.run.all.processors}"/>
|
franta-hg@142
|
475 |
</condition>
|
franta-hg@142
|
476 |
<condition else="" property="ap.proc.none.internal" value="-proc:none">
|
franta-hg@142
|
477 |
<isfalse value="${annotation.processing.enabled}"/>
|
franta-hg@142
|
478 |
</condition>
|
franta-hg@142
|
479 |
</target>
|
franta-hg@142
|
480 |
<target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
|
franta-hg@142
|
481 |
<property name="ap.cmd.line.internal" value=""/>
|
franta-hg@142
|
482 |
</target>
|
franta-hg@142
|
483 |
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
|
franta-hg@27
|
484 |
<!--
|
franta-hg@27
|
485 |
===================
|
franta-hg@27
|
486 |
COMPILATION SECTION
|
franta-hg@27
|
487 |
===================
|
franta-hg@27
|
488 |
-->
|
franta-hg@27
|
489 |
<target name="-deps-jar-init" unless="built-jar.properties">
|
franta-hg@27
|
490 |
<property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
|
franta-hg@27
|
491 |
<delete file="${built-jar.properties}" quiet="true"/>
|
franta-hg@27
|
492 |
</target>
|
franta-hg@27
|
493 |
<target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
|
franta-hg@27
|
494 |
<echo level="warn" message="Cycle detected: nekurak.net-lib was already built"/>
|
franta-hg@27
|
495 |
</target>
|
franta-hg@27
|
496 |
<target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
|
franta-hg@27
|
497 |
<mkdir dir="${build.dir}"/>
|
franta-hg@27
|
498 |
<touch file="${built-jar.properties}" verbose="false"/>
|
franta-hg@27
|
499 |
<property file="${built-jar.properties}" prefix="already.built.jar."/>
|
franta-hg@27
|
500 |
<antcall target="-warn-already-built-jar"/>
|
franta-hg@27
|
501 |
<propertyfile file="${built-jar.properties}">
|
franta-hg@27
|
502 |
<entry key="${basedir}" value=""/>
|
franta-hg@27
|
503 |
</propertyfile>
|
franta-hg@27
|
504 |
</target>
|
franta-hg@27
|
505 |
<target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
|
franta-hg@27
|
506 |
<target depends="init" name="-check-automatic-build">
|
franta-hg@27
|
507 |
<available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
|
franta-hg@27
|
508 |
</target>
|
franta-hg@27
|
509 |
<target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
|
franta-hg@27
|
510 |
<antcall target="clean"/>
|
franta-hg@27
|
511 |
</target>
|
franta-hg@27
|
512 |
<target depends="init,deps-jar" name="-pre-pre-compile">
|
franta-hg@27
|
513 |
<mkdir dir="${build.classes.dir}"/>
|
franta-hg@27
|
514 |
</target>
|
franta-hg@27
|
515 |
<target name="-pre-compile">
|
franta-hg@27
|
516 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
517 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
518 |
</target>
|
franta-hg@27
|
519 |
<target if="do.depend.true" name="-compile-depend">
|
franta-hg@27
|
520 |
<pathconvert property="build.generated.subdirs">
|
franta-hg@27
|
521 |
<dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
|
franta-hg@27
|
522 |
<include name="*"/>
|
franta-hg@27
|
523 |
</dirset>
|
franta-hg@27
|
524 |
</pathconvert>
|
franta-hg@27
|
525 |
<j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
|
franta-hg@27
|
526 |
</target>
|
franta-hg@142
|
527 |
<target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
|
franta-hg@27
|
528 |
<j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
|
franta-hg@27
|
529 |
<copy todir="${build.classes.dir}">
|
franta-hg@27
|
530 |
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
|
franta-hg@27
|
531 |
</copy>
|
franta-hg@27
|
532 |
</target>
|
franta-hg@142
|
533 |
<target if="has.persistence.xml" name="-copy-persistence-xml">
|
franta-hg@142
|
534 |
<mkdir dir="${build.classes.dir}/META-INF"/>
|
franta-hg@142
|
535 |
<copy todir="${build.classes.dir}/META-INF">
|
franta-hg@142
|
536 |
<fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
|
franta-hg@142
|
537 |
</copy>
|
franta-hg@142
|
538 |
</target>
|
franta-hg@27
|
539 |
<target name="-post-compile">
|
franta-hg@27
|
540 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
541 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
542 |
</target>
|
franta-hg@27
|
543 |
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
|
franta-hg@27
|
544 |
<target name="-pre-compile-single">
|
franta-hg@27
|
545 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
546 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
547 |
</target>
|
franta-hg@27
|
548 |
<target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
|
franta-hg@27
|
549 |
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
|
franta-hg@27
|
550 |
<j2seproject3:force-recompile/>
|
franta-hg@27
|
551 |
<j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
|
franta-hg@27
|
552 |
</target>
|
franta-hg@27
|
553 |
<target name="-post-compile-single">
|
franta-hg@27
|
554 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
555 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
556 |
</target>
|
franta-hg@27
|
557 |
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
|
franta-hg@27
|
558 |
<!--
|
franta-hg@27
|
559 |
====================
|
franta-hg@27
|
560 |
JAR BUILDING SECTION
|
franta-hg@27
|
561 |
====================
|
franta-hg@27
|
562 |
-->
|
franta-hg@27
|
563 |
<target depends="init" name="-pre-pre-jar">
|
franta-hg@27
|
564 |
<dirname file="${dist.jar}" property="dist.jar.dir"/>
|
franta-hg@27
|
565 |
<mkdir dir="${dist.jar.dir}"/>
|
franta-hg@27
|
566 |
</target>
|
franta-hg@27
|
567 |
<target name="-pre-jar">
|
franta-hg@27
|
568 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
569 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
570 |
</target>
|
franta-hg@142
|
571 |
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available">
|
franta-hg@27
|
572 |
<j2seproject1:jar/>
|
franta-hg@27
|
573 |
</target>
|
franta-hg@142
|
574 |
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
|
franta-hg@27
|
575 |
<j2seproject1:jar manifest="${manifest.file}"/>
|
franta-hg@27
|
576 |
</target>
|
franta-hg@142
|
577 |
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
|
franta-hg@27
|
578 |
<j2seproject1:jar manifest="${manifest.file}">
|
franta-hg@27
|
579 |
<j2seproject1:manifest>
|
franta-hg@27
|
580 |
<j2seproject1:attribute name="Main-Class" value="${main.class}"/>
|
franta-hg@27
|
581 |
</j2seproject1:manifest>
|
franta-hg@27
|
582 |
</j2seproject1:jar>
|
franta-hg@27
|
583 |
<echo>To run this application from the command line without Ant, try:</echo>
|
franta-hg@27
|
584 |
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
|
franta-hg@27
|
585 |
<property location="${dist.jar}" name="dist.jar.resolved"/>
|
franta-hg@27
|
586 |
<pathconvert property="run.classpath.with.dist.jar">
|
franta-hg@27
|
587 |
<path path="${run.classpath}"/>
|
franta-hg@27
|
588 |
<map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
|
franta-hg@27
|
589 |
</pathconvert>
|
franta-hg@27
|
590 |
<echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
|
franta-hg@27
|
591 |
</target>
|
franta-hg@142
|
592 |
<target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available+splashscreen.available" name="-do-jar-with-libraries-and-splashscreen">
|
franta-hg@142
|
593 |
<basename file="${application.splash}" property="splashscreen.basename"/>
|
franta-hg@142
|
594 |
<mkdir dir="${build.classes.dir}/META-INF"/>
|
franta-hg@142
|
595 |
<copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
|
franta-hg@142
|
596 |
<j2seproject3:copylibs>
|
franta-hg@142
|
597 |
<customize>
|
franta-hg@27
|
598 |
<attribute name="Main-Class" value="${main.class}"/>
|
franta-hg@142
|
599 |
<attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
|
franta-hg@142
|
600 |
</customize>
|
franta-hg@142
|
601 |
</j2seproject3:copylibs>
|
franta-hg@27
|
602 |
<echo>To run this application from the command line without Ant, try:</echo>
|
franta-hg@27
|
603 |
<property location="${dist.jar}" name="dist.jar.resolved"/>
|
franta-hg@27
|
604 |
<echo>java -jar "${dist.jar.resolved}"</echo>
|
franta-hg@27
|
605 |
</target>
|
franta-hg@142
|
606 |
<target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries" unless="splashscreen.available">
|
franta-hg@142
|
607 |
<j2seproject3:copylibs>
|
franta-hg@142
|
608 |
<customize>
|
franta-hg@142
|
609 |
<attribute name="Main-Class" value="${main.class}"/>
|
franta-hg@142
|
610 |
</customize>
|
franta-hg@142
|
611 |
</j2seproject3:copylibs>
|
franta-hg@142
|
612 |
<echo>To run this application from the command line without Ant, try:</echo>
|
franta-hg@142
|
613 |
<property location="${dist.jar}" name="dist.jar.resolved"/>
|
franta-hg@142
|
614 |
<echo>java -jar "${dist.jar.resolved}"</echo>
|
franta-hg@27
|
615 |
</target>
|
franta-hg@27
|
616 |
<target name="-post-jar">
|
franta-hg@27
|
617 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
618 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
619 |
</target>
|
franta-hg@142
|
620 |
<target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries-and-splashscreen,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
|
franta-hg@27
|
621 |
<!--
|
franta-hg@27
|
622 |
=================
|
franta-hg@27
|
623 |
EXECUTION SECTION
|
franta-hg@27
|
624 |
=================
|
franta-hg@27
|
625 |
-->
|
franta-hg@27
|
626 |
<target depends="init,compile" description="Run a main class." name="run">
|
franta-hg@27
|
627 |
<j2seproject1:java>
|
franta-hg@27
|
628 |
<customize>
|
franta-hg@27
|
629 |
<arg line="${application.args}"/>
|
franta-hg@27
|
630 |
</customize>
|
franta-hg@27
|
631 |
</j2seproject1:java>
|
franta-hg@27
|
632 |
</target>
|
franta-hg@27
|
633 |
<target name="-do-not-recompile">
|
franta-hg@27
|
634 |
<property name="javac.includes.binary" value=""/>
|
franta-hg@27
|
635 |
</target>
|
franta-hg@27
|
636 |
<target depends="init,compile-single" name="run-single">
|
franta-hg@27
|
637 |
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
|
franta-hg@27
|
638 |
<j2seproject1:java classname="${run.class}"/>
|
franta-hg@27
|
639 |
</target>
|
franta-hg@27
|
640 |
<target depends="init,compile-test-single" name="run-test-with-main">
|
franta-hg@27
|
641 |
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
|
franta-hg@27
|
642 |
<j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
|
franta-hg@27
|
643 |
</target>
|
franta-hg@27
|
644 |
<!--
|
franta-hg@27
|
645 |
=================
|
franta-hg@27
|
646 |
DEBUGGING SECTION
|
franta-hg@27
|
647 |
=================
|
franta-hg@27
|
648 |
-->
|
franta-hg@27
|
649 |
<target depends="init" if="netbeans.home" name="-debug-start-debugger">
|
franta-hg@27
|
650 |
<j2seproject1:nbjpdastart name="${debug.class}"/>
|
franta-hg@27
|
651 |
</target>
|
franta-hg@27
|
652 |
<target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
|
franta-hg@27
|
653 |
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
|
franta-hg@27
|
654 |
</target>
|
franta-hg@27
|
655 |
<target depends="init,compile" name="-debug-start-debuggee">
|
franta-hg@27
|
656 |
<j2seproject3:debug>
|
franta-hg@27
|
657 |
<customize>
|
franta-hg@27
|
658 |
<arg line="${application.args}"/>
|
franta-hg@27
|
659 |
</customize>
|
franta-hg@27
|
660 |
</j2seproject3:debug>
|
franta-hg@27
|
661 |
</target>
|
franta-hg@27
|
662 |
<target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
|
franta-hg@27
|
663 |
<target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
|
franta-hg@27
|
664 |
<j2seproject1:nbjpdastart stopclassname="${main.class}"/>
|
franta-hg@27
|
665 |
</target>
|
franta-hg@27
|
666 |
<target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
|
franta-hg@27
|
667 |
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
|
franta-hg@27
|
668 |
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
|
franta-hg@27
|
669 |
<j2seproject3:debug classname="${debug.class}"/>
|
franta-hg@27
|
670 |
</target>
|
franta-hg@27
|
671 |
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
|
franta-hg@27
|
672 |
<target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
|
franta-hg@27
|
673 |
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
|
franta-hg@27
|
674 |
<j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
|
franta-hg@27
|
675 |
</target>
|
franta-hg@27
|
676 |
<target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
|
franta-hg@27
|
677 |
<target depends="init" name="-pre-debug-fix">
|
franta-hg@27
|
678 |
<fail unless="fix.includes">Must set fix.includes</fail>
|
franta-hg@27
|
679 |
<property name="javac.includes" value="${fix.includes}.java"/>
|
franta-hg@27
|
680 |
</target>
|
franta-hg@27
|
681 |
<target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
|
franta-hg@27
|
682 |
<j2seproject1:nbjpdareload/>
|
franta-hg@27
|
683 |
</target>
|
franta-hg@27
|
684 |
<target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
|
franta-hg@27
|
685 |
<!--
|
franta-hg@27
|
686 |
===============
|
franta-hg@27
|
687 |
JAVADOC SECTION
|
franta-hg@27
|
688 |
===============
|
franta-hg@27
|
689 |
-->
|
franta-hg@142
|
690 |
<target depends="init" if="have.sources" name="-javadoc-build">
|
franta-hg@27
|
691 |
<mkdir dir="${dist.javadoc.dir}"/>
|
franta-hg@27
|
692 |
<javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
|
franta-hg@27
|
693 |
<classpath>
|
franta-hg@27
|
694 |
<path path="${javac.classpath}"/>
|
franta-hg@27
|
695 |
</classpath>
|
franta-hg@27
|
696 |
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
|
franta-hg@27
|
697 |
<filename name="**/*.java"/>
|
franta-hg@27
|
698 |
</fileset>
|
franta-hg@27
|
699 |
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
|
franta-hg@27
|
700 |
<include name="**/*.java"/>
|
franta-hg@27
|
701 |
</fileset>
|
franta-hg@27
|
702 |
</javadoc>
|
franta-hg@151
|
703 |
<copy todir="${dist.javadoc.dir}">
|
franta-hg@151
|
704 |
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
|
franta-hg@151
|
705 |
<filename name="**/doc-files/**"/>
|
franta-hg@151
|
706 |
</fileset>
|
franta-hg@151
|
707 |
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
|
franta-hg@151
|
708 |
<include name="**/doc-files/**"/>
|
franta-hg@151
|
709 |
</fileset>
|
franta-hg@151
|
710 |
</copy>
|
franta-hg@27
|
711 |
</target>
|
franta-hg@27
|
712 |
<target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
|
franta-hg@27
|
713 |
<nbbrowse file="${dist.javadoc.dir}/index.html"/>
|
franta-hg@27
|
714 |
</target>
|
franta-hg@27
|
715 |
<target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
|
franta-hg@27
|
716 |
<!--
|
franta-hg@27
|
717 |
=========================
|
franta-hg@27
|
718 |
JUNIT COMPILATION SECTION
|
franta-hg@27
|
719 |
=========================
|
franta-hg@27
|
720 |
-->
|
franta-hg@27
|
721 |
<target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
|
franta-hg@27
|
722 |
<mkdir dir="${build.test.classes.dir}"/>
|
franta-hg@27
|
723 |
</target>
|
franta-hg@27
|
724 |
<target name="-pre-compile-test">
|
franta-hg@27
|
725 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
726 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
727 |
</target>
|
franta-hg@27
|
728 |
<target if="do.depend.true" name="-compile-test-depend">
|
franta-hg@27
|
729 |
<j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
|
franta-hg@27
|
730 |
</target>
|
franta-hg@27
|
731 |
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
|
franta-hg@142
|
732 |
<j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
|
franta-hg@27
|
733 |
<copy todir="${build.test.classes.dir}">
|
franta-hg@27
|
734 |
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
|
franta-hg@27
|
735 |
</copy>
|
franta-hg@27
|
736 |
</target>
|
franta-hg@27
|
737 |
<target name="-post-compile-test">
|
franta-hg@27
|
738 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
739 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
740 |
</target>
|
franta-hg@27
|
741 |
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
|
franta-hg@27
|
742 |
<target name="-pre-compile-test-single">
|
franta-hg@27
|
743 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
744 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
745 |
</target>
|
franta-hg@27
|
746 |
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
|
franta-hg@27
|
747 |
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
|
franta-hg@27
|
748 |
<j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
|
franta-hg@142
|
749 |
<j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
|
franta-hg@27
|
750 |
<copy todir="${build.test.classes.dir}">
|
franta-hg@27
|
751 |
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
|
franta-hg@27
|
752 |
</copy>
|
franta-hg@27
|
753 |
</target>
|
franta-hg@27
|
754 |
<target name="-post-compile-test-single">
|
franta-hg@27
|
755 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
756 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
757 |
</target>
|
franta-hg@27
|
758 |
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
|
franta-hg@27
|
759 |
<!--
|
franta-hg@27
|
760 |
=======================
|
franta-hg@27
|
761 |
JUNIT EXECUTION SECTION
|
franta-hg@27
|
762 |
=======================
|
franta-hg@27
|
763 |
-->
|
franta-hg@27
|
764 |
<target depends="init" if="have.tests" name="-pre-test-run">
|
franta-hg@27
|
765 |
<mkdir dir="${build.test.results.dir}"/>
|
franta-hg@27
|
766 |
</target>
|
franta-hg@27
|
767 |
<target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
|
franta-hg@27
|
768 |
<j2seproject3:junit testincludes="**/*Test.java"/>
|
franta-hg@27
|
769 |
</target>
|
franta-hg@27
|
770 |
<target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
|
franta-hg@27
|
771 |
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
|
franta-hg@27
|
772 |
</target>
|
franta-hg@27
|
773 |
<target depends="init" if="have.tests" name="test-report"/>
|
franta-hg@27
|
774 |
<target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
|
franta-hg@27
|
775 |
<target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
|
franta-hg@27
|
776 |
<target depends="init" if="have.tests" name="-pre-test-run-single">
|
franta-hg@27
|
777 |
<mkdir dir="${build.test.results.dir}"/>
|
franta-hg@27
|
778 |
</target>
|
franta-hg@27
|
779 |
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
|
franta-hg@27
|
780 |
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
|
franta-hg@27
|
781 |
<j2seproject3:junit excludes="" includes="${test.includes}"/>
|
franta-hg@27
|
782 |
</target>
|
franta-hg@27
|
783 |
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
|
franta-hg@27
|
784 |
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
|
franta-hg@27
|
785 |
</target>
|
franta-hg@27
|
786 |
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
|
franta-hg@27
|
787 |
<!--
|
franta-hg@27
|
788 |
=======================
|
franta-hg@27
|
789 |
JUNIT DEBUGGING SECTION
|
franta-hg@27
|
790 |
=======================
|
franta-hg@27
|
791 |
-->
|
franta-hg@27
|
792 |
<target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
|
franta-hg@27
|
793 |
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
|
franta-hg@27
|
794 |
<property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
|
franta-hg@27
|
795 |
<delete file="${test.report.file}"/>
|
franta-hg@27
|
796 |
<mkdir dir="${build.test.results.dir}"/>
|
franta-hg@27
|
797 |
<j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
|
franta-hg@27
|
798 |
<customize>
|
franta-hg@27
|
799 |
<syspropertyset>
|
franta-hg@27
|
800 |
<propertyref prefix="test-sys-prop."/>
|
franta-hg@27
|
801 |
<mapper from="test-sys-prop.*" to="*" type="glob"/>
|
franta-hg@27
|
802 |
</syspropertyset>
|
franta-hg@27
|
803 |
<arg value="${test.class}"/>
|
franta-hg@27
|
804 |
<arg value="showoutput=true"/>
|
franta-hg@27
|
805 |
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
|
franta-hg@27
|
806 |
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
|
franta-hg@27
|
807 |
</customize>
|
franta-hg@27
|
808 |
</j2seproject3:debug>
|
franta-hg@27
|
809 |
</target>
|
franta-hg@27
|
810 |
<target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
|
franta-hg@27
|
811 |
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
|
franta-hg@27
|
812 |
</target>
|
franta-hg@27
|
813 |
<target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
|
franta-hg@27
|
814 |
<target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
|
franta-hg@27
|
815 |
<j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
|
franta-hg@27
|
816 |
</target>
|
franta-hg@27
|
817 |
<target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
|
franta-hg@27
|
818 |
<!--
|
franta-hg@27
|
819 |
=========================
|
franta-hg@27
|
820 |
APPLET EXECUTION SECTION
|
franta-hg@27
|
821 |
=========================
|
franta-hg@27
|
822 |
-->
|
franta-hg@27
|
823 |
<target depends="init,compile-single" name="run-applet">
|
franta-hg@27
|
824 |
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
|
franta-hg@27
|
825 |
<j2seproject1:java classname="sun.applet.AppletViewer">
|
franta-hg@27
|
826 |
<customize>
|
franta-hg@27
|
827 |
<arg value="${applet.url}"/>
|
franta-hg@27
|
828 |
</customize>
|
franta-hg@27
|
829 |
</j2seproject1:java>
|
franta-hg@27
|
830 |
</target>
|
franta-hg@27
|
831 |
<!--
|
franta-hg@27
|
832 |
=========================
|
franta-hg@27
|
833 |
APPLET DEBUGGING SECTION
|
franta-hg@27
|
834 |
=========================
|
franta-hg@27
|
835 |
-->
|
franta-hg@27
|
836 |
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
|
franta-hg@27
|
837 |
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
|
franta-hg@27
|
838 |
<j2seproject3:debug classname="sun.applet.AppletViewer">
|
franta-hg@27
|
839 |
<customize>
|
franta-hg@27
|
840 |
<arg value="${applet.url}"/>
|
franta-hg@27
|
841 |
</customize>
|
franta-hg@27
|
842 |
</j2seproject3:debug>
|
franta-hg@27
|
843 |
</target>
|
franta-hg@27
|
844 |
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
|
franta-hg@27
|
845 |
<!--
|
franta-hg@27
|
846 |
===============
|
franta-hg@27
|
847 |
CLEANUP SECTION
|
franta-hg@27
|
848 |
===============
|
franta-hg@27
|
849 |
-->
|
franta-hg@27
|
850 |
<target name="-deps-clean-init" unless="built-clean.properties">
|
franta-hg@27
|
851 |
<property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
|
franta-hg@27
|
852 |
<delete file="${built-clean.properties}" quiet="true"/>
|
franta-hg@27
|
853 |
</target>
|
franta-hg@27
|
854 |
<target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
|
franta-hg@27
|
855 |
<echo level="warn" message="Cycle detected: nekurak.net-lib was already built"/>
|
franta-hg@27
|
856 |
</target>
|
franta-hg@27
|
857 |
<target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
|
franta-hg@27
|
858 |
<mkdir dir="${build.dir}"/>
|
franta-hg@27
|
859 |
<touch file="${built-clean.properties}" verbose="false"/>
|
franta-hg@27
|
860 |
<property file="${built-clean.properties}" prefix="already.built.clean."/>
|
franta-hg@27
|
861 |
<antcall target="-warn-already-built-clean"/>
|
franta-hg@27
|
862 |
<propertyfile file="${built-clean.properties}">
|
franta-hg@27
|
863 |
<entry key="${basedir}" value=""/>
|
franta-hg@27
|
864 |
</propertyfile>
|
franta-hg@27
|
865 |
</target>
|
franta-hg@27
|
866 |
<target depends="init" name="-do-clean">
|
franta-hg@27
|
867 |
<delete dir="${build.dir}"/>
|
franta-hg@27
|
868 |
<delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
|
franta-hg@27
|
869 |
</target>
|
franta-hg@27
|
870 |
<target name="-post-clean">
|
franta-hg@27
|
871 |
<!-- Empty placeholder for easier customization. -->
|
franta-hg@27
|
872 |
<!-- You can override this target in the ../build.xml file. -->
|
franta-hg@27
|
873 |
</target>
|
franta-hg@27
|
874 |
<target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
|
franta-hg@27
|
875 |
<target name="-check-call-dep">
|
franta-hg@27
|
876 |
<property file="${call.built.properties}" prefix="already.built."/>
|
franta-hg@27
|
877 |
<condition property="should.call.dep">
|
franta-hg@27
|
878 |
<not>
|
franta-hg@27
|
879 |
<isset property="already.built.${call.subproject}"/>
|
franta-hg@27
|
880 |
</not>
|
franta-hg@27
|
881 |
</condition>
|
franta-hg@27
|
882 |
</target>
|
franta-hg@27
|
883 |
<target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
|
franta-hg@27
|
884 |
<ant antfile="${call.script}" inheritall="false" target="${call.target}">
|
franta-hg@27
|
885 |
<propertyset>
|
franta-hg@27
|
886 |
<propertyref prefix="transfer."/>
|
franta-hg@27
|
887 |
<mapper from="transfer.*" to="*" type="glob"/>
|
franta-hg@27
|
888 |
</propertyset>
|
franta-hg@27
|
889 |
</ant>
|
franta-hg@27
|
890 |
</target>
|
franta-hg@27
|
891 |
</project>
|