You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/05/12 12:50:34 UTC
cvs commit: maven/src/conf driver.jelly
brett 2004/05/12 03:50:34
Modified: src/conf Tag: MAVEN-1_0-BRANCH driver.jelly
Log:
always create the source set (empty by default)
avoids null pointer exception when generating source
Revision Changes Path
No revision
No revision
1.28.4.3 +4 -4 maven/src/conf/driver.jelly
Index: driver.jelly
===================================================================
RCS file: /home/cvs/maven/src/conf/driver.jelly,v
retrieving revision 1.28.4.2
retrieving revision 1.28.4.3
diff -u -r1.28.4.2 -r1.28.4.3
--- driver.jelly 4 Mar 2004 17:47:31 -0000 1.28.4.2
+++ driver.jelly 12 May 2004 10:50:34 -0000 1.28.4.3
@@ -49,15 +49,15 @@
<ant:fileset dir="${maven.home}/lib"/>
</ant:path>
- <j:if test="${sourcesPresent == 'true'}">
+ <ant:path id="maven.compile.src.set">
+ <j:if test="${sourcesPresent == 'true'}">
<!--
| FIXME: It would be nice for other plugins to have the source available
| as a fileset
|-->
- <ant:path id="maven.compile.src.set">
<ant:pathelement location="${pom.build.sourceDirectory}"/>
- </ant:path>
- </j:if>
+ </j:if>
+ </ant:path>
<j:if test="${unitTestSourcesPresent == 'true'}">
<ant:path id="maven.test.compile.src.set">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org