maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-turbine-maven/src/plugins-build/xdoc plugin.jelly
Date Wed, 11 Dec 2002 16:59:11 GMT
jstrachan    2002/12/11 08:59:11

  Modified:    src/plugins-build/xdoc plugin.jelly
  Log:
  Patch to enable JSL by default in the xdoc pluging.
  
  To enable DVSL builds set the following property
  
  	maven.xdoc.useDVSL=true
  
  Revision  Changes    Path
  1.29      +11 -8     jakarta-turbine-maven/src/plugins-build/xdoc/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/plugin.jelly,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- plugin.jelly	11 Dec 2002 16:45:59 -0000	1.28
  +++ plugin.jelly	11 Dec 2002 16:59:10 -0000	1.29
  @@ -313,15 +313,9 @@
       -->
   
   		<j:choose>
  -			<j:when test="${maven.xdoc.useJSL}">
  -				<echo>Using Jelly to create the documentation</echo>
  +			<j:when test="${maven.xdoc.useDVSL}">
   				
  -				<!-- use JSL in Jelly to build the documenation -->
  -				<attainGoal name="xdoc:copy-resources" />
  -				<attainGoal name="xdoc:copy-user-resources" />
  -				<attainGoal name="xdoc:jelly-transform" />
  -			</j:when>
  -			<j:otherwise>
  +				<echo>Using DVSL to create the documentation</echo>
   				
   				<!-- use DVSL to build the documentation -->
   				<attainGoal name="init-dvsl-tag" />
  @@ -330,6 +324,15 @@
   				<!-- allow user overrides and extra docs/resources -->
   				<attainGoal name="xdoc:transform-user-docs" />
   				<attainGoal name="xdoc:copy-user-resources" />
  +			</j:when>
  +			<j:otherwise>
  +				
  +				<echo>Using Jelly to create the documentation</echo>
  +				
  +				<!-- use JSL in Jelly to build the documenation -->
  +				<attainGoal name="xdoc:copy-resources" />
  +				<attainGoal name="xdoc:copy-user-resources" />
  +				<attainGoal name="xdoc:jelly-transform" />
   			</j:otherwise>
   		</j:choose>
   			
  
  
  

Mime
View raw message