[webbeans-commits] Webbeans SVN: r546 - in doc: en and 1 other directories.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Dec 17 13:13:28 EST 2008


Author: pete.muir at jboss.org
Date: 2008-12-17 13:13:28 -0500 (Wed, 17 Dec 2008)
New Revision: 546

Added:
   doc/en/modules/part5.xml
   doc/pom.xml
Modified:
   doc/
   doc/.project
   doc/en/master.xml
Log:
Add brief intro to RI, add pom


Property changes on: doc
___________________________________________________________________
Name: svn:ignore
   + target

build

Introduction to Web Beans 20081217.pdf


Modified: doc/.project
===================================================================
--- doc/.project	2008-12-17 18:12:41 UTC (rev 545)
+++ doc/.project	2008-12-17 18:13:28 UTC (rev 546)
@@ -1,11 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-	<name>webbeans-intro</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-	</buildSpec>
-	<natures>
-	</natures>
-</projectDescription>
+  <name>webbeans-reference-guide</name>
+  <comment/>
+  <projects/>
+  <buildSpec/>
+  <natures/>
+</projectDescription>
\ No newline at end of file

Modified: doc/en/master.xml
===================================================================
--- doc/en/master.xml	2008-12-17 18:12:41 UTC (rev 545)
+++ doc/en/master.xml	2008-12-17 18:13:28 UTC (rev 546)
@@ -7,6 +7,7 @@
 <!ENTITY part2                     SYSTEM "modules/part2.xml">
 <!ENTITY part3                     SYSTEM "modules/part3.xml">
 <!ENTITY part4                     SYSTEM "modules/part4.xml">
+<!ENTITY part5                     SYSTEM "modules/part5.xml">
 
 <!ENTITY intro                     SYSTEM "modules/intro.xml">
 <!ENTITY example                   SYSTEM "modules/example.xml">
@@ -38,6 +39,14 @@
           <orgname>Red Hat Middleware LLC</orgname>
         </affiliation>
       </author>
+      <author>
+        <firstname>Pete</firstname>
+        <surname>Muir</surname>
+        <affiliation>
+          <jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle>
+          <orgname>Red Hat Middleware LLC</orgname>
+        </affiliation>
+      </author>
     </bookinfo>
     
     <toc/>
@@ -86,6 +95,13 @@
       &extend;
       
     </part>
+    
+    <part>
+      <title>The Web Beans Reference Implementation</title>
+      
+      &part5;
+      
+    </part>
 
     &next;
     

Added: doc/en/modules/part5.xml
===================================================================
--- doc/en/modules/part5.xml	                        (rev 0)
+++ doc/en/modules/part5.xml	2008-12-17 18:13:28 UTC (rev 546)
@@ -0,0 +1,54 @@
+<partintro>
+
+   <para>
+      The Web Beans RI currently comes with a two examples, 
+      <literal>webbeans-numberguess</literal> (a war example, containing only
+      simple beans) and <literal>webbeans-translator</literal> (an ear example,
+      containing enterprise beans).
+   </para>
+
+   <para>
+      To run the example on JBoss AS 5.0.0.GA, you need to add the Web Beans RI 
+      deployer to JBoss 5, and update JBoss EJB3. First, set the path to 
+      JBoss 5 in <literal>build.properties</literal>. Make sure you have the 
+      <literal>ANT_HOME</literal> environment variable set, and pointing to your
+      ant install. Then, run <literal>ant install-jboss5</literal>.
+   </para>
+
+   <para>
+      To deploy the example to JBoss AS 5, change into 
+      <literal>examples/numberguess</literal> directory or the 
+      <literal>examples/translator</literal> directory and choose between:
+   </para>
+
+   <itemizedlist>
+      <listitem>
+         <para>
+            <literal>ant restart</literal> - deploy the example in exploded 
+            format
+         </para>
+      </listitem>
+      <listitem>
+         <para>
+            <literal>ant explode</literal> - update an exploded example, without
+            restarting the deployment
+         </para>
+      </listitem>
+      <listitem>
+         <para>
+            <literal>ant deploy</literal> - deploy the example in compressed jar format
+         </para>
+      </listitem>
+      <listitem>
+         <para>
+            <literal>ant undeploy</literal> - remove the example from the server
+         </para>
+      </listitem>
+      <listitem>
+         <para>
+            <literal>ant clean</literal> - clean the example
+        </para>
+      </listitem>
+   </itemizedlist>
+
+</partintro>


Property changes on: doc/en/modules/part5.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: doc/pom.xml
===================================================================
--- doc/pom.xml	                        (rev 0)
+++ doc/pom.xml	2008-12-17 18:13:28 UTC (rev 546)
@@ -0,0 +1,150 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+   <modelVersion>4.0.0</modelVersion>
+
+   <groupId>org.jboss.webbeans.reference-guide</groupId>
+   <artifactId>webbeans-reference-guide</artifactId>
+   <version>1.0.0-SNAPSHOT</version>
+   <packaging>jdocbook</packaging>
+   <name>Web Beans Reference Guide</name>
+
+   <pluginRepositories>
+      <pluginRepository>
+         <id>repository.jboss.org</id>
+         <name>JBoss Repository</name>
+         <url>http://repository.jboss.org/maven2</url>
+      </pluginRepository>
+   </pluginRepositories>
+   <repositories>
+      <repository>
+         <id>repository.jboss.org</id>
+         <name>JBoss Repository</name>
+         <url>http://repository.jboss.org/maven2</url>
+      </repository>
+   </repositories>
+
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.jboss.maven.plugins</groupId>
+            <artifactId>maven-jdocbook-plugin</artifactId>
+            <extensions>true</extensions>
+            <dependencies>
+               <dependency>
+                  <groupId>org.jboss.seam</groupId>
+                  <artifactId>seam-docbook-xslt</artifactId>
+                  <version>1.1.0.GA</version>
+                  <exclusions>
+                     <exclusion>
+                        <groupId>org.eclipse.wst.css</groupId>
+                        <artifactId>core</artifactId>
+                     </exclusion>
+                     <exclusion>
+                        <groupId>org.eclipse.wst.sse</groupId>
+                        <artifactId>core</artifactId>
+                     </exclusion>
+                  </exclusions>
+               </dependency>
+               <dependency>
+                  <groupId>org.jboss.seam</groupId>
+                  <artifactId>seam-jdocbook-style</artifactId>
+                  <version>1.1.0.GA</version>
+                  <type>jdocbook-style</type>
+               </dependency>
+               <dependency>
+                  <groupId>org.jboss</groupId>
+                  <artifactId>jbossorg-jdocbook-style</artifactId>
+                  <version>1.1.0</version>
+                  <type>jdocbook-style</type>
+               </dependency>
+            </dependencies>
+            <configuration>
+               <sourceDirectory>${pom.basedir}</sourceDirectory>
+               <sourceDocumentName>master.xml</sourceDocumentName>
+               <masterTranslation>en</masterTranslation>
+               <translations>
+               </translations>
+               <imageResource>
+                  <directory>${pom.basedir}/en</directory>
+                  <includes>
+                     <include>images/*.png</include>
+                  </includes>
+               </imageResource>
+               <formats>
+                  <format>
+                     <formatName>pdf</formatName>
+                     <stylesheetResource>
+                        classpath:/xslt/org/jboss/seam/pdf.xsl
+                     </stylesheetResource>
+                     <finalName>webbeans_reference.pdf</finalName>
+                  </format>
+                  <format>
+                     <formatName>html</formatName>
+                     <stylesheetResource>
+                        classpath:/xslt/org/jboss/seam/xhtml.xsl
+                     </stylesheetResource>
+                     <finalName>index.html</finalName>
+                  </format>
+                  <format>
+                     <formatName>html_single</formatName>
+                     <stylesheetResource>
+                        classpath:/xslt/org/jboss/seam/xhtml-single.xsl
+                     </stylesheetResource>
+                     <finalName>index.html</finalName>
+                  </format>
+               </formats>
+               <options>
+                  <xincludeSupported>true</xincludeSupported>
+                  <xmlTransformerType>saxon</xmlTransformerType>
+                  <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+                  <!--     could also locate the docbook dependency and inspect its version... -->
+                  <docbookVersion>1.72.0</docbookVersion>
+                  <localeSeparator>-</localeSeparator>
+               </options>
+            </configuration>
+         </plugin>
+      </plugins>
+      <pluginManagement>
+         <plugins>
+            <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-dependency-plugin</artifactId>
+               <version>2.0</version>
+            </plugin>
+            <plugin>
+               <groupId>org.jboss.maven.plugins</groupId>
+               <artifactId>maven-jdocbook-plugin</artifactId>
+               <version>2.1.1</version>
+            </plugin>
+         </plugins>
+      </pluginManagement>
+   </build>
+   
+   <profiles>
+      <profile>
+         <activation>
+            <property>
+               <name>build.translations</name>  
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+               <groupId>org.jboss.maven.plugins</groupId>
+               <artifactId>maven-jdocbook-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <phase>process-resources</phase>
+                        <goals>
+                           <goal>translate</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
+</project>


Property changes on: doc/pom.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain




More information about the weld-commits mailing list