forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From che...@apache.org
Subject svn commit: r109807 - /forrest/trunk/tools/targets/maven.xml
Date Sat, 04 Dec 2004 15:42:44 GMT
Author: cheche
Date: Sat Dec  4 07:42:43 2004
New Revision: 109807

URL: http://svn.apache.org/viewcvs?view=rev&rev=109807
Log:
Example of forrest within maven

Added:
   forrest/trunk/tools/targets/maven.xml

Added: forrest/trunk/tools/targets/maven.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/tools/targets/maven.xml?view=auto&rev=109807
==============================================================================
--- (empty file)
+++ forrest/trunk/tools/targets/maven.xml	Sat Dec  4 07:42:43 2004
@@ -0,0 +1,41 @@
+<!-- 
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+<project default="forrest">
+ <property environment="env" />
+
+<goal name="forrest" description="runs Forrest">
+  <property name="forrest.home" location="${env.FORREST_HOME}" />
+  <property name="forrest.ant.home" location="${forrest.home}/tools/ant" />
+  <java classname="org.apache.tools.ant.Main" 
+        fork="true" failonerror="true" maxmemory="128M">
+    <classpath>
+      <fileset dir="${forrest.ant.home}/lib">
+        <include name="*.jar" />
+      </fileset>
+      <pathelement path="${java.home}/../lib/tools.jar" />
+    </classpath>
+    <sysproperty key="ant.home" value="${forrest.ant.home}" />
+    <sysproperty key="forrest.home" value="${forrest.home}" />
+    <sysproperty key="basedir" value="${basedir}" />
+    <sysproperty key="java.endorsed.dirs" value="${forrest.home}/lib/endorsed" />
+    <arg line="-f ${forrest.home}/main/forrest.build.xml" />
+  </java>
+</goal> 
+
+</project>
+

Mime
View raw message