[webbeans-commits] Webbeans SVN: r714 - in ri/trunk: dist and 1 other directory.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Dec 24 12:35:02 EST 2008


Author: pete.muir at jboss.org
Date: 2008-12-24 12:35:02 -0500 (Wed, 24 Dec 2008)
New Revision: 714

Added:
   ri/trunk/dist/readme.txt
Removed:
   ri/trunk/examples/
   ri/trunk/readme.txt
Modified:
   ri/trunk/dist/build.xml
Log:
adapt for moving examples

Modified: ri/trunk/dist/build.xml
===================================================================
--- ri/trunk/dist/build.xml	2008-12-24 17:28:58 UTC (rev 713)
+++ ri/trunk/dist/build.xml	2008-12-24 17:35:02 UTC (rev 714)
@@ -15,11 +15,11 @@
 	<property name="dist.src.dir" value="${dist.dir}/src" />
 	<property name="dist.src.doc.dir" value="${dist.src.dir}/reference" />
 	
-	<property name="refdoc.dir" value="${wbri.dir}/reference-guide" />
-	
 	<target name="dist" description="Build the distribution">
 		
 		<fail unless="version" message="You must specify the version with -Dversion=1.2.3" />
+		<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 -Dexmaples.dir=~/workspace/wb/examples" />
 		
 		<maven target="clean" basedir="${wbri.dir}" />
 		<maven target="clean" basedir="${refdoc.dir}" />
@@ -54,11 +54,11 @@
 
 		<copy todir="${dist.dir}">
          <fileset dir="${wbri.dir}">
-            <include name="examples/**"/>
          	<include name="jboss-as/**"/>
          	<include name="lib/**"/>
          	<include name="readme.txt"/>
          </fileset>
+			<fileset dir="${examples.dir}" />
       </copy>
 		
 		<maven target="package" basedir="${refdoc.dir}" />

Copied: ri/trunk/dist/readme.txt (from rev 713, ri/trunk/readme.txt)
===================================================================
--- ri/trunk/dist/readme.txt	                        (rev 0)
+++ ri/trunk/dist/readme.txt	2008-12-24 17:35:02 UTC (rev 714)
@@ -0,0 +1,27 @@
+Web Beans RI
+------------
+
+This distribution consists of:
+
+doc/
+   -- The Web Beans Reference guide, take a look at doc/en/html/index.html for
+      getting started using Web Beans and the Web Beans RI
+ 
+examples/
+   -- The Web Beans RI examples, the examples are described in more detail in 
+      the reference guide 
+   
+jboss-as/
+   -- Installer for JBoss AS, change into this directory, and run ant update
+      There are more details in the reference guide
+
+lib/
+   -- Libraries for building the examples
+   
+lib/webbeans
+   -- The Web Beans RI and API jars, for use outside of JBoss AS
+   
+src/
+   -- The sources of the Web Beans RI, including src/webbeans-api, 
+      src/webbeans-ri and src/reference. To build the sources, just type mvn in
+      the subdirectory.

Deleted: ri/trunk/readme.txt
===================================================================
--- ri/trunk/readme.txt	2008-12-24 17:28:58 UTC (rev 713)
+++ ri/trunk/readme.txt	2008-12-24 17:35:02 UTC (rev 714)
@@ -1,27 +0,0 @@
-Web Beans RI
-------------
-
-This distribution consists of:
-
-doc/
-   -- The Web Beans Reference guide, take a look at doc/en/html/index.html for
-      getting started using Web Beans and the Web Beans RI
- 
-examples/
-   -- The Web Beans RI examples, the examples are described in more detail in 
-      the reference guide 
-   
-jboss-as/
-   -- Installer for JBoss AS, change into this directory, and run ant update
-      There are more details in the reference guide
-
-lib/
-   -- Libraries for building the examples
-   
-lib/webbeans
-   -- The Web Beans RI and API jars, for use outside of JBoss AS
-   
-src/
-   -- The sources of the Web Beans RI, including src/webbeans-api, 
-      src/webbeans-ri and src/reference. To build the sources, just type mvn in
-      the subdirectory.




More information about the weld-commits mailing list