gentoo/dev-java/java-service-wrapper/files/java-service-wrapper-3.2.3-build.xml.patch
Robin H. Johnson 56bd759df1
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.

This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.

Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
2015-08-08 17:38:18 -07:00

54 lines
2.1 KiB
Diff

--- build.xml 2008-02-24 20:10:00.000000000 +1300
+++ build.xml 2008-02-24 20:17:10.000000000 +1300
@@ -397,16 +397,6 @@
<classpath refid="project.class.path"/>
</javac>
- <!-- compile everything under src/test -->
- <javac srcdir="${src.dir}/test" destdir="${build.testclasses}"
- deprecation="on"
- debug="on"
- optimize="on"
- source="${javac.target.version}"
- target="${javac.target.version}">
- <classpath refid="test.class.path"/>
- </javac>
-
<!-- copy resource files to build directory -->
<copy todir="${build.classes}" >
<fileset dir="${src.dir}/java" >
@@ -430,6 +420,24 @@
<class name="org.tanukisoftware.wrapper.WrapperManager"/>
</javah>
</target>
+
+ <target name="compile-test" depends="compile-java-warn">
+ <!-- compile everything under src/test -->
+ <javac srcdir="${src.dir}/test" destdir="${build.testclasses}"
+ deprecation="on"
+ debug="on"
+ optimize="on"
+ source="${javac.target.version}"
+ target="${javac.target.version}">
+ <classpath refid="test.class.path"/>
+ <classpath>
+ <fileset dir="lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </classpath>
+ </javac>
+ </target>
+
<target name="msvc-missing" depends="init:msg" if="msvc.missing">
<condition property="msvc.home.v8_c" value="${msvc.home.v8_64_c}">
<equals arg1="${bits}" arg2="64"/>
@@ -636,7 +644,7 @@
<!-- =================================================================== -->
<!-- Test Task -->
<!-- =================================================================== -->
- <target name="test" depends="jar" description="Runs unit tests">
+ <target name="test" depends="compile-test,jar" description="Runs unit tests">
<mkdir dir="${build.tests}"/>
<junit fork="true"