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/define project.xml maven.xml
Date Tue, 21 Jan 2003 19:01:51 GMT
jstrachan    2003/01/21 11:01:51

  Modified:    jelly/jelly-tags/define project.xml maven.xml
  Log:
  Moved the maven goals over from the main build to here.
  
  Revision  Changes    Path
  1.5       +9 -0      jakarta-commons-sandbox/jelly/jelly-tags/define/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/define/project.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- project.xml	21 Jan 2003 03:56:56 -0000	1.4
  +++ project.xml	21 Jan 2003 19:01:51 -0000	1.5
  @@ -70,6 +70,15 @@
         
       <!-- END for test -->
       
  +    <!-- START for running demos -->
  +
  +    <dependency>
  +      <id>commons-cli</id>
  +      <version>SNAPSHOT</version>
  +    </dependency>
  +    
  +    <!-- END for running demos -->
  +    
     </dependencies>
     
   </project>
  
  
  
  1.2       +30 -0     jakarta-commons-sandbox/jelly/jelly-tags/define/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/define/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	15 Jan 2003 14:58:05 -0000	1.1
  +++ maven.xml	21 Jan 2003 19:01:51 -0000	1.2
  @@ -1,3 +1,33 @@
   <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>
  +  
  +  <!-- some examples -->
  +  <goal name="demo:bean" prereqs="create-classpath"
  +		description="Runs the example of binding beans to tags">
  +
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/tags/define/beanSample.jelly"/>
  +    </java>
  +  </goal>
  +
  +  <goal name="demo:jellybean" prereqs="create-classpath"
  +		description="Runs the example of binding jelly beans to tags">
  +
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/tags/define/jellyBeanSample.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