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/swt maven.xml project.xml
Date Tue, 21 Jan 2003 18:28:56 GMT
jstrachan    2003/01/21 10:28:56

  Modified:    jelly/jelly-tags/swt maven.xml project.xml
  Log:
  Moved the maven goals over from the main build to here.
  
  Revision  Changes    Path
  1.2       +19 -0     jakarta-commons-sandbox/jelly/jelly-tags/swt/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/swt/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	6 Jan 2003 16:40:35 -0000	1.1
  +++ maven.xml	21 Jan 2003 18:28:56 -0000	1.2
  @@ -1,3 +1,22 @@
   <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>
  +
  +	<!-- demos -->
  +  <goal name="demo" prereqs="create-classpath"
  +		description="Runs a JellySWT demo">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/tags/swt/example.jelly"/>
  +    </java>
  +  </goal>
  +
   </project>
  
  
  
  1.4       +9 -1      jakarta-commons-sandbox/jelly/jelly-tags/swt/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/swt/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	21 Jan 2003 03:56:56 -0000	1.3
  +++ project.xml	21 Jan 2003 18:28:56 -0000	1.4
  @@ -38,7 +38,7 @@
         <version>SNAPSHOT</version>
       </dependency>
     
  -	<!-- swt taglib -->
  +		<!-- swt taglib -->
       <dependency>
         <id>swt</id>
         
  @@ -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>
  
  
  

--
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