You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2003/02/08 20:29:10 UTC

cvs commit: jakarta-commons/jelly/xdocs navigation.xml

jstrachan    2003/02/08 11:29:10

  Modified:    jelly    maven.xml
               jelly/xdocs navigation.xml
  Log:
  patches to get the website generation working. It does tend to run out of RAM - I found it needs to be about 400Mb! Clearly somethings a bit amis in Maven/reactor somewhere. Will investigate further.
  
  Revision  Changes    Path
  1.61      +33 -3     jakarta-commons/jelly/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/maven.xml,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- maven.xml	7 Feb 2003 17:16:37 -0000	1.60
  +++ maven.xml	8 Feb 2003 19:29:10 -0000	1.61
  @@ -128,7 +128,7 @@
     <!-- ===================================================================== -->
     <!-- GENERATE THE LIBRARY AND JELLYDOC DOCUMENTATION                       -->
     <!-- ===================================================================== -->
  -  <preGoal name="site">
  +  <preGoal name="xdoc:transform">
     	<!-- use a template to create the plugins home page
     		 if it's an xdoc, it must be done before xdoc:transform
     		 and should generate to ${maven.gen.docs}/libs/index.xml
  @@ -161,7 +161,8 @@
                <j:forEach items="${pluginProjects.iterator()}" var="plugin">
                  <j:set var="pluginName" value="${plugin.parentFile.name}" />
                  <li>
  -                 <a href="./${pluginName}/index.html">${pluginName}</a>
  +                 <a href="./${pluginName}/index.html">${pluginName}</a> :
  +                 <a href="./${pluginName}/tags.html">tags</a> 
                  </li>
                </j:forEach>
               </ul>
  @@ -169,14 +170,42 @@
           </body>
         </document>
       </j:file>
  +  </preGoal>
   
  +  <preGoal name="xdoc">
   		<maven:reactor
   			basedir="${basedir}"
   			includes="jelly-tags/*/project.xml"
  -			goals="jellydoc,site"
  +			goals="jellydoc,maven-jdepend-plugin:report,maven-javadoc-plugin:report,maven-junit-report-plugin:report,maven-changelog-plugin:report,xdoc:transform"
  +			banner="Generating jellydoc for"
  +			ignoreFailures="false"
  +		/>
  +
  +	<!--		
  +        <attainGoal name="maven-checkstyle-plugin:report"/>
  +        <attainGoal name="maven-changelog-plugin:report"/>
  +        <attainGoal name="maven-developer-activity-plugin:report"/>
  +        <attainGoal name="maven-file-activity-plugin:report"/>
  +        <attainGoal name="maven-junit-report-plugin:report"/>
  +        <attainGoal name="maven-linkcheck-plugin:report"/>
  +        <attainGoal name="maven-tasklist-plugin:report"/>		
  +	-->        
  +        
  +	<!--        
  +		This runs out of memory - have a feeling its the velocity & xdoc plugin
  +		
  +		<maven:reactor
  +			basedir="${basedir}"
  +			includes="jelly-tags/*/project.xml"
  +			goals="site"
   			banner="Generating site for"
   			ignoreFailures="false"
   		/>
  +		-->
  +		
  +		<j:if test="${context.getVariable('maven.docs.dest') == null}">
  +			<j:set var="maven.docs.dest" value="target/docs"/>
  +		</j:if>
   		
   		<!-- create the parent directory for the docs -->
   		<mkdir dir="${maven.docs.dest}/libs" />
  @@ -187,6 +216,7 @@
   				<include name="jelly-tags/*/project.xml" />
   			</fileset>
   		</fileScanner>
  +		
   		<j:forEach items="${pluginProjects.iterator()}" var="plugin">
   			<j:set var="pluginName" value="${plugin.parentFile.name}" />
   			<mkdir dir="${maven.docs.dest}/libs/${pluginName}/" />
  
  
  
  1.19      +2 -1      jakarta-commons/jelly/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/xdocs/navigation.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- navigation.xml	18 Dec 2002 15:27:50 -0000	1.18
  +++ navigation.xml	8 Feb 2003 19:29:10 -0000	1.19
  @@ -24,7 +24,8 @@
         <item name="JellySwing"              href="/jellyswing.html"/>
         <item name="JellySWT"                href="/jellyswt.html"/>
         <item name="XML Pipeline"            href="/pipeline.html"/>
  -      <item name="Tag Reference"           href="/tags.html"/>
  +      <item name="Core Tags"               href="/tags.html"/>
  +      <item name="Tag Libraries"           href="/libs/index.html"/>
       </menu>
       
       <menu name="Jakarta Community">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org