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 | - dist
|
---|
12 | - execution
|
---|
13 | - debugging
|
---|
14 | - cleanup
|
---|
15 |
|
---|
16 | -->
|
---|
17 | <project name="NhincInternalOrchCA-jbi-impl" default="build" basedir="..">
|
---|
18 | <target name="default" depends="dist" description="Build whole project."/>
|
---|
19 | <!--
|
---|
20 | INITIALIZATION SECTION
|
---|
21 | -->
|
---|
22 | <target name="pre-init">
|
---|
23 | <!-- Empty placeholder for easier customization. -->
|
---|
24 | <!-- You can override this target in the ../build.xml file. -->
|
---|
25 | </target>
|
---|
26 | <target name="init-private" depends="pre-init">
|
---|
27 | <property file="nbproject/private/private.properties"/>
|
---|
28 | </target>
|
---|
29 | <target name="init-userdir" depends="pre-init,init-private">
|
---|
30 | <property name="user.properties.file" location="${netbeans.user}/build.properties"/>
|
---|
31 | </target>
|
---|
32 | <target name="init-user" depends="pre-init,init-private,init-userdir">
|
---|
33 | <property file="${user.properties.file}"/>
|
---|
34 | </target>
|
---|
35 | <target name="init-project" depends="pre-init,init-private,init-userdir,init-user">
|
---|
36 | <property file="nbproject/project.properties"/>
|
---|
37 | </target>
|
---|
38 | <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project">
|
---|
39 | <!-- The two properties below are usually overridden -->
|
---|
40 | <!-- by the active platform. Just a fallback. -->
|
---|
41 | <property name="default.javac.source" value="1.4"/>
|
---|
42 | <property name="default.javac.target" value="1.4"/>
|
---|
43 | <condition property="have.tests">
|
---|
44 | <or>
|
---|
45 | <available file="${test.dir}"/>
|
---|
46 | </or>
|
---|
47 | </condition>
|
---|
48 | <condition property="netbeans.home+have.tests">
|
---|
49 | <and>
|
---|
50 | <isset property="netbeans.home"/>
|
---|
51 | <isset property="have.tests"/>
|
---|
52 | </and>
|
---|
53 | </condition>
|
---|
54 | </target>
|
---|
55 | <target name="post-init">
|
---|
56 | <!-- Empty placeholder for easier customization. -->
|
---|
57 | <!-- You can override this target in the ../build.xml file. -->
|
---|
58 | </target>
|
---|
59 | <target name="init-check" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init">
|
---|
60 | <fail unless="src.dir">Must set src.dir</fail>
|
---|
61 | <fail unless="build.dir">Must set build.dir</fail>
|
---|
62 | <fail unless="build.generated.dir">Must set build.generated.dir</fail>
|
---|
63 | <fail unless="dist.dir">Must set dist.dir</fail>
|
---|
64 | <fail unless="build.classes.dir">Must set build.classes.dir</fail>
|
---|
65 | <fail unless="dist.jar">Must set dist.jar</fail>
|
---|
66 | <fail unless="test.dir">Must set test.dir</fail>
|
---|
67 | </target>
|
---|
68 | <target name="-init-taskdefs" if="from.commandline">
|
---|
69 | <path id="ant.task.classpath">
|
---|
70 | <pathelement location="${soa.module.install.dir}/org-netbeans-modules-compapp-projects-jbi.jar"/>
|
---|
71 | <pathelement location="${soa.module.install.dir}/org-netbeans-modules-compapp-manager-jbi.jar"/>
|
---|
72 | <pathelement location="${soa.module.install.dir}/org-netbeans-soa-libs-xmlbeans.jar"/>
|
---|
73 | <pathelement location="${soa.module.install.dir}/ext/jbi/jbi-admin-common.jar"/>
|
---|
74 | <pathelement location="${soa.module.install.dir}/../ant/nblib/org-netbeans-modules-compapp-projects-jbi.jar"/>
|
---|
75 | <pathelement location="${netbeans.home}/lib/org-openide-util.jar"/>
|
---|
76 | <pathelement location="${netbeans.home}/lib/org-openide-modules.jar"/>
|
---|
77 | <pathelement location="${netbeans.home}/modules/org-openide-options.jar"/>
|
---|
78 | <pathelement location="${netbeans.home}/modules/org-openide-text.jar"/>
|
---|
79 | <pathelement location="${netbeans.home}/modules/org-openide-loaders.jar"/>
|
---|
80 | <pathelement location="${netbeans.home}/modules/org-openide-nodes.jar"/>
|
---|
81 | <pathelement location="${netbeans.home}/modules/org-openide-dialogs.jar"/>
|
---|
82 | <pathelement location="${netbeans.home}/core/org-openide-filesystems.jar"/>
|
---|
83 | <pathelement location="${ide.module.install.dir}/modules/ext/xerces-2.8.0.jar"/>
|
---|
84 | <pathelement location="${ide.module.install.dir}/ext/xml-commons-dom-ranges-1.0.b2.jar"/>
|
---|
85 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-retriever.jar"/>
|
---|
86 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-schema-model.jar"/>
|
---|
87 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-wsdl-model.jar"/>
|
---|
88 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-xam.jar"/>
|
---|
89 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-text.jar"/>
|
---|
90 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-editor.jar"/>
|
---|
91 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-editor-lib.jar"/>
|
---|
92 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-editor-util.jar"/>
|
---|
93 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-projectapi.jar"/>
|
---|
94 | <pathelement location="${ide.module.install.dir}/org-netbeans-modules-classfile.jar"/>
|
---|
95 | <pathelement location="${ide.module.install.dir}/org-apache-xml-resolver.jar"/>
|
---|
96 | <pathelement location="${xml.module.install.dir}/org-netbeans-modules-xml-wsdl-extensions.jar"/>
|
---|
97 | <pathelement location="${java.module.install.dir}/ext/jaxws21/api/jaxb-api.jar"/>
|
---|
98 | <pathelement location="${java.module.install.dir}/ext/jaxws21/jaxb-impl.jar"/>
|
---|
99 | <pathelement location="${java.module.install.dir}/ext/jaxws21/activation.jar"/>
|
---|
100 | <pathelement location="${enterprise.module.install.dir}/org-netbeans-modules-j2eeserver.jar"/>
|
---|
101 | <pathelement location="${enterprise.module.install.dir}/ext/jsr88javax.jar"/>
|
---|
102 | </path>
|
---|
103 | <taskdef name="jbi-build-service-assembly" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.BuildServiceAssembly">
|
---|
104 | <classpath refid="ant.task.classpath"/>
|
---|
105 | </taskdef>
|
---|
106 | <taskdef name="jbi-deploy-service-assembly" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.DeployServiceAssembly">
|
---|
107 | <classpath refid="ant.task.classpath"/>
|
---|
108 | </taskdef>
|
---|
109 | <taskdef name="setup-debug-environment" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.SetUpDebugEnvironment">
|
---|
110 | <classpath refid="ant.task.classpath"/>
|
---|
111 | </taskdef>
|
---|
112 | <taskdef name="teardown-debug-environment" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.TearDownDebugEnvironment">
|
---|
113 | <classpath refid="ant.task.classpath"/>
|
---|
114 | </taskdef>
|
---|
115 | <taskdef name="jbi-javaee-dist" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.BuildJavaEESU">
|
---|
116 | <classpath refid="ant.task.classpath"/>
|
---|
117 | </taskdef>
|
---|
118 | </target>
|
---|
119 | <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,-init-taskdefs"/>
|
---|
120 | <!--
|
---|
121 | COMPILATION SECTION
|
---|
122 | -->
|
---|
123 | <target name="deps-jar" depends="init" unless="${no.dependencies}">
|
---|
124 | <ant target="dist_se" inheritall="false" antfile="${project.NhincInternalOrchBPEL}/build.xml"/>
|
---|
125 | <property name="NhincInternalOrchBPEL.su.name" value="NhincInternalOrchBPEL"/>
|
---|
126 | <unzip src="${reference.NhincInternalOrchBPEL.dist_se}" dest="${src.dir}/../jbiServiceUnits/${NhincInternalOrchBPEL.su.name}">
|
---|
127 | <patternset>
|
---|
128 | <include name="**/*.wsdl"/>
|
---|
129 | <include name="**/*.WSDL"/>
|
---|
130 | <include name="**/*.xsd"/>
|
---|
131 | <include name="**/*.XSD"/>
|
---|
132 | <include name="META-INF/jbi.xml"/>
|
---|
133 | <include name="META-INF/catalog.xml"/>
|
---|
134 | </patternset>
|
---|
135 | </unzip>
|
---|
136 | <property name="NhincInternalOrchBPEL.su.dir" value="${src.dir}/../jbiServiceUnits/${NhincInternalOrchBPEL.su.name}"/>
|
---|
137 | <move file="${NhincInternalOrchBPEL.su.dir}/META-INF/jbi.xml" todir="${NhincInternalOrchBPEL.su.dir}"/>
|
---|
138 | <move todir="${src.dir}/../jbiServiceUnits/META-INF/${NhincInternalOrchBPEL.su.name}">
|
---|
139 | <fileset dir="${NhincInternalOrchBPEL.su.dir}/META-INF"/>
|
---|
140 | </move>
|
---|
141 | </target>
|
---|
142 | <target name="deps-javaee-jar" depends="init" unless="${no.dependencies}"/>
|
---|
143 | <target name="pre-pre-compile" depends="init,deps-jar">
|
---|
144 | <mkdir dir="${build.classes.dir}"/>
|
---|
145 | </target>
|
---|
146 | <target name="pre-compile">
|
---|
147 | <!-- Empty placeholder for easier customization. -->
|
---|
148 | <!-- You can override this target in the ../build.xml file. -->
|
---|
149 | </target>
|
---|
150 | <target name="library-inclusion-in-archive" depends="compile">
|
---|
151 | <unjar dest="${build.classes.dir}" src="${reference.NhincInternalOrchBPEL.dist_se}"/>
|
---|
152 | </target>
|
---|
153 | <target name="library-inclusion-in-manifest" depends="compile">
|
---|
154 | <basename property="included.lib.reference.NhincInternalOrchBPEL.dist_se" file="${reference.NhincInternalOrchBPEL.dist_se}"/>
|
---|
155 | <copy todir="${build.classes.dir}" file="${reference.NhincInternalOrchBPEL.dist_se}"/>
|
---|
156 | <manifest file="${build.classes.dir}/META-INF/MANIFEST.MF" mode="update">
|
---|
157 | <attribute name="Class-Path" value="${included.lib.reference.NhincInternalOrchBPEL.dist_se}"/>
|
---|
158 | </manifest>
|
---|
159 | </target>
|
---|
160 | <target name="do-compile" depends="init,deps-jar,pre-pre-compile,pre-compile"/>
|
---|
161 | <target name="post-compile">
|
---|
162 | <!-- Empty placeholder for easier customization. -->
|
---|
163 | <!-- You can override this target in the ../build.xml file. -->
|
---|
164 | </target>
|
---|
165 | <target name="compile" depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile" description="Compile project."/>
|
---|
166 | <target name="pre-compile-single">
|
---|
167 | <!-- Empty placeholder for easier customization. -->
|
---|
168 | <!-- You can override this target in the ../build.xml file. -->
|
---|
169 | </target>
|
---|
170 | <target name="do-compile-single" depends="init,deps-jar,pre-pre-compile">
|
---|
171 | <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
|
---|
172 | </target>
|
---|
173 | <target name="post-compile-single">
|
---|
174 | <!-- Empty placeholder for easier customization. -->
|
---|
175 | <!-- You can override this target in the ../build.xml file. -->
|
---|
176 | </target>
|
---|
177 | <target name="compile-single" depends="init,deps-jar,pre-pre-compile,pre-compile-single,do-compile-single,post-compile-single"/>
|
---|
178 | <!--
|
---|
179 | DIST BUILDING SECTION
|
---|
180 | -->
|
---|
181 | <target name="jbi-build" depends="init,init-deploy,deps-jar, deps-javaee-jar" description="Build Service Assembly.">
|
---|
182 | <mkdir dir="${src.dir}"/>
|
---|
183 | <copy todir="${src.dir}/../jbiServiceUnits" overwrite="true">
|
---|
184 | <fileset dir="${src.dir}"/>
|
---|
185 | </copy>
|
---|
186 | <mkdir dir="${build.dir}/META-INF"/>
|
---|
187 | <jar compress="true" jarfile="${build.dir}/BCDeployment.jar">
|
---|
188 | <fileset dir="${src.dir}/../jbiServiceUnits">
|
---|
189 | <exclude name="**/catalog.xml"/>
|
---|
190 | <exclude name="**/jbi.xml"/>
|
---|
191 | </fileset>
|
---|
192 | </jar>
|
---|
193 | <jbi-build-service-assembly/>
|
---|
194 | <delete file="${build.dir}/BCDeployment.jar"/>
|
---|
195 | <dirname property="dist.jar.dir" file="${dist.jar}"/>
|
---|
196 | <mkdir dir="${dist.jar.dir}"/>
|
---|
197 | <jar compress="${jar.compress}" jarfile="${dist.jar}" filesetmanifest="merge">
|
---|
198 | <fileset dir="${build.dir}" excludes="jar/*"/>
|
---|
199 | </jar>
|
---|
200 | </target>
|
---|
201 | <target name="jbi-clean-build" depends="init,init-deploy,clean,jbi-build" description="Clean and Build Service Assembly."/>
|
---|
202 | <target name="dist" depends="jbi-build" description="Build distribution (JAR)."/>
|
---|
203 | <!--
|
---|
204 | EXECUTION SECTION
|
---|
205 | -->
|
---|
206 | <target name="run" depends="jbi-build,run-jbi-deploy" description="Deploy to server."/>
|
---|
207 | <target name="init-deploy">
|
---|
208 | <property name="include.jar.manifest" value=""/>
|
---|
209 | </target>
|
---|
210 | <target name="run-jbi-deploy" depends="jbi-build">
|
---|
211 | <property name="j2ee.server.instance" value=""/>
|
---|
212 | <loadproperties srcFile="${basedir}/nbproject/private/private.properties"/>
|
---|
213 | <jbi-deploy-service-assembly serviceAssemblyID="${jbi.service-assembly.id}" serviceAssemblyLocation="${basedir}/${dist.jar}" netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/>
|
---|
214 | </target>
|
---|
215 | <target name="undeploy" depends="init">
|
---|
216 | <property name="j2ee.server.instance" value=""/>
|
---|
217 | <loadproperties srcFile="${basedir}/nbproject/private/private.properties"/>
|
---|
218 | <jbi-deploy-service-assembly undeployServiceAssembly="true" serviceAssemblyID="${jbi.service-assembly.id}" serviceAssemblyLocation="${basedir}/${dist.jar}" netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/>
|
---|
219 | </target>
|
---|
220 | <target name="-pre-debug">
|
---|
221 | <property name="inDebug" value="true"/>
|
---|
222 | <setup-debug-environment netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/>
|
---|
223 | </target>
|
---|
224 | <target name="-post-debug">
|
---|
225 | <property name="inDebug" value="false"/>
|
---|
226 | <teardown-debug-environment netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/>
|
---|
227 | </target>
|
---|
228 | <!--
|
---|
229 | DEBUGGING SECTION
|
---|
230 | -->
|
---|
231 | <target name="debug" description="Debug project in IDE." depends="run,-pre-debug" if="netbeans.home"/>
|
---|
232 | <target name="pre-debug-fix" depends="init">
|
---|
233 | <fail unless="fix.includes">Must set fix.includes</fail>
|
---|
234 | <property name="javac.includes" value="${fix.includes}.java"/>
|
---|
235 | </target>
|
---|
236 | <target name="do-debug-fix" if="netbeans.home" depends="init,pre-debug-fix,compile-single">
|
---|
237 | <j2seproject:nbjpdareload xmlns:j2seproject="http://www.netbeans.org/ns/j2se-project/1"/>
|
---|
238 | </target>
|
---|
239 | <target name="debug-fix" if="netbeans.home" depends="init,pre-debug-fix,do-debug-fix"/>
|
---|
240 | <!--
|
---|
241 | CLEANUP SECTION
|
---|
242 | -->
|
---|
243 | <target name="deps-clean" depends="init" unless="${no.dependencies}">
|
---|
244 | <ant target="clean" inheritall="false" antfile="${project.NhincInternalOrchBPEL}/build.xml"/>
|
---|
245 | </target>
|
---|
246 | <target name="do-clean" depends="init">
|
---|
247 | <delete dir="${build.dir}"/>
|
---|
248 | <delete dir="${dist.dir}"/>
|
---|
249 | <delete dir="${source.root}/jbiServiceUnits"/>
|
---|
250 | </target>
|
---|
251 | <target name="post-clean">
|
---|
252 | <!-- Empty placeholder for easier customization. -->
|
---|
253 | <!-- You can override this target in the ../build.xml file. -->
|
---|
254 | </target>
|
---|
255 | <target name="clean" depends="init,deps-clean,do-clean,post-clean" description="Clean build products."/>
|
---|
256 | <target name="jbi-clean-config" depends="init,clear-casa,jbi-clean-build" description="Clean service assembly."/>
|
---|
257 | <target name="clear-casa">
|
---|
258 | <delete file="${source.root}/conf/${jbi.service-assembly.id}.casa"/>
|
---|
259 | <delete file="${src.dir}/${jbi.service-assembly.id}.wsdl"/>
|
---|
260 | </target>
|
---|
261 | <!--
|
---|
262 | JUNIT EXECUTION SECTION
|
---|
263 | =======================
|
---|
264 | -->
|
---|
265 | <target name="-pre-test-run" if="have.tests" depends="init">
|
---|
266 | <mkdir dir="${test.results.dir}"/>
|
---|
267 | <path id="unit.test.classpath">
|
---|
268 | <pathelement path="${soa.module.install.dir}/org-netbeans-modules-compapp-manager-jbi.jar"/>
|
---|
269 | <pathelement path="${soa.module.install.dir}/org-netbeans-modules-compapp-projects-jbi.jar"/>
|
---|
270 | <pathelement path="${soa.module.install.dir}/ext/jbi/jbi-admin-common.jar"/>
|
---|
271 | <pathelement path="${soa.module.install.dir}/ext/jbi/catd.jar"/>
|
---|
272 | <pathelement path="${java.module.install.dir}/ext/junit-3.8.2.jar"/>
|
---|
273 | <pathelement path="${java.module.install.dir}/ext/jaxws21/api/saaj-api.jar"/>
|
---|
274 | <pathelement path="${java.module.install.dir}/ext/jaxws21/saaj-impl.jar"/>
|
---|
275 | <pathelement path="${java.module.install.dir}/ext/jaxws21/FastInfoset.jar"/>
|
---|
276 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-lib.jar"/>
|
---|
277 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor.jar"/>
|
---|
278 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-util.jar"/>
|
---|
279 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-lib2.jar"/>
|
---|
280 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-indent.jar"/>
|
---|
281 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-plain.jar"/>
|
---|
282 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-plain-lib.jar"/>
|
---|
283 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-settings.jar"/>
|
---|
284 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-lexer.jar"/>
|
---|
285 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-core.jar"/>
|
---|
286 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-lexer.jar"/>
|
---|
287 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-text.jar"/>
|
---|
288 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-xdm.jar"/>
|
---|
289 | <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-xam.jar"/>
|
---|
290 | <pathelement path="${netbeans.home}/lib/org-openide-modules.jar"/>
|
---|
291 | <pathelement path="${netbeans.home}/lib/org-openide-util.jar"/>
|
---|
292 | <pathelement path="${netbeans.home}/modules/org-openide-options.jar"/>
|
---|
293 | <pathelement path="${netbeans.home}/modules/org-openide-text.jar"/>
|
---|
294 | <pathelement path="${netbeans.home}/modules/org-openide-loaders.jar"/>
|
---|
295 | <pathelement path="${netbeans.home}/modules/org-openide-nodes.jar"/>
|
---|
296 | <pathelement path="${netbeans.home}/modules/org-netbeans-modules-editor-mimelookup.jar"/>
|
---|
297 | <pathelement path="${netbeans.home}/modules/org-netbeans-modules-editor-mimelookup-impl.jar"/>
|
---|
298 | <pathelement path="${netbeans.home}/core/org-openide-filesystems.jar"/>
|
---|
299 | </path>
|
---|
300 | </target>
|
---|
301 | <target name="-do-test-run" if="netbeans.home+have.tests" depends="init,-pre-test-run">
|
---|
302 | <junit showoutput="true" fork="yes" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed">
|
---|
303 | <classpath refid="unit.test.classpath"/>
|
---|
304 | <sysproperty key="NetBeansUserDir" value="${netbeans.user}"/>
|
---|
305 | <sysproperty key="org.netbeans.modules.compapp.catd.context" value="${org.netbeans.modules.compapp.catd.context}"/>
|
---|
306 | <test name="org.netbeans.modules.compapp.catd.ConfiguredTest" haltonfailure="no" todir="${test.results.dir}"/>
|
---|
307 | <syspropertyset>
|
---|
308 | <propertyref prefix="test-sys-prop."/>
|
---|
309 | <mapper to="*" from="test-sys-prop.*" type="glob"/>
|
---|
310 | </syspropertyset>
|
---|
311 | <formatter usefile="false" type="brief"/>
|
---|
312 | <formatter type="xml"/>
|
---|
313 | </junit>
|
---|
314 | </target>
|
---|
315 | <target name="-do-single-test-run" if="netbeans.home+have.tests" depends="init,-pre-test-run">
|
---|
316 | <junit showoutput="true" fork="yes" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed">
|
---|
317 | <classpath refid="unit.test.classpath"/>
|
---|
318 | <sysproperty key="NetBeansUserDir" value="${netbeans.user}"/>
|
---|
319 | <sysproperty key="inDebug" value="${inDebug}"/>
|
---|
320 | <sysproperty key="org.netbeans.modules.compapp.catd.context" value="${org.netbeans.modules.compapp.catd.context}"/>
|
---|
321 | <test name="org.netbeans.modules.compapp.catd.ConfiguredTest" haltonfailure="no" todir="${test.results.dir}"/>
|
---|
322 | <syspropertyset>
|
---|
323 | <propertyref prefix="test-sys-prop."/>
|
---|
324 | <mapper to="*" from="test-sys-prop.*" type="glob"/>
|
---|
325 | </syspropertyset>
|
---|
326 | <formatter usefile="false" type="brief"/>
|
---|
327 | <formatter type="xml"/>
|
---|
328 | </junit>
|
---|
329 | </target>
|
---|
330 | <target name="-post-test-run" if="have.tests" depends="init,-pre-test-run,-do-test-run">
|
---|
331 | <fail if="tests.failed">Some tests failed; see details above.</fail>
|
---|
332 | </target>
|
---|
333 | <target name="-post-single-test-run" if="have.tests" depends="init,-pre-test-run,-do-single-test-run">
|
---|
334 | <fail if="tests.failed">Some tests failed; see details above.</fail>
|
---|
335 | </target>
|
---|
336 | <target name="test-report" if="have.tests" depends="init"/>
|
---|
337 | <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/>
|
---|
338 | <target name="test" depends="init,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/>
|
---|
339 | <target name="test-single" depends="init,-pre-test-run,-do-single-test-run,test-report,-post-single-test-run,-test-browse" description="Run unit tests."/>
|
---|
340 | <target name="debug-single" depends="init,-pre-test-run,-pre-debug,-do-single-test-run,-post-debug,test-report,-post-single-test-run,-test-browse" description="Debug unit tests."/>
|
---|
341 | <target name="-post-unit-test-run" if="have.tests+tests.failed" depends="init,-pre-test-run,-do-test-run">
|
---|
342 | <echo>Some tests failed; see details above.</echo>
|
---|
343 | </target>
|
---|
344 | <target name="unit-test" depends="init,-pre-test-run,-do-test-run,test-report,-post-unit-test-run,-test-browse" description="Run unit tests in a batch."/>
|
---|
345 | <target name="jbi-unit-test" depends="run,unit-test,undeploy" description="build, deploy, test, and undeploy."/>
|
---|
346 | </project>
|
---|