Skip to content

Commit 08f5aa3

Browse files
committed
New test-compile target
1 parent 595f10b commit 08f5aa3

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

build.xml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,6 @@ limitations under the License.
144144
<compilerarg value="-Xlint:all,-rawtypes"/>
145145
</javac>
146146

147-
<javac
148-
srcdir="src/test"
149-
destdir="${build.test.dir}"
150-
optimize="off"
151-
deprecation="off"
152-
source="${build.conf.javac.source}"
153-
encoding="ISO-8859-1"
154-
fork="true"
155-
debug="on"
156-
includeantruntime="false">
157-
<classpath refid="test.classpath"/>
158-
<compilerarg value="-Xlint:all,-rawtypes"/>
159-
</javac>
160-
161147
</target>
162148

163149
<!-- ******************************************************************* -->
@@ -281,7 +267,23 @@ limitations under the License.
281267
<!-- The test targets -->
282268
<!-- ******************************************************************* -->
283269

284-
<target name="test" depends="compile">
270+
<target name="test-compile" depends="compile">
271+
<javac
272+
srcdir="src/test"
273+
destdir="${build.test.dir}"
274+
optimize="off"
275+
deprecation="off"
276+
source="${build.conf.javac.source}"
277+
encoding="ISO-8859-1"
278+
fork="true"
279+
debug="on"
280+
includeantruntime="false">
281+
<classpath refid="test.classpath"/>
282+
<compilerarg value="-Xlint:all,-rawtypes"/>
283+
</javac>
284+
</target>
285+
286+
<target name="test" depends="test-compile">
285287

286288
<testng classpathref="${test.classpath}" outputdir="${test.dir}" listeners="com.mongodb.util.TestNGListener" haltonfailure="false" verbose="1" >
287289
<jvmarg value="-Xmx512M" />

0 commit comments

Comments
 (0)