PageRenderTime 32ms CodeModel.GetById 12ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/Prototipo/Servlet/nbproject/build-impl.xml

http://prototipomemoria.googlecode.com/
XML | 929 lines | 839 code | 0 blank | 90 comment | 0 complexity | 900485e2e2c5e48c70bbe4152141a324 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  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        - initialization
  9        - compilation
 10        - dist
 11        - execution
 12        - debugging
 13        - javadoc
 14        - junit compilation
 15        - junit execution
 16        - junit debugging
 17        - cleanup
 18
 19        -->
 20<project xmlns:webproject1="http://www.netbeans.org/ns/web-project/1" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" basedir=".." default="default" name="Servlet-impl">
 21    <import file="ant-deploy.xml"/>
 22    <fail message="Please build using Ant 1.7.1 or higher.">
 23        <condition>
 24            <not>
 25                <antversion atleast="1.7.1"/>
 26            </not>
 27        </condition>
 28    </fail>
 29    <target depends="dist,javadoc" description="Build whole project." name="default"/>
 30    <!--
 31                INITIALIZATION SECTION
 32            -->
 33    <target name="-pre-init">
 34        <!-- Empty placeholder for easier customization. -->
 35        <!-- You can override this target in the ../build.xml file. -->
 36    </target>
 37    <target depends="-pre-init" name="-init-private">
 38        <property file="nbproject/private/private.properties"/>
 39    </target>
 40    <target depends="-pre-init,-init-private" name="-init-user">
 41        <property file="${user.properties.file}"/>
 42        <!-- The two properties below are usually overridden -->
 43        <!-- by the active platform. Just a fallback. -->
 44        <property name="default.javac.source" value="1.4"/>
 45        <property name="default.javac.target" value="1.4"/>
 46    </target>
 47    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
 48        <property file="nbproject/project.properties"/>
 49    </target>
 50    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" if="dist.ear.dir" name="-do-ear-init"/>
 51    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
 52        <condition property="have.tests">
 53            <or>
 54                <available file="${test.src.dir}"/>
 55            </or>
 56        </condition>
 57        <condition property="have.sources">
 58            <or>
 59                <available file="${src.dir}"/>
 60            </or>
 61        </condition>
 62        <condition property="netbeans.home+have.tests">
 63            <and>
 64                <isset property="netbeans.home"/>
 65                <isset property="have.tests"/>
 66            </and>
 67        </condition>
 68        <condition property="no.javadoc.preview">
 69            <isfalse value="${javadoc.preview}"/>
 70        </condition>
 71        <property name="javac.compilerargs" value=""/>
 72        <condition property="no.deps">
 73            <and>
 74                <istrue value="${no.dependencies}"/>
 75            </and>
 76        </condition>
 77        <condition property="no.dist.ear.dir">
 78            <not>
 79                <isset property="dist.ear.dir"/>
 80            </not>
 81        </condition>
 82        <property name="build.web.excludes" value="${build.classes.excludes}"/>
 83        <condition property="do.compile.jsps">
 84            <istrue value="${compile.jsps}"/>
 85        </condition>
 86        <condition property="do.debug.server">
 87            <or>
 88                <not>
 89                    <isset property="debug.server"/>
 90                </not>
 91                <istrue value="${debug.server}"/>
 92                <and>
 93                    <not>
 94                        <istrue value="${debug.server}"/>
 95                    </not>
 96                    <not>
 97                        <istrue value="${debug.client}"/>
 98                    </not>
 99                </and>
100            </or>
101        </condition>
102        <condition property="do.debug.client">
103            <istrue value="${debug.client}"/>
104        </condition>
105        <condition property="do.display.browser">
106            <istrue value="${display.browser}"/>
107        </condition>
108        <condition property="do.display.browser.debug">
109            <and>
110                <isset property="do.display.browser"/>
111                <not>
112                    <isset property="do.debug.client"/>
113                </not>
114            </and>
115        </condition>
116        <available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/>
117        <available file="${persistence.xml.dir}/persistence.xml" property="has.persistence.xml"/>
118        <condition property="do.war.package.with.custom.manifest">
119            <isset property="has.custom.manifest"/>
120        </condition>
121        <condition property="do.war.package.without.custom.manifest">
122            <not>
123                <isset property="has.custom.manifest"/>
124            </not>
125        </condition>
126        <condition property="do.tmp.war.package.with.custom.manifest">
127            <and>
128                <isset property="has.custom.manifest"/>
129                <or>
130                    <isfalse value="${directory.deployment.supported}"/>
131                    <isset property="dist.ear.dir"/>
132                </or>
133            </and>
134        </condition>
135        <condition property="do.tmp.war.package.without.custom.manifest">
136            <and>
137                <not>
138                    <isset property="has.custom.manifest"/>
139                </not>
140                <or>
141                    <isfalse value="${directory.deployment.supported}"/>
142                    <isset property="dist.ear.dir"/>
143                </or>
144            </and>
145        </condition>
146        <condition property="do.tmp.war.package">
147            <or>
148                <isfalse value="${directory.deployment.supported}"/>
149                <isset property="dist.ear.dir"/>
150            </or>
151        </condition>
152        <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/>
153        <condition else="" property="application.args.param" value="${application.args}">
154            <and>
155                <isset property="application.args"/>
156                <not>
157                    <equals arg1="${application.args}" arg2="" trim="true"/>
158                </not>
159            </and>
160        </condition>
161        <property name="source.encoding" value="${file.encoding}"/>
162        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
163            <and>
164                <isset property="javadoc.encoding"/>
165                <not>
166                    <equals arg1="${javadoc.encoding}" arg2=""/>
167                </not>
168            </and>
169        </condition>
170        <property name="javadoc.encoding.used" value="${source.encoding}"/>
171        <property name="includes" value="**"/>
172        <property name="excludes" value=""/>
173        <property name="runmain.jvmargs" value=""/>
174        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
175        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
176            <length length="0" string="${endorsed.classpath}" when="greater"/>
177        </condition>
178    </target>
179    <target depends="init" name="-init-cos" unless="deploy.on.save">
180        <condition property="deploy.on.save" value="true">
181            <istrue value="${j2ee.deploy.on.save}"/>
182        </condition>
183    </target>
184    <target name="-post-init">
185        <!-- Empty placeholder for easier customization. -->
186        <!-- You can override this target in the ../build.xml file. -->
187    </target>
188    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
189        <fail unless="src.dir">Must set src.dir</fail>
190        <fail unless="test.src.dir">Must set test.src.dir</fail>
191        <fail unless="build.dir">Must set build.dir</fail>
192        <fail unless="build.web.dir">Must set build.web.dir</fail>
193        <fail unless="build.generated.dir">Must set build.generated.dir</fail>
194        <fail unless="dist.dir">Must set dist.dir</fail>
195        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
196        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
197        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
198        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
199        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
200        <fail unless="dist.war">Must set dist.war</fail>
201        <fail unless="j2ee.platform.classpath">
202The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
203Either open the project in the IDE and assign the server or setup the server classpath manually.
204For example like this:
205   ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
206or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
207                </fail>
208    </target>
209    <target name="-init-macrodef-property">
210        <macrodef name="property" uri="http://www.netbeans.org/ns/web-project/1">
211            <attribute name="name"/>
212            <attribute name="value"/>
213            <sequential>
214                <property name="@{name}" value="${@{value}}"/>
215            </sequential>
216        </macrodef>
217    </target>
218    <target name="-init-macrodef-javac">
219        <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
220            <attribute default="${src.dir}" name="srcdir"/>
221            <attribute default="${build.classes.dir}" name="destdir"/>
222            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
223            <attribute default="${includes}" name="includes"/>
224            <attribute default="${excludes}" name="excludes"/>
225            <attribute default="${javac.debug}" name="debug"/>
226            <attribute default="${empty.dir}" name="gensrcdir"/>
227            <element name="customize" optional="true"/>
228            <sequential>
229                <property location="${build.dir}/empty" name="empty.dir"/>
230                <mkdir dir="${empty.dir}"/>
231                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
232                    <src>
233                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
234                            <include name="*"/>
235                        </dirset>
236                    </src>
237                    <classpath>
238                        <path path="@{classpath}"/>
239                    </classpath>
240                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
241                    <compilerarg line="${javac.compilerargs}"/>
242                    <customize/>
243                </javac>
244            </sequential>
245        </macrodef>
246    </target>
247    <target name="-init-macrodef-junit">
248        <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
249            <attribute default="${includes}" name="includes"/>
250            <attribute default="${excludes}" name="excludes"/>
251            <attribute default="**" name="testincludes"/>
252            <sequential>
253                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
254                    <batchtest todir="${build.test.results.dir}">
255                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
256                            <filename name="@{testincludes}"/>
257                        </fileset>
258                    </batchtest>
259                    <classpath>
260                        <path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
261                    </classpath>
262                    <syspropertyset>
263                        <propertyref prefix="test-sys-prop."/>
264                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
265                    </syspropertyset>
266                    <formatter type="brief" usefile="false"/>
267                    <formatter type="xml"/>
268                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
269                    <jvmarg line="${runmain.jvmargs}"/>
270                </junit>
271            </sequential>
272        </macrodef>
273    </target>
274    <target name="-init-macrodef-java">
275        <macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1">
276            <attribute default="${main.class}" name="classname"/>
277            <attribute default="${debug.classpath}" name="classpath"/>
278            <element name="customize" optional="true"/>
279            <sequential>
280                <java classname="@{classname}" fork="true">
281                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
282                    <jvmarg line="${runmain.jvmargs}"/>
283                    <classpath>
284                        <path path="@{classpath}:${j2ee.platform.classpath}"/>
285                    </classpath>
286                    <syspropertyset>
287                        <propertyref prefix="run-sys-prop."/>
288                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
289                    </syspropertyset>
290                    <customize/>
291                </java>
292            </sequential>
293        </macrodef>
294    </target>
295    <target name="-init-macrodef-nbjsdebug">
296        <macrodef name="nbjsdebugstart" uri="http://www.netbeans.org/ns/web-project/1">
297            <attribute default="${client.url}" name="webUrl"/>
298            <sequential>
299                <nbjsdebugstart urlPart="${client.urlPart}" webUrl="@{webUrl}"/>
300            </sequential>
301        </macrodef>
302    </target>
303    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
304        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/web-project/1">
305            <attribute default="${main.class}" name="name"/>
306            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
307            <sequential>
308                <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
309                    <classpath>
310                        <path path="@{classpath}"/>
311                    </classpath>
312                </nbjpdastart>
313            </sequential>
314        </macrodef>
315        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/web-project/1">
316            <attribute default="${build.classes.dir}" name="dir"/>
317            <sequential>
318                <nbjpdareload>
319                    <fileset dir="@{dir}" includes="${fix.classes}">
320                        <include name="${fix.includes}*.class"/>
321                    </fileset>
322                </nbjpdareload>
323            </sequential>
324        </macrodef>
325        <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
326            <sequential>
327                <nbjpdaappreloaded/>
328            </sequential>
329        </macrodef>
330    </target>
331    <target name="-init-debug-args">
332        <property name="version-output" value="java version &quot;${ant.java.version}"/>
333        <condition property="have-jdk-older-than-1.4">
334            <or>
335                <contains string="${version-output}" substring="java version &quot;1.0"/>
336                <contains string="${version-output}" substring="java version &quot;1.1"/>
337                <contains string="${version-output}" substring="java version &quot;1.2"/>
338                <contains string="${version-output}" substring="java version &quot;1.3"/>
339            </or>
340        </condition>
341        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
342            <istrue value="${have-jdk-older-than-1.4}"/>
343        </condition>
344        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
345            <os family="windows"/>
346        </condition>
347        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
348            <isset property="debug.transport"/>
349        </condition>
350    </target>
351    <target depends="-init-debug-args" name="-init-macrodef-debug">
352        <macrodef name="debug" uri="http://www.netbeans.org/ns/web-project/1">
353            <attribute default="${main.class}" name="classname"/>
354            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
355            <attribute default="${application.args.param}" name="args"/>
356            <element name="customize" optional="true"/>
357            <sequential>
358                <java classname="@{classname}" fork="true">
359                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
360                    <jvmarg line="${debug-args-line}"/>
361                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
362                    <jvmarg line="${runmain.jvmargs}"/>
363                    <classpath>
364                        <path path="@{classpath}"/>
365                    </classpath>
366                    <syspropertyset>
367                        <propertyref prefix="run-sys-prop."/>
368                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
369                    </syspropertyset>
370                    <arg line="@{args}"/>
371                    <customize/>
372                </java>
373            </sequential>
374        </macrodef>
375    </target>
376    <target name="-init-taskdefs">
377        <fail unless="libs.CopyLibs.classpath">
378The libs.CopyLibs.classpath property is not set up.
379This property must point to 
380org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
381of NetBeans IDE installation and is usually located at 
382&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
383Either open the project in the IDE and make sure CopyLibs library
384exists or setup the property manually. For example like this:
385 ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
386                </fail>
387        <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
388    </target>
389    <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-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-taskdefs" name="init"/>
390    <!--
391                COMPILATION SECTION
392            -->
393    <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps">
394        <ant antfile="${project.PrototipoCommons}/build.xml" inheritall="false" target="jar">
395            <property name="deploy.on.save" value="false"/>
396        </ant>
397        <ant antfile="${project.PrototipoCommons-1}/build.xml" inheritall="false" target="jar">
398            <property name="deploy.on.save" value="false"/>
399        </ant>
400    </target>
401    <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps">
402        <ant antfile="${project.PrototipoCommons}/build.xml" inheritall="false" target="jar">
403            <property name="deploy.on.save" value="false"/>
404        </ant>
405        <ant antfile="${project.PrototipoCommons-1}/build.xml" inheritall="false" target="jar">
406            <property name="deploy.on.save" value="false"/>
407        </ant>
408    </target>
409    <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/>
410    <target depends="init,deps-jar" name="-pre-pre-compile">
411        <mkdir dir="${build.classes.dir}"/>
412    </target>
413    <target name="-pre-compile">
414        <!-- Empty placeholder for easier customization. -->
415        <!-- You can override this target in the ../build.xml file. -->
416    </target>
417    <target name="-copy-webdir">
418        <copy todir="${build.web.dir}">
419            <fileset dir="${web.docbase.dir}" excludes="${build.web.excludes},${excludes}" includes="${includes}"/>
420        </copy>
421        <copy todir="${build.web.dir}/WEB-INF">
422            <fileset dir="${webinf.dir}" excludes="${build.web.excludes}"/>
423        </copy>
424    </target>
425    <target depends="init, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, -copy-persistence-xml, -copy-webdir, library-inclusion-in-archive,library-inclusion-in-manifest" if="have.sources" name="-do-compile">
426        <webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
427        <copy todir="${build.classes.dir}">
428            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
429        </copy>
430    </target>
431    <target if="has.custom.manifest" name="-copy-manifest">
432        <mkdir dir="${build.meta.inf.dir}"/>
433        <copy todir="${build.meta.inf.dir}">
434            <fileset dir="${conf.dir}" includes="MANIFEST.MF"/>
435        </copy>
436    </target>
437    <target if="has.persistence.xml" name="-copy-persistence-xml">
438        <mkdir dir="${build.web.dir}/WEB-INF/classes/META-INF"/>
439        <copy todir="${build.web.dir}/WEB-INF/classes/META-INF">
440            <fileset dir="${persistence.xml.dir}" includes="persistence.xml"/>
441        </copy>
442    </target>
443    <target name="-post-compile">
444        <!-- Empty placeholder for easier customization. -->
445        <!-- You can override this target in the ../build.xml file. -->
446    </target>
447    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
448    <target name="-pre-compile-single">
449        <!-- Empty placeholder for easier customization. -->
450        <!-- You can override this target in the ../build.xml file. -->
451    </target>
452    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
453        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
454        <webproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
455        <copy todir="${build.classes.dir}">
456            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
457        </copy>
458    </target>
459    <target name="-post-compile-single">
460        <!-- Empty placeholder for easier customization. -->
461        <!-- You can override this target in the ../build.xml file. -->
462    </target>
463    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
464    <target depends="compile" description="Test compile JSP pages to expose compilation errors." if="do.compile.jsps" name="compile-jsps">
465        <mkdir dir="${build.generated.dir}/src"/>
466        <java classname="org.netbeans.modules.web.project.ant.JspC" failonerror="true" fork="true">
467            <arg value="-uriroot"/>
468            <arg file="${basedir}/${build.web.dir}"/>
469            <arg value="-d"/>
470            <arg file="${basedir}/${build.generated.dir}/src"/>
471            <arg value="-die1"/>
472            <arg value="-compilerSourceVM ${javac.source}"/>
473            <arg value="-compilerTargetVM ${javac.target}"/>
474            <arg value="-javaEncoding ${source.encoding}"/>
475            <classpath path="${java.home}/../lib/tools.jar:${jspctask.classpath}:${jspcompilation.classpath}"/>
476        </java>
477        <mkdir dir="${build.generated.dir}/classes"/>
478        <webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/>
479    </target>
480    <target depends="compile" if="jsp.includes" name="-do-compile-single-jsp">
481        <fail unless="javac.jsp.includes">Must select some files in the IDE or set javac.jsp.includes</fail>
482        <mkdir dir="${build.generated.dir}/src"/>
483        <java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">
484            <arg value="-uriroot"/>
485            <arg file="${basedir}/${build.web.dir}"/>
486            <arg value="-d"/>
487            <arg file="${basedir}/${build.generated.dir}/src"/>
488            <arg value="-die1"/>
489            <arg value="-jspc.files"/>
490            <arg path="${jsp.includes}"/>
491            <arg value="-compilerSourceVM ${javac.source}"/>
492            <arg value="-compilerTargetVM ${javac.target}"/>
493            <arg value="-javaEncoding ${source.encoding}"/>
494            <classpath path="${java.home}/../lib/tools.jar:${jspctask.classpath}:${jspcompilation.classpath}"/>
495        </java>
496        <mkdir dir="${build.generated.dir}/classes"/>
497        <webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src">
498            <customize>
499                <patternset includes="${javac.jsp.includes}"/>
500            </customize>
501        </webproject2:javac>
502    </target>
503    <target name="compile-single-jsp">
504        <fail unless="jsp.includes">Must select a file in the IDE or set jsp.includes</fail>
505        <antcall target="-do-compile-single-jsp"/>
506    </target>
507    <!--
508                DIST BUILDING SECTION
509            -->
510    <target name="-pre-dist">
511        <!-- Empty placeholder for easier customization. -->
512        <!-- You can override this target in the ../build.xml file. -->
513    </target>
514    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.without.custom.manifest" name="-do-dist-without-manifest">
515        <dirname file="${dist.war}" property="dist.jar.dir"/>
516        <mkdir dir="${dist.jar.dir}"/>
517        <jar compress="${jar.compress}" jarfile="${dist.war}">
518            <fileset dir="${build.web.dir}"/>
519        </jar>
520    </target>
521    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.with.custom.manifest" name="-do-dist-with-manifest">
522        <dirname file="${dist.war}" property="dist.jar.dir"/>
523        <mkdir dir="${dist.jar.dir}"/>
524        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
525            <fileset dir="${build.web.dir}"/>
526        </jar>
527    </target>
528    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.without.custom.manifest" name="-do-tmp-dist-without-manifest">
529        <dirname file="${dist.war}" property="dist.jar.dir"/>
530        <mkdir dir="${dist.jar.dir}"/>
531        <jar compress="${jar.compress}" jarfile="${dist.war}">
532            <fileset dir="${build.web.dir}"/>
533        </jar>
534    </target>
535    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.with.custom.manifest" name="-do-tmp-dist-with-manifest">
536        <dirname file="${dist.war}" property="dist.jar.dir"/>
537        <mkdir dir="${dist.jar.dir}"/>
538        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
539            <fileset dir="${build.web.dir}"/>
540        </jar>
541    </target>
542    <target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
543    <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
544        <copyfiles files="${reference.PrototipoCommons.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
545        <copyfiles files="${reference.PrototipoCommons-1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
546        <copyfiles files="${file.reference.xstream-1.4.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
547        <copyfiles files="${file.reference.xstream-benchmark-1.4.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
548        <copyfiles files="${file.reference.xstream-hibernate-1.4.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
549        <copyfiles files="${file.reference.cglib-nodep-2.2.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
550        <copyfiles files="${file.reference.dom4j-1.6.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
551        <copyfiles files="${file.reference.jdom-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
552        <copyfiles files="${file.reference.jettison-1.2.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
553        <copyfiles files="${file.reference.joda-time-1.6.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
554        <copyfiles files="${file.reference.json-20080701.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
555        <copyfiles files="${file.reference.kxml2-2.3.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
556        <copyfiles files="${file.reference.kxml2-min-2.3.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
557        <copyfiles files="${file.reference.stax-1.2.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
558        <copyfiles files="${file.reference.stax-api-1.0.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
559        <copyfiles files="${file.reference.wstx-asl-3.2.7.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
560        <copyfiles files="${file.reference.xmlpull-1.1.3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
561        <copyfiles files="${file.reference.xom-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
562        <copyfiles files="${file.reference.xpp3_min-1.1.4c.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
563        <copyfiles files="${file.reference.antlr-2.7.6.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
564        <copyfiles files="${file.reference.commons-collections-3.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
565        <copyfiles files="${file.reference.dom4j-1.6.1.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
566        <copyfiles files="${file.reference.hibernate-core-3.3.2.GA.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
567        <copyfiles files="${file.reference.hsqldb-1.8.0.7.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
568        <copyfiles files="${file.reference.jta-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
569        <copyfiles files="${file.reference.slf4j-api-1.6.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
570        <copyfiles files="${file.reference.xmlpull-1.1.3.1.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
571        <copyfiles files="${file.reference.xpp3_min-1.1.4c.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
572        <mkdir dir="${build.web.dir}/META-INF"/>
573        <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
574    </target>
575    <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
576        <copyfiles files="${reference.PrototipoCommons.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
577        <copyfiles files="${reference.PrototipoCommons-1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
578        <copyfiles files="${file.reference.xstream-1.4.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
579        <copyfiles files="${file.reference.xstream-benchmark-1.4.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
580        <copyfiles files="${file.reference.xstream-hibernate-1.4.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
581        <copyfiles files="${file.reference.cglib-nodep-2.2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
582        <copyfiles files="${file.reference.dom4j-1.6.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
583        <copyfiles files="${file.reference.jdom-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
584        <copyfiles files="${file.reference.jettison-1.2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
585        <copyfiles files="${file.reference.joda-time-1.6.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
586        <copyfiles files="${file.reference.json-20080701.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
587        <copyfiles files="${file.reference.kxml2-2.3.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
588        <copyfiles files="${file.reference.kxml2-min-2.3.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
589        <copyfiles files="${file.reference.stax-1.2.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
590        <copyfiles files="${file.reference.stax-api-1.0.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
591        <copyfiles files="${file.reference.wstx-asl-3.2.7.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
592        <copyfiles files="${file.reference.xmlpull-1.1.3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
593        <copyfiles files="${file.reference.xom-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
594        <copyfiles files="${file.reference.xpp3_min-1.1.4c.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
595        <copyfiles files="${file.reference.antlr-2.7.6.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
596        <copyfiles files="${file.reference.commons-collections-3.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
597        <copyfiles files="${file.reference.dom4j-1.6.1.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
598        <copyfiles files="${file.reference.hibernate-core-3.3.2.GA.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
599        <copyfiles files="${file.reference.hsqldb-1.8.0.7.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
600        <copyfiles files="${file.reference.jta-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
601        <copyfiles files="${file.reference.slf4j-api-1.6.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
602        <copyfiles files="${file.reference.xmlpull-1.1.3.1.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
603        <copyfiles files="${file.reference.xpp3_min-1.1.4c.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
604    </target>
605    <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
606        <delete dir="${build.web.dir}/WEB-INF/lib"/>
607    </target>
608    <target depends="init,-clean-webinf-lib,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" if="do.tmp.war.package" name="do-ear-dist">
609        <dirname file="${dist.ear.war}" property="dist.jar.dir"/>
610        <mkdir dir="${dist.jar.dir}"/>
611        <jar compress="${jar.compress}" jarfile="${dist.ear.war}" manifest="${build.web.dir}/META-INF/MANIFEST.MF">
612            <fileset dir="${build.web.dir}"/>
613        </jar>
614    </target>
615    <target name="-post-dist">
616        <!-- Empty placeholder for easier customization. -->
617        <!-- You can override this target in the ../build.xml file. -->
618    </target>
619    <target depends="init,compile,-pre-dist,do-dist,-post-dist" description="Build distribution (WAR)." name="dist"/>
620    <target depends="init,-clean-webinf-lib,-init-cos,compile,-pre-dist,do-ear-dist,-post-dist" description="Build distribution (WAR) to be packaged into an EAR." name="dist-ear"/>
621    <!--
622                EXECUTION SECTION
623            -->
624    <target depends="run-deploy,run-display-browser" description="Deploy to server and show in browser." name="run"/>
625    <target name="-pre-run-deploy">
626        <!-- Empty placeholder for easier customization. -->
627        <!-- You can override this target in the ../build.xml file. -->
628    </target>
629    <target name="-post-run-deploy">
630        <!-- Empty placeholder for easier customization. -->
631        <!-- You can override this target in the ../build.xml file. -->
632    </target>
633    <target name="-pre-nbmodule-run-deploy">
634        <!-- Empty placeholder for easier customization. -->
635        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
636    </target>
637    <target name="-post-nbmodule-run-deploy">
638        <!-- Empty placeholder for easier customization. -->
639        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
640    </target>
641    <target name="-run-deploy-am">
642        <!-- Task to deploy to the Access Manager runtime. -->
643    </target>
644    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest,-pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,-post-run-deploy" name="run-deploy">
645        <nbjpdaappreloaded/>
646    </target>
647    <target if="netbeans.home" name="-run-deploy-nb">
648        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
649    </target>
650    <target name="-init-deploy-ant" unless="netbeans.home">
651        <property name="deploy.ant.archive" value="${dist.war}"/>
652        <property name="deploy.ant.docbase.dir" value="${web.docbase.dir}"/>
653        <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
654        <property name="deploy.ant.enabled" value="true"/>
655    </target>
656    <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
657    <target if="netbeans.home" name="-run-undeploy-nb">
658        <fail message="Undeploy is not supported from within the IDE"/>
659    </target>
660    <target depends="init,-pre-dist,dist,-post-dist" name="verify">
661        <nbverify file="${dist.war}"/>
662    </target>
663    <target depends="run-deploy,-init-display-browser,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
664    <target if="do.display.browser" name="-init-display-browser">
665        <condition property="do.display.browser.nb">
666            <isset property="netbeans.home"/>
667        </condition>
668        <condition property="do.display.browser.cl">
669            <isset property="deploy.ant.enabled"/>
670        </condition>
671    </target>
672    <target if="do.display.browser.nb" name="-display-browser-nb">
673        <nbbrowse url="${client.url}"/>
674    </target>
675    <target if="do.display.browser.cl" name="-get-browser" unless="browser">
676        <condition property="browser" value="rundll32">
677            <os family="windows"/>
678        </condition>
679        <condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
680            <os family="windows"/>
681        </condition>
682        <condition property="browser" value="/usr/bin/open">
683            <os family="mac"/>
684        </condition>
685        <property environment="env"/>
686        <condition property="browser" value="${env.BROWSER}">
687            <isset property="env.BROWSER"/>
688        </condition>
689        <condition property="browser" value="/usr/bin/firefox">
690            <available file="/usr/bin/firefox"/>
691        </condition>
692        <condition property="browser" value="/usr/local/firefox/firefox">
693            <available file="/usr/local/firefox/firefox"/>
694        </condition>
695        <condition property="browser" value="/usr/bin/mozilla">
696            <available file="/usr/bin/mozilla"/>
697        </condition>
698        <condition property="browser" value="/usr/local/mozilla/mozilla">
699            <available file="/usr/local/mozilla/mozilla"/>
700        </condition>
701        <condition property="browser" value="/usr/sfw/lib/firefox/firefox">
702            <available file="/usr/sfw/lib/firefox/firefox"/>
703        </condition>
704        <condition property="browser" value="/opt/csw/bin/firefox">
705            <available file="/opt/csw/bin/firefox"/>
706        </condition>
707        <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
708            <available file="/usr/sfw/lib/mozilla/mozilla"/>
709        </condition>
710        <condition property="browser" value="/opt/csw/bin/mozilla">
711            <available file="/opt/csw/bin/mozilla"/>
712        </condition>
713    </target>
714    <target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
715        <fail unless="browser">
716                    Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
717                </fail>
718        <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
719        <echo>Launching ${browse.url}</echo>
720        <exec executable="${browser}" spawn="true">
721            <arg line="${browser.args} ${browse.url}"/>
722        </exec>
723    </target>
724    <target depends="init,-init-cos,compile-single" name="run-main">
725        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
726        <webproject1:java classname="${run.class}"/>
727    </target>
728    <target depends="init,compile-test-single,-pre-test-run-single" name="run-test-with-main">
729        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
730        <webproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
731    </target>
732    <!--
733                DEBUGGING SECTION
734            -->
735    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" description="Debug project in IDE." if="netbeans.home" name="debug">
736        <nbstartserver debugmode="true"/>
737        <antcall target="connect-debugger"/>
738        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/>
739        <antcall target="debug-display-browser"/>
740        <antcall target="connect-client-debugger"/>
741    </target>
742    <target if="do.debug.server" name="connect-debugger" unless="is.debugged">
743        <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
744            <classpath>
745                <path path="${debug.classpath}:${j2ee.platform.classpath}"/>
746            </classpath>
747            <sourcepath>
748                <path path="${web.docbase.dir}"/>
749            </sourcepath>
750        </nbjpdaconnect>
751    </target>
752    <target if="do.display.browser.debug" name="debug-display-browser">
753        <nbbrowse url="${client.url}"/>
754    </target>
755    <target if="do.debug.client" name="connect-client-debugger">
756        <webproject1:nbjsdebugstart webUrl="${client.url}"/>
757    </target>
758    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
759        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
760        <webproject1:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
761    </target>
762    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
763    <target depends="init,compile,compile-jsps,-do-compile-single-jsp,debug" if="netbeans.home" name="debug-single"/>
764    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
765        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
766    </target>
767    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
768        <webproject1:nbjpdastart name="${debug.class}"/>
769    </target>
770    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
771        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
772        <webproject1:debug classname="${debug.class}"/>
773    </target>
774    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
775    <target depends="init" name="-pre-debug-fix">
776        <fail unless="fix.includes">Must set fix.includes</fail>
777        <property name="javac.includes" value="${fix.includes}.java"/>
778    </target>
779    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
780        <webproject1:nbjpdareload/>
781    </target>
782    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
783    <!--
784                JAVADOC SECTION
785            -->
786    <target depends="init" name="javadoc-build">
787        <mkdir dir="${dist.javadoc.dir}"/>
788        <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}">
789            <classpath>
790                <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
791            </classpath>
792            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
793                <filename name="**/*.java"/>
794            </fileset>
795            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
796                <include name="**/*.java"/>
797            </fileset>
798        </javadoc>
799    </target>
800    <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
801        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
802    </target>
803    <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
804    <!--
805                
806                JUNIT COMPILATION SECTION
807            -->
808    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
809        <mkdir dir="${build.test.classes.dir}"/>
810        <property name="j2ee.platform.embeddableejb.classpath" value=""/>
811    </target>
812    <target name="-pre-compile-test">
813        <!-- Empty placeholder for easier customization. -->
814        <!-- You can override this target in the ../build.xml file. -->
815    </target>
816    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
817        <webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
818        <copy todir="${build.test.classes.dir}">
819            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
820        </copy>
821    </target>
822    <target name="-post-compile-test">
823        <!-- Empty placeholder for easier customization. -->
824        <!-- You can override this target in the ../build.xml file. -->
825    </target>
826    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
827    <target name="-pre-compile-test-single">
828        <!-- Empty placeholder for easier customization. -->
829        <!-- You can override this target in the ../build.xml file. -->
830    </target>
831    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
832        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
833        <webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir="${test.src.dir}"/>
834        <copy todir="${build.test.classes.dir}">
835            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
836        </copy>
837    </target>
838    <target name="-post-compile-test-single">
839        <!-- Empty placeholder for easier customization. -->
840        <!-- You can override this target in the ../build.xml file. -->
841    </target>
842    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
843    <!--
844                
845                JUNIT EXECUTION SECTION
846            -->
847    <target depends="init" if="have.tests" name="-pre-test-run">
848        <mkdir dir="${build.test.results.dir}"/>
849    </target>
850    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
851        <webproject2:junit testincludes="**/*Test.java"/>
852    </target>
853    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
854        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
855    </target>
856    <target depends="init" if="have.tests" name="test-report"/>
857    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
858    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
859    <target depends="init" if="have.tests" name="-pre-test-run-single">
860

Large files files are truncated, but you can click here to view the full file