jvanzyl     2002/06/27 15:55:39

  Modified:    src/templates/build/plugins/jxr plugin.jelly
  Log:
  Jxr now works as a jelly plugin.
  
  Revision  Changes    Path
  1.2       +11 -3     
jakarta-turbine-maven/src/templates/build/plugins/jxr/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/jxr/plugin.jelly,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- plugin.jelly      26 Jun 2002 21:20:37 -0000      1.1
  +++ plugin.jelly      27 Jun 2002 22:55:39 -0000      1.2
  @@ -6,18 +6,26 @@
     <!-- C R O S S  R E F E R E N C E  S O U R C E S                        -->
     <!-- ================================================================== -->
   
  +  <taskdef
  +    name="jxr"
  +    classname="org.apache.maven.Jxr">
  +    <classpath refid="maven-classpath"/>
  +  </taskdef>
  +
     <goal
       name="jxr">
   
  -    <j:if test="${flags.sourcesPresent}">
  -    
  +    <j:if test="${sourcesPresent == 'true'}">
  +
  +    <mkdir dir="${maven.jxr.destdir}"/>
  +
       <!-- If the 'startDir' attribute changes we need to update
            CodeTransform.java in o.a.m.jxr, this will be fixed. -->
   
       <echo>${maven.sourcesPresent}</echo>
   
       <jxr
  -      sourcepathref="maven.src.set"
  +      sourcepath="${pom.build.sourceDirectory}"
         destDir="${maven.jxr.destdir}"
         javadocDir="${maven.javadoc.destdir}"
         imageFolder="${maven.home}/images/folder.gif"
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to