dain 2003/08/11 11:29:14
Modified: . maven.xml
Log:
Added back the run goal that James added, and cleaned it up. Geronimo can
now be started directly.
Revision Changes Path
1.4 +17 -0 incubator-geronimo/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/incubator-geronimo/maven.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- maven.xml 11 Aug 2003 17:59:08 -0000 1.3
+++ maven.xml 11 Aug 2003 18:29:14 -0000 1.4
@@ -7,4 +7,21 @@
<attainGoal name="html2xdoc"/>
<attainGoal name="faq"/>
</preGoal>
+
+ <goal name="run" prereqs="set.classpath"
+ description="Runs the Geronimo Server using the current build">
+ <java classname="org.apache.geronimo.Main" fork="yes">
+ <classpath refid="test.classpath"/>
+ </java>
+ </goal>
+
+ <goal name="set.classpath" prereqs="java:compile, test:compile"
+ description="Sets up the classpath for running things">
+ <path id="test.classpath">
+ <pathelement path="target/test-classes"/>
+ <pathelement path="modules/core/src/conf/"/>
+ <pathelement path="${maven.build.dest}"/>
+ <path refid="maven.dependency.classpath"/>
+ </path>
+ </goal>
</project>