jstrachan 2003/01/14 10:43:41
Modified: jelly/jelly-tags/html project.xml maven.xml
Log:
fixed the build so that the simple html to pda script works
Revision Changes Path
1.7 +15 -1 jakarta-commons-sandbox/jelly/jelly-tags/html/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/html/project.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- project.xml 7 Jan 2003 03:39:11 -0000 1.6
+++ project.xml 14 Jan 2003 18:43:41 -0000 1.7
@@ -39,7 +39,21 @@
<version>0.7.1</version>
</dependency>
- <!-- END for compilation -->
+
+ <!-- START for running demos -->
+
+ <dependency>
+ <id>commons-cli</id>
+ <version>SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <id>commons-jelly+tags-jsl</id>
+ <version>SNAPSHOT</version>
+ </dependency>
+
+ <!-- END for running demos -->
+
</dependencies>
1.3 +20 -0 jakarta-commons-sandbox/jelly/jelly-tags/html/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/html/maven.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- maven.xml 5 Jan 2003 07:42:19 -0000 1.2
+++ maven.xml 14 Jan 2003 18:43:41 -0000 1.3
@@ -1,3 +1,23 @@
<project default="java:jar">
+ <!-- define jelly task -->
+
+ <goal name="set-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>
+
+ <goal name="demo:radio2pda" prereqs="set-classpath"
+ description="Converts the HTML news output of Radio Userland to simple HTML
viewable on a PDA">
+ <java classname="org.apache.commons.jelly.Jelly" fork="yes">
+ <classpath refid="test.classpath"/>
+ <arg value="src/test/org/apache/commons/jelly/html/radioToPDA.jelly"/>
+ <sysproperty key="outputFile" value="${pdaOutputFile}"/>
+ </java>
+ </goal>
+
</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>