[weld-commits] Weld SVN: r4062 - build/trunk/dist.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Wed Oct 14 11:38:19 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-10-14 11:38:19 -0400 (Wed, 14 Oct 2009)
New Revision: 4062

Modified:
   build/trunk/dist/build.xml
Log:
split out docs target, as I won't release that this time

Modified: build/trunk/dist/build.xml
===================================================================
--- build/trunk/dist/build.xml	2009-10-14 15:38:14 UTC (rev 4061)
+++ build/trunk/dist/build.xml	2009-10-14 15:38:19 UTC (rev 4062)
@@ -23,8 +23,7 @@
 		<fail unless="weld.se.version" message="You must specify the weld.se.version as a property" />
 		<fail unless="weld.wicket.version" message="You must specify the weld.wicket.version as a property" />
 		<fail unless="weld.logger.version" message="You must specify the weld.logger.version as a property" />
-		<fail unless="refdoc.dir" message="You must specify the reference docs directory with -Drefdoc.dir=~/workspace/wb/reference" />
-		<fail unless="examples.dir" message="You must specify the examples directory with -Dexamples.dir=~/workspace/wb/examples" />
+		<fail unless="examples.dir" message="You must specify the examples directory with -Dexamples.dir=~/workspace/examples/examples" />
 
 		<maven target="clean" basedir="${weld.dir}" />
 		<maven target="clean" basedir="${refdoc.dir}" />
@@ -51,22 +50,6 @@
 			<fileset dir="${examples.dir}" />
 		</copy>
 
-		<maven target="jdocbook:translate compile" basedir="${refdoc.dir}" />
-		<mkdir dir="${dist.doc.dir}" />
-		<copy todir="${dist.doc.dir}">
-			<fileset dir="${refdoc.dir}/target/docbook/publish">
-				<include name="de-DE/**/*" />
-				<include name="en-US/**/*" />
-				<include name="es-ES/**/*" />
-				<include name="ko-KR/**/*" />
-				<include name="it-IT/**/*" />
-				<include name="pt-BR/**/*" />
-				<include name="zh-CN/**/*" />
-				<include name="zh-TW/**/*" />
-			</fileset>
-		</copy>
-		<maven target="clean" basedir="${refdoc.dir}" />
-
 		<artifact:dependencies filesetId="weld.fileset" versionsId="weld.versions" sourcesfilesetid="weld.sources.fileset" javadocfilesetid="weld.javadocs.fileset">
 			<dependency groupId="org.jboss.weld" artifactId="jsr299-api" version="${jsr299.version}" />
 			<dependency groupId="org.jboss.weld" artifactId="weld-core" version="${weld.version}" />
@@ -129,6 +112,25 @@
 		</maven>
 	</target>
 
+	<target name="docs">
+		<fail unless="refdoc.dir" message="You must specify the reference docs directory with -Drefdoc.dir=~/workspace/wb/reference" />
+		<maven target="jdocbook:translate compile" basedir="${refdoc.dir}" />
+		<mkdir dir="${dist.doc.dir}" />
+		<copy todir="${dist.doc.dir}">
+			<fileset dir="${refdoc.dir}/target/docbook/publish">
+				<include name="de-DE/**/*" />
+				<include name="en-US/**/*" />
+				<include name="es-ES/**/*" />
+				<include name="ko-KR/**/*" />
+				<include name="it-IT/**/*" />
+				<include name="pt-BR/**/*" />
+				<include name="zh-CN/**/*" />
+				<include name="zh-TW/**/*" />
+			</fileset>
+		</copy>
+		<maven target="clean" basedir="${refdoc.dir}" />
+	</target>
+
 	<macrodef name="maven">
 		<attribute name="target" />
 		<attribute name="basedir" />



More information about the weld-commits mailing list