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/20 23:23:52 UTC

svn commit: r379258 - /maven/maven-1/plugins/trunk/jxr/plugin.jelly

Author: ltheussl
Date: Mon Feb 20 14:23:49 2006
New Revision: 379258

URL: http://svn.apache.org/viewcvs?rev=379258&view=rev
Log:
Don't use dots in comparators: doesn't work with maven 1.0

Modified:
    maven/maven-1/plugins/trunk/jxr/plugin.jelly

Modified: maven/maven-1/plugins/trunk/jxr/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jxr/plugin.jelly?rev=379258&r1=379257&r2=379258&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jxr/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/jxr/plugin.jelly Mon Feb 20 14:23:49 2006
@@ -44,7 +44,8 @@
         target="_blank"
         description="A set of browsable cross-referenced sources."/>
     </j:if>
-    <j:if test="${unitTestSourcesPresent and maven.jxr.include.testXref == 'true'}">
+    <j:set var="testXref" value="${maven.jxr.include.testXref}" />
+    <j:if test="${unitTestSourcesPresent and testXref == 'true'}">
       <doc:registerReport 
           name="Test Xref" 
           pluginName="maven-jxr-plugin" 
@@ -99,7 +100,8 @@
 
       <util:tokenize var="sources_dirs" delim="${path.separator}">${pom.build.sourceDirectory}</util:tokenize>
       <maven:get var="maven.compile.src.set" plugin="maven-java-plugin" property="maven.compile.src.set"/>
-      <j:if test="${maven.compile.src.set != '' and maven.compile.src.set != null}">
+      <j:set var="srcSet" value="${maven.compile.src.set}" />
+      <j:if test="${srcSet != '' and srcSet != null}">
         <util:tokenize var="sources_dirs" delim="${path.separator}">${maven.compile.src.set}</util:tokenize>
       </j:if>
 
@@ -115,7 +117,8 @@
         bottom="${copyright}">
       </jxr:jxr>
 
-      <j:if test="${unitTestSourcesPresent == 'true' and maven.jxr.include.testXref == 'true'}">
+      <j:set var="testXref" value="${maven.jxr.include.testXref}" />
+      <j:if test="${unitTestSourcesPresent == 'true' and testXref == 'true'}">
         <ant:mkdir dir="${maven.jxr.destdir.test}"/>
     
         <ant:copy file="${maven.jxr.stylesheet}"