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 2002/09/17 17:31:04 UTC

cvs commit: jakarta-commons-sandbox/jelly maven.xml

jstrachan    2002/09/17 08:31:04

  Modified:    jelly    maven.xml
  Added:       jelly/src/test/org/apache/commons/jelly jellyunit.jelly
  Log:
  Added a sample test case to demonstrate the new <test:run> behaviour.
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/jellyunit.jelly
  
  Index: jellyunit.jelly
  ===================================================================
  <?xml version="1.0"?>
  <j:jelly xmlns:j="jelly:core" xmlns:test="jelly:junit">
  
    <!-- try an absolute path -->
    <j:include uri="/src/test/org/apache/commons/jelly/junit/suite.jelly"/>
  
  	<test:run/>  
  </j:jelly>
  
  
  1.31      +8 -0      jakarta-commons-sandbox/jelly/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/maven.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- maven.xml	23 Aug 2002 10:25:25 -0000	1.30
  +++ maven.xml	17 Sep 2002 15:31:04 -0000	1.31
  @@ -439,4 +439,12 @@
     </goal>
   
       	          
  +  <goal name="demo:jellyunit" prereqs="jelly-task"
  +    description="Runs the JellyUnit test cases using Jelly (rather than as part of the Maven/Ant junit task)">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/jellyunit.jelly"/> 
  +    </java>
  +  </goal>
  +	
   </project>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>