[pkg-java] r3571 - trunk/maven-ant-helper
trygvis-guest at alioth.debian.org
trygvis-guest at alioth.debian.org
Sun Jun 3 15:26:38 UTC 2007
Author: trygvis-guest
Date: 2007-06-03 15:26:38 +0000 (Sun, 03 Jun 2007)
New Revision: 3571
Modified:
trunk/maven-ant-helper/maven-build.xml
Log:
o Passing the basedir property to the junit run.
Modified: trunk/maven-ant-helper/maven-build.xml
===================================================================
--- trunk/maven-ant-helper/maven-build.xml 2007-06-03 15:24:31 UTC (rev 3570)
+++ trunk/maven-ant-helper/maven-build.xml 2007-06-03 15:26:38 UTC (rev 3571)
@@ -7,6 +7,7 @@
<fail unless="artifactId" message="Missing required property: artifactId"/>
<fail unless="version" message="Missing required property: version"/>
+ <fail unless="basedir" message="Missing required property: basedir"/>
<echo message="Compile classpath: ${classpath.full.compile}"/>
<echo message="Test classpath: ${classpath.full.test}"/>
@@ -69,6 +70,7 @@
<target name="test" depends="test-compile" unless="maven.test.skip">
<mkdir dir="${build.directory}/test-output"/>
<junit printsummary="yes" haltonfailure="no"> <!-- fork="yes" forkmode="once" -->
+ <sysproperty key="basedir" value="${basedir}"/>
<classpath>
<pathelement path="${classpath.full.test}"/>
</classpath>
More information about the pkg-java-commits
mailing list