[webbeans-commits] Webbeans SVN: r560 - in doc: en and 1 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Thu Dec 18 19:05:00 EST 2008
Author: pete.muir at jboss.org
Date: 2008-12-18 19:05:00 -0500 (Thu, 18 Dec 2008)
New Revision: 560
Removed:
doc/build.xml
doc/en/modules/part5.xml
doc/en/styles/
doc/support/
Modified:
doc/en/master.xml
doc/en/modules/intro.xml
Log:
Switch to use sfwk.org styles, move to maven build :p, move using wbri to intro
Deleted: doc/build.xml
===================================================================
--- doc/build.xml 2008-12-18 23:59:23 UTC (rev 559)
+++ doc/build.xml 2008-12-19 00:05:00 UTC (rev 560)
@@ -1,200 +0,0 @@
-<!--
- To build the reference docs for a particular language only, use "ant -Dlang=en", for
- example, and call either lang.all, lang.docpdf, lang.dochtml, or lang.dochtmlsingle
- for the target of your choice.
-
- You can also call lang.section-check to track down missing identifiers in a particular
- language, or you can call lang.revdiff to get a difference report for a particular
- language, compared with the English reference.
--->
-<project name="Introduction to Web Beans" default="all.doc" basedir=".">
- <!-- Allow this to be overriden by others importing this project. -->
- <dirname property="imported.basedir" file="${ant.file.ReferenceDocumentation}"/>
-
- <!-- Set build directories for all formats. -->
- <property name="build.dir" value="${basedir}/build"/>
-
- <!-- Support files for build process. -->
- <property name="support.dir" value="${imported.basedir}/support"/>
-
- <!-- Base name for documentation artifacts. -->
- <tstamp />
- <property name="docname" value="Introduction to Web Beans ${DSTAMP}"/>
-
- <!-- Set DocBook stylesheets. -->
- <property name="db.style.fopdf" value="fopdf.xsl"/>
- <property name="db.style.html" value="html_chunk.xsl"/>
- <property name="db.style.htmlsingle" value="html.xsl"/>
-
- <!-- Classpath for the build tools. -->
- <path id="lib.classpath">
- <fileset dir="${support.dir}/lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
-
- <!-- ################################################################## -->
-
- <target name="all.doc"
- depends="clean"
- description="Compile documentation for all languages and all formats.">
-
- <!-- TRANSLATOR: Duplicate this line for your language -->
- <antcall target="lang.all"><param name="lang" value="en"/></antcall>
- <copy file="${build.dir}/en/pdf/${docname}.pdf" todir="${basedir}"/>
-
- </target>
-
- <target name="all.revdiff"
- description="Generates a diff report for all translated versions.">
-
- <!-- TRANSLATOR: Duplicate this line for your language -->
- <antcall target="lang.revdiff"><param name="lang" value="de"/></antcall>
-
- </target>
-
- <!-- ################################################################## -->
-
- <target name="clean">
-
- <!-- Delete build directory. -->
- <delete dir="${build.dir}"/>
-
- </target>
-
- <target name="lang.all">
- <!-- Compile the documentation for a single language in all formats. -->
- <antcall target="lang.docpdf"/>
- <antcall target="lang.dochtml"/>
- <antcall target="lang.dochtmlsingle"/>
- <antcall target="lang.htmlmisc"/>
- </target>
-
-
- <target name="lang.docpdf.prepare">
-
- <!-- Copy all the images to the output location, will be removed later. -->
- <copy todir="${build.dir}/${lang}/pdf/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.svg"/>
- <include name="**/*.gif"/>
- </fileset>
- </copy>
-
- <!-- Create the XSL/FO temporary file. -->
- <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${basedir}" maxmemory="192m" >
- <classpath refid="lib.classpath"/>
- <arg value="-o"/>
- <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${basedir}/${lang}/styles/${db.style.fopdf}"/>
- </java>
-
- <available property="custom.fop.userconfig.present" file="userconfig.xml" filepath="${basedir}/${lang}/fop"/>
- </target>
-
- <target name="lang.docpdf.customized" depends="lang.docpdf.prepare" if="custom.fop.userconfig.present">
-
- <copy todir="${build.dir}/${lang}/pdf">
- <fileset dir="${basedir}/${lang}/fop">
- <include name="*"/>
- </fileset>
- </copy>
-
- <!-- Create a PDF from the XSL/FO, using customized fop userconfig.xml -->
- <java classname="org.apache.fop.apps.Fop" fork="true" dir="${basedir}" maxmemory="192m" >
- <classpath refid="lib.classpath"/>
- <arg value="-c"/>
- <arg value="${basedir}/${lang}/fop/userconfig.xml"/>
- <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${build.dir}/${lang}/pdf/${docname}.pdf"/>
- </java>
- </target>
-
- <target name="lang.docpdf.normal" depends="lang.docpdf.prepare" unless="custom.fop.userconfig.present">
- <!-- Create a PDF from the XSL/FO. -->
- <java classname="org.apache.fop.apps.Fop" fork="true" dir="${basedir}" maxmemory="192m">
- <classpath refid="lib.classpath"/>
- <arg value="${build.dir}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${build.dir}/${lang}/pdf/${docname}.pdf"/>
- </java>
- </target>
-
- <target name="lang.docpdf" depends="lang.docpdf.normal,lang.docpdf.customized"
- description="Generates the PDF documentation only for a language (set lang)">
- <!-- House keeping,delete temporary files. -->
- <delete>
- <fileset dir="${build.dir}/${lang}/pdf" excludes="**/*.pdf"/>
- </delete>
- <delete dir="${build.dir}/${lang}/pdf/images"/>
- </target>
-
- <target name="lang.dochtml"
- description="Generates the HTML documentation only for a language (set lang)">
-
- <mkdir dir="${build.dir}/${lang}/html/"/>
-
- <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${build.dir}/${lang}/html" maxmemory="192m">
- <classpath refid="lib.classpath"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${basedir}/${lang}/styles/${db.style.html}"/>
- </java>
- </target>
-
- <target name="lang.dochtmlsingle"
- description="Generates the single-page HTML documentation only for a language (set lang)">
-
- <mkdir dir="${build.dir}/${lang}/html_single/"/>
-
- <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${basedir}" maxmemory="192m">
- <classpath refid="lib.classpath"/>
- <arg value="-o"/>
- <arg value="${build.dir}/${lang}/html_single/index.html"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${basedir}/${lang}/styles/${db.style.htmlsingle}"/>
- </java>
- </target>
-
- <target name="lang.htmlmisc">
-
- <!-- Copy images and CSS for HTML documentation, language specific. -->
- <copy todir="${build.dir}/${lang}/shared/images">
- <fileset dir="${basedir}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.gif"/>
- </fileset>
- </copy>
- <copy todir="${build.dir}/${lang}/shared/css">
- <fileset dir="${basedir}/${lang}/styles">
- <include name="**/*.css"/>
- </fileset>
- </copy>
-
- </target>
-
- <target name="lang.revdiff"
- description="Reports difference between English and translation (set lang)">
-
- <taskdef name="revdiff"
- classname="org.hibernate.docproc.revdiff.RevDiffReportTask"
- classpathref="lib.classpath">
-
- </taskdef>
-
- <revdiff original="${basedir}/en/master.xml"
- copy="${basedir}/${lang}/master.xml"
- report="${build.dir}/status_${lang}.html"/>
-
- </target>
-
- <target name="lang.section-check" depends="lang.dochtml"
- description="Reports missing unique chapter/section identifiers (set lang)">
- <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${build.dir}/${lang}/html" maxmemory="192m">
- <classpath refid="lib.classpath"/>
- <arg value="${basedir}/${lang}/master.xml"/>
- <arg value="${support.dir}/section-check.xsl"/>
- </java>
- </target>
-
-</project>
Modified: doc/en/master.xml
===================================================================
--- doc/en/master.xml 2008-12-18 23:59:23 UTC (rev 559)
+++ doc/en/master.xml 2008-12-19 00:05:00 UTC (rev 560)
@@ -7,7 +7,6 @@
<!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">
Modified: doc/en/modules/intro.xml
===================================================================
--- doc/en/modules/intro.xml 2008-12-18 23:59:23 UTC (rev 559)
+++ doc/en/modules/intro.xml 2008-12-19 00:05:00 UTC (rev 560)
@@ -533,4 +533,61 @@
</section>
+<section>
+ <title>Using the Web Beans Reference Implementation</title>
+
+ <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>
+
+
+</section>
+
</chapter>
\ No newline at end of file
Deleted: doc/en/modules/part5.xml
===================================================================
--- doc/en/modules/part5.xml 2008-12-18 23:59:23 UTC (rev 559)
+++ doc/en/modules/part5.xml 2008-12-19 00:05:00 UTC (rev 560)
@@ -1,54 +0,0 @@
-<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>
More information about the weld-commits
mailing list