[seam-commits] Seam SVN: r7480 - in branches/Seam_2_0: doc/Seam_Reference_Guide and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Feb 26 12:41:26 EST 2008


Author: pete.muir at jboss.org
Date: 2008-02-26 12:41:25 -0500 (Tue, 26 Feb 2008)
New Revision: 7480

Modified:
   branches/Seam_2_0/build.xml
   branches/Seam_2_0/doc/Seam_Reference_Guide/pom.xml
Log:
Fix refdoc target to run new docs build

Modified: branches/Seam_2_0/build.xml
===================================================================
--- branches/Seam_2_0/build.xml	2008-02-26 16:40:04 UTC (rev 7479)
+++ branches/Seam_2_0/build.xml	2008-02-26 17:41:25 UTC (rev 7480)
@@ -46,7 +46,7 @@
 	<!-- Documentation -->
 	<property name="doc.dir" value="doc" />
 	<property name="doc.api.dir" value="${doc.dir}/api" />
-	<property name="doc.ref.dir" value="${doc.dir}/reference" />
+	<property name="doc.ref.dir" value="${doc.dir}/Seam_Reference_Guide" />
 	<property name="javadoc.link" value="http://java.sun.com/j2se/5.0/docs/api" />
 
 	<!-- Distribution targets -->
@@ -146,6 +146,7 @@
 		<delete dir="${report.dir}" quiet="${quietclean}" />
 		<delete dir="${coverage.dir}" quiet="${quietclean}" />
 		<delete dir="${ui.dir}/target" quiet="${quietclean}"/>
+		<delete dir="${doc.ref.dir}/target" quiet="${quietclean}" />
 		<cleanexample name="integration" path="${seam.dir}/src/test/integration" message="" />
 	</target>
 	
@@ -592,16 +593,12 @@
 	</target>
 
 	<target name="refdoc" description="Generate and copy reference documentation">
-
-		<copy todir="${doc.ref.dir}/build">
-			<fileset dir="${doc.ref.dir}" />
-		</copy>
-		<replace dir="${doc.ref.dir}/build" token="@version@" value="${complete.version}" />
-		<ant dir="${doc.ref.dir}/build" inheritall="false" target="all.doc" />
+		<maven target="compile" basedir="${doc.ref.dir}">
+			<jvmarg line="-Xms128m -Xmx512m" />
+		</maven>
 		<copy todir="${dist.ref.dir}">
-			<fileset dir="${doc.ref.dir}/build/build" />
+			<fileset dir="${doc.ref.dir}/target/docbook" />
 		</copy>
-		<delete dir="${doc.ref.dir}/build" />
 	</target>
 
 

Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/pom.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/pom.xml	2008-02-26 16:40:04 UTC (rev 7479)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/pom.xml	2008-02-26 17:41:25 UTC (rev 7480)
@@ -4,9 +4,9 @@
 
     <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.jboss.jbossas</groupId>
+    <groupId>org.jboss.seam.reference-guide</groupId>
     <artifactId>seam-reference-guide-${translation}</artifactId>
-    <version>1.0-SNAPSHOT</version>
+    <version>2.0.2-SNAPSHOT</version>
     <packaging>jdocbook</packaging>
     <name>Seam Reference Guide (${translation})</name>
 




More information about the seam-commits mailing list