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/jelly-tags/junit project.xml maven.xml
Date Tue, 21 Jan 2003 18:10:03 GMT
jstrachan    2003/01/21 10:10:03

  Modified:    jelly/jelly-tags/junit project.xml maven.xml
  Log:
  Moved the maven goals over from the main build to here.
  
  Revision  Changes    Path
  1.3       +9 -1      jakarta-commons-sandbox/jelly/jelly-tags/junit/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/junit/project.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.xml	21 Jan 2003 03:56:55 -0000	1.2
  +++ project.xml	21 Jan 2003 18:10:02 -0000	1.3
  @@ -5,7 +5,7 @@
       BRITTLE! cannot explicitly include 'file:' protocol below or Maven will
       not run this script outside of the base directory
     -->
  -  <!ENTITY commonDeps SYSTEM "../../commonDependencies.ent">
  +  <!ENTITY commonDeps SYSTEM "file:../../commonDependencies.ent">
   ]>
   <project>
     <extend>${basedir}/../tag-project.xml</extend>
  @@ -48,6 +48,14 @@
         
       <!-- END for compilation -->
       
  +    <!-- START for running demos -->
  +
  +    <dependency>
  +      <id>commons-cli</id>
  +      <version>SNAPSHOT</version>
  +    </dependency>
  +    	
  +    <!-- END for running demos -->
     </dependencies>
     
   </project>
  
  
  
  1.2       +20 -0     jakarta-commons-sandbox/jelly/jelly-tags/junit/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/junit/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	19 Jan 2003 06:15:39 -0000	1.1
  +++ maven.xml	21 Jan 2003 18:10:02 -0000	1.2
  @@ -1,3 +1,23 @@
   <project default="java:jar">
   
  +  <!-- define the classpath used to run examples -->
  +  <goal name="create-classpath" prereqs="java:compile,test:compile">
  +		<path id="test.classpath">
  +			<pathelement path="${maven.build.dest}"/>
  +			<pathelement path="target/classes"/>
  +			<pathelement path="target/test-classes"/>
  +			<path refid="maven.dependency.classpath"/>
  +		</path>
  +  </goal>
  +
  +	<!-- demo -->
  +  <goal name="demo" prereqs="create-classpath"
  +		description="Runs a sample JUnit test suite via Jelly">
  +
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/tags/junit/runSuite.jelly"/>
  +    </java>
  +  </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