You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2002/12/08 19:07:41 UTC
cvs commit: jakarta-turbine-maven/src/conf driver.jelly
jvanzyl 2002/12/08 10:07:41
Modified: src/conf driver.jelly
Log:
o Aligning the use of source sets for tests and application code.
Currently it is possible to modify the path that the compiler picks
up by using the <maven:addPath/> tag and path reference, but you cannot
do this with the test sources. The suggestion came from Joe Walnes who
uses MockMaker to generate test sources so we need the same method available
that the Antlr plugin uses to compile generated sources.
Revision Changes Path
1.4 +10 -2 jakarta-turbine-maven/src/conf/driver.jelly
Index: driver.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/conf/driver.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- driver.jelly 7 Dec 2002 02:19:08 -0000 1.3
+++ driver.jelly 8 Dec 2002 18:07:41 -0000 1.4
@@ -78,7 +78,8 @@
<!-- Allow a hook for processing around the build start. -->
- <goal name="build:start"/>
+ <goal name="build:start">
+ </goal>
<!-- ================================================================== -->
<!-- D R I V E R I N I T I A L I Z A T I O N -->
@@ -113,7 +114,14 @@
</path>
</j:if>
- <goal name="build:end"/>
+ <j:if test="${unitTestSourcesPresent == 'true'}">
+ <path id="maven.test.compile.src.set">
+ <pathelement location="${pom.build.unitTestSourceDirectory}"/>
+ </path>
+ </j:if>
+
+ <goal name="build:end">
+ </goal>
</project>