You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by sc...@apache.org on 2004/11/19 20:01:05 UTC

svn commit: r105848 - incubator/apollo/trunk

Author: scamp
Date: Fri Nov 19 11:01:05 2004
New Revision: 105848

Modified:
   incubator/apollo/trunk/maven.xml
Log:
updated for building forrest website

Modified: incubator/apollo/trunk/maven.xml
==============================================================================
--- incubator/apollo/trunk/maven.xml	(original)
+++ incubator/apollo/trunk/maven.xml	Fri Nov 19 11:01:05 2004
@@ -82,6 +82,31 @@
     </java>
   </goal>
 
+  <goal name="site"
+        description="generates project website using Forrest">
+    <property name="forrest.home" location="${env.FORREST_HOME}" />
+    <property name="forrest.install.dir" location="${forrest.home}/../.." />
+    <property name="forrest.ant.home" location="${forrest.install.dir}/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.install.dir}/lib/endorsed" />
+       <arg line="-f ${forrest.home}/forrest.build.xml" />
+       <arg line="-Dproject.content-dir=src/site" />
+       <arg line="-Dproject.site-dir=${basedir}/../site" />
+    </java>
+  </goal>
+
   <postGoal name="test:compile">
     <copy todir="${maven.test.dest}">
        <fileset dir="${maven.src.dir}/test" excludes="**/*.java, **/package.html" />

---------------------------------------------------------------------
To unsubscribe, e-mail: apollo-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: apollo-dev-help@ws.apache.org