You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2004/02/05 21:33:28 UTC
cvs commit: incubator-geronimo/modules/maven-xmlbeans-plugin plugin.jelly
djencks 2004/02/05 12:33:28
Modified: modules/maven-xmlbeans-plugin plugin.jelly
Log:
Make plugin work whether or not there are other source files
Revision Changes Path
1.2 +9 -4 incubator-geronimo/modules/maven-xmlbeans-plugin/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/maven-xmlbeans-plugin/plugin.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.jelly 2 Feb 2004 22:04:21 -0000 1.1
+++ plugin.jelly 5 Feb 2004 20:33:28 -0000 1.2
@@ -46,10 +46,15 @@
<touch file="${uptodateFile}"/>
</j:if>
- <ant:path id="maven.xmlbeans.compile.src.set"
- location="${targetdir}"/>
- <maven:addPath id="maven.compile.src.set"
- refid="maven.xmlbeans.compile.src.set"/>
+ <j:if test="${context.antProject.getReference('maven.compile.src.set') != null}">
+ <ant:path id="maven.xmlbeans.compile.src.set"
+ location="${targetdir}"/>
+ <maven:addPath id="maven.compile.src.set"
+ refid="maven.xmlbeans.compile.src.set"/>
+ </j:if>
+ <j:if test="${context.antProject.getReference('maven.compile.src.set') == null}">
+ <ant:path id="maven.compile.src.set" location="${targetdir}"/>
+ </j:if>
</j:jelly>