You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/02/22 00:39:17 UTC
svn commit: r379625 - /maven/maven-1/plugins/trunk/java/plugin.jelly
Author: ltheussl
Date: Tue Feb 21 15:39:16 2006
New Revision: 379625
URL: http://svn.apache.org/viewcvs?rev=379625&view=rev
Log:
This doesn't work during bootstrap as javacc is not built yet.
Modified:
maven/maven-1/plugins/trunk/java/plugin.jelly
Modified: maven/maven-1/plugins/trunk/java/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/java/plugin.jelly?rev=379625&r1=379624&r2=379625&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/java/plugin.jelly Tue Feb 21 15:39:16 2006
@@ -43,14 +43,17 @@
description="Compile the project"
prereqs="java:prepare-filesystem">
- <maven:get var="generatedSources" plugin="maven-javacc-plugin" property="maven.gen.src" />
- <ant:available
- property="generatedSourcesPresent"
- file="${generatedSources}"/>
+ <j:set var="generatedSourcesPresent" value="false"/>
+ <j:if test="${bootstrapping == null}">
+ <maven:get var="generatedSources" plugin="maven-javacc-plugin" property="maven.gen.src" />
+ <ant:available
+ property="generatedSourcesPresent"
+ file="${generatedSources}"/>
- <j:if test="${generatedSourcesPresent}">
- <ant:path id="maven.generated.src.set" location="${generatedSources}"/>
- <maven:addPath id="maven.compile.src.set" refid="maven.generated.src.set"/>
+ <j:if test="${generatedSourcesPresent}">
+ <ant:path id="maven.generated.src.set" location="${generatedSources}"/>
+ <maven:addPath id="maven.compile.src.set" refid="maven.generated.src.set"/>
+ </j:if>
</j:if>
<j:choose>