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