commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly maven.xml
Date Mon, 15 Jul 2002 11:39:50 GMT
jstrachan    2002/07/15 04:39:50

  Modified:    jelly    maven.xml
  Log:
  Now using patched version of dom4j so that we output namespace declarations on static content
in a Jelly script.
  This should fix dIon's recent issue with SOAP namespaces.
  
  Revision  Changes    Path
  1.11      +34 -27    jakarta-commons-sandbox/jelly/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/maven.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- maven.xml	14 Jul 2002 11:51:29 -0000	1.10
  +++ maven.xml	15 Jul 2002 11:39:50 -0000	1.11
  @@ -1,5 +1,19 @@
   <project default="java:jar" xmlns:j="jelly:core">
   
  +  <!-- define jelly task -->	
  +  <goal name="jelly-task" prereqs="java:compile">
  +	<path id="test.classpath">
  +	    <pathelement path="${maven.build.dest}"/>
  +	    <pathelement path="target/classes"/>
  +	    <path refid="maven.dependency.classpath"/>
  +	</path>
  +	  
  +    <taskdef
  +      name="jelly"
  +      classname="org.apache.commons.jelly.task.JellyTask">
  +      <classpath refid="test.classpath"/>
  +    </taskdef>    
  +  </goal>
   
     <!-- runs the XML doclet -->  
     <goal name="xml-doclet" prereqs="java:compile">
  @@ -31,34 +45,15 @@
         docletpathref="doclet.classpath">
       </javadoc>
     </goal>
  -  
  -  <!-- creates the XML webpage from the tag XML information -->    
  -  <goal name="doc-tags" prereqs="tag-doclet" 
  -  description="Generates the tag documentation">
  -  
  -    <mkdir dir="target/generated-xdocs"/>
  -
  -    <path id="test.classpath">
  -      <pathelement path="${maven.build.dest}"/>
  -      <pathelement path="target/classes"/>
  -      <path refid="maven.dependency.classpath"/>
  -    </path>
  -    
  -    <taskdef
  -      name="jelly"
  -      classname="org.apache.commons.jelly.task.JellyTask">
  -      <classpath refid="test.classpath"/>
  -    </taskdef>    
  -      
  -<!--  
  -  <j:file name="target/generated-xdocs/tags.xml">
  -    <j:include uri="src/script/makeTagDoc.jelly"/>
  -  </j:file>
  --->
  +	
  +  <!-- creates the XML webpage from the tag XML information -->		
  +  <goal name="doc-tags" prereqs="tag-doclet, jelly-task" 
  +	description="Generates the tag documentation">
  +	
  +	<mkdir dir="target/generated-xdocs"/>
   
  -    <jelly file="src/script/makeTagDoc.jelly" 
  -      output="target/generated-xdocs/tags.xml"/> 
  -  
  +	<jelly file="src/script/makeTagDoc.jelly" 
  +		   output="target/generated-xdocs/tags.xml"/> 
     </goal>
   
   
  @@ -105,6 +100,18 @@
               file="${maven.build.dir}/${maven.final.name}.jar"/>
     </preGoal>
   
  +
  +  <goal name="demo:soap" prereqs="jelly-task" 
  +	description="Runs the example SOAP demo">
  +	
  +	<jelly file="src/test/org/apache/commons/jelly/define/example.jelly"/> 
  +  </goal>
  +
  +  <goal name="demo:static" prereqs="jelly-task" 
  +	description="Outputs some static XML">
  +	
  +	<jelly file="src/test/org/apache/commons/jelly/testStatic.jelly"/> 
  +  </goal>
   
             
   </project>
  
  
  

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


Mime
View raw message