Lines 43-49
Link Here
|
43 |
<classpath> |
43 |
<classpath> |
44 |
<pathelement location="../ant/netbeans/modules/ant.jar"/> |
44 |
<pathelement location="../ant/netbeans/modules/ant.jar"/> |
45 |
<!-- Currently automatically in classpath, but a future Ant may change that: --> |
45 |
<!-- Currently automatically in classpath, but a future Ant may change that: --> |
46 |
<pathelement location="${binroot}/ant/release/modules/ext/ant.jar"/> |
46 |
<pathelement location="../ant/release/modules/ext/ant.jar"/> |
47 |
<fileset dir="../openide/netbeans/lib"> |
47 |
<fileset dir="../openide/netbeans/lib"> |
48 |
<include name="openide*.jar" /> |
48 |
<include name="openide*.jar" /> |
49 |
</fileset> |
49 |
</fileset> |
Lines 110-120
Link Here
|
110 |
</makenbm> |
110 |
</makenbm> |
111 |
</target> |
111 |
</target> |
112 |
|
112 |
|
113 |
<target name="test" depends="compile,javahelp"> |
113 |
<target name="test-lite"> |
114 |
<ant dir="lite" target="compile"/> |
114 |
<ant dir="lite" target="compile"/> |
|
|
115 |
<filter token="BUILD_NUMBER_SUBST" value="testing"/> |
116 |
<copy file="apisupport-lite.mf" tofile="apisupport-lite-subst.mf" filtering="on"/> |
115 |
<mkdir dir="test"/> |
117 |
<mkdir dir="test"/> |
|
|
118 |
<jar jarfile="test/apisupport-lite.jar" |
119 |
manifest="apisupport-lite-subst.mf" |
120 |
compress="false"> |
121 |
<fileset dir="src" excludesfile="../nbbuild/standard-jar-excludes.txt"> |
122 |
<include name="org/netbeans/modules/apisupport/lite/"/> |
123 |
</fileset> |
124 |
</jar> |
125 |
<nbinstaller module="test/apisupport-lite.jar" action="reinstall"/> |
126 |
</target> |
127 |
<target name="test-main" depends="compile,javahelp"> |
116 |
<filter token="BUILD_NUMBER_SUBST" value="testing"/> |
128 |
<filter token="BUILD_NUMBER_SUBST" value="testing"/> |
117 |
<copy file="manifest.mf" tofile="manifest-subst.mf" filtering="on"/> |
129 |
<copy file="manifest.mf" tofile="manifest-subst.mf" filtering="on"/> |
|
|
130 |
<mkdir dir="test"/> |
118 |
<jar jarfile="test/apisupport.jar" |
131 |
<jar jarfile="test/apisupport.jar" |
119 |
manifest="manifest-subst.mf" |
132 |
manifest="manifest-subst.mf" |
120 |
compress="false"> |
133 |
compress="false"> |
Lines 125-131
Link Here
|
125 |
</fileset> |
138 |
</fileset> |
126 |
<fileset dir="javahelp" excludesfile="../nbbuild/standard-jar-excludes.txt"/> |
139 |
<fileset dir="javahelp" excludesfile="../nbbuild/standard-jar-excludes.txt"/> |
127 |
</jar> |
140 |
</jar> |
|
|
141 |
<nbinstaller module="test/apisupport.jar" action="reinstall"/> |
142 |
</target> |
143 |
<target name="test-ant" depends="compile"> |
144 |
<filter token="BUILD_NUMBER_SUBST" value="testing"/> |
128 |
<copy file="apisupport-ant.mf" tofile="apisupport-ant-subst.mf" filtering="on"/> |
145 |
<copy file="apisupport-ant.mf" tofile="apisupport-ant-subst.mf" filtering="on"/> |
|
|
146 |
<mkdir dir="test"/> |
129 |
<jar jarfile="test/apisupport-ant.jar" |
147 |
<jar jarfile="test/apisupport-ant.jar" |
130 |
manifest="apisupport-ant-subst.mf" |
148 |
manifest="apisupport-ant-subst.mf" |
131 |
compress="false"> |
149 |
compress="false"> |
Lines 133-151
Link Here
|
133 |
<include name="org/netbeans/modules/apisupport/ant/"/> |
151 |
<include name="org/netbeans/modules/apisupport/ant/"/> |
134 |
</fileset> |
152 |
</fileset> |
135 |
</jar> |
153 |
</jar> |
136 |
<copy file="apisupport-lite.mf" tofile="apisupport-lite-subst.mf" filtering="on"/> |
|
|
137 |
<jar jarfile="test/apisupport-lite.jar" |
138 |
manifest="apisupport-lite-subst.mf" |
139 |
compress="false"> |
140 |
<fileset dir="src" excludesfile="../nbbuild/standard-jar-excludes.txt"> |
141 |
<include name="org/netbeans/modules/apisupport/lite/"/> |
142 |
</fileset> |
143 |
</jar> |
144 |
<!-- Will not work the first time, must be manually primed. Bummer. --> |
145 |
<nbinstaller module="test/apisupport-lite.jar" action="reinstall"/> |
146 |
<nbinstaller module="test/apisupport.jar" action="reinstall"/> |
147 |
<nbinstaller module="test/apisupport-ant.jar" action="reinstall"/> |
154 |
<nbinstaller module="test/apisupport-ant.jar" action="reinstall"/> |
148 |
</target> |
155 |
</target> |
|
|
156 |
<target name="test-everything" depends="test-lite,test-main,test-ant"/> |
149 |
|
157 |
|
150 |
<target name="clean"> |
158 |
<target name="clean"> |
151 |
<delete> |
159 |
<delete> |
Lines 160-165
Link Here
|
160 |
<delete file="apisupport.nbm"/> |
168 |
<delete file="apisupport.nbm"/> |
161 |
<delete dir="netbeans"/> |
169 |
<delete dir="netbeans"/> |
162 |
<delete dir="Info"/> |
170 |
<delete dir="Info"/> |
|
|
171 |
</target> |
172 |
|
173 |
<target name="real-clean" depends="clean"> |
163 |
<delete dir="test"/> |
174 |
<delete dir="test"/> |
164 |
</target> |
175 |
</target> |
165 |
|
176 |
|