annotate nbproject/build-impl.xml @ 5:de1522a9d4bc

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