[jboss-cvs] JBossAS SVN: r87867 - in projects/aop/branches/Branch_2_1: aop/docs and 6 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 27 10:54:32 EDT 2009
Author: stalep
Date: 2009-04-27 10:54:31 -0400 (Mon, 27 Apr 2009)
New Revision: 87867
Added:
projects/aop/branches/Branch_2_1/aop/docs/pom.xml
projects/aop/branches/Branch_2_1/aop/docs/reference/quickref/pom.xml
projects/aop/branches/Branch_2_1/aop/docs/reference/reference/pom.xml
projects/aop/branches/Branch_2_1/aop/docs/reference/userguide/pom.xml
Removed:
projects/aop/branches/Branch_2_1/aop/docs/reference/README
projects/aop/branches/Branch_2_1/aop/docs/reference/aopuserguide/
projects/aop/branches/Branch_2_1/aop/docs/reference/build.xml
Modified:
projects/aop/branches/Branch_2_1/aop/docs/reference/reference/en/modules/installing.xml
projects/aop/branches/Branch_2_1/build/build.xml
projects/aop/branches/Branch_2_1/pom.xml
Log:
[JBAOP-686]
changed to use maven docbook plugin instead of ant
Added: projects/aop/branches/Branch_2_1/aop/docs/pom.xml
===================================================================
--- projects/aop/branches/Branch_2_1/aop/docs/pom.xml (rev 0)
+++ projects/aop/branches/Branch_2_1/aop/docs/pom.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -0,0 +1,20 @@
+<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/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.jboss.aop</groupId>
+ <artifactId>jboss-aop-parent</artifactId>
+ <version>2.1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.aop.docs</groupId>
+ <artifactId>jboss-aop-docs</artifactId>
+ <packaging>pom</packaging>
+ <name>JBoss AOP Docs</name>
+ <url>http://www.jboss.org/jbossaop</url>
+ <description>JBoss AOP Documentation</description>
+ <modules>
+ <module>reference/reference</module>
+ <module>reference/userguide</module>
+ <module>reference/quickref</module>
+ </modules>
+
+</project>
Deleted: projects/aop/branches/Branch_2_1/aop/docs/reference/README
===================================================================
(Binary files differ)
Deleted: projects/aop/branches/Branch_2_1/aop/docs/reference/build.xml
===================================================================
--- projects/aop/branches/Branch_2_1/aop/docs/reference/build.xml 2009-04-27 14:50:14 UTC (rev 87866)
+++ projects/aop/branches/Branch_2_1/aop/docs/reference/build.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -1,189 +0,0 @@
-<project name="AOPDocumentation" default="all.doc" basedir=".">
-
- <!-- Set build directories for all formats. -->
- <property name="build.dir" value="${basedir}/build"/>
-
- <!-- Support files for build process. -->
- <property name="docbook.dir" value="../../../docbook-support"/>
- <property name="support.dir" value="${docbook.dir}/support"/>
- <property name="styles.dir" value="${docbook.dir}/styles"/>
-
- <!-- 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/book -->
- <antcall target="lang.all">
- <param name="lang" value="en"/>
- <param name="book" value="quickref"/>
- </antcall>
-
- <antcall target="lang.all">
- <param name="lang" value="en"/>
- <param name="book" value="reference"/>
- </antcall>
-
- <antcall target="lang.all">
- <param name="lang" value="en"/>
- <param name="book" value="userguide"/>
- </antcall>
-
- </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" inheritRefs="true">
- <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" inheritRefs="true"/>
- <antcall target="lang.dochtml" inheritRefs="true"/>
- <antcall target="lang.dochtmlsingle" inheritRefs="true"/>
- <antcall target="lang.htmlmisc" inheritRefs="true"/>
- </target>
-
-
- <target name="lang.docpdf.prepare">
-
- <!-- Copy all the images to the output location, will be removed later. -->
- <copy todir="${build.dir}/${book}/${lang}/pdf/images">
- <fileset dir="${basedir}/${book}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.svg"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
-
- <!-- Create the XSL/FO temporary file. -->
- <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${basedir}">
- <classpath refid="lib.classpath"/>
- <arg value="-o"/>
- <arg value="${build.dir}/${book}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${basedir}/${book}/${lang}/master.xml"/>
- <arg value="${styles.dir}/${lang}/${db.style.fopdf}"/>
- </java>
-
- <available property="custom.fop.userconfig.present" file="userconfig.xml" filepath="${basedir}/${book}/${lang}/fop"/>
- </target>
-
- <target name="lang.docpdf.customized" depends="lang.docpdf.prepare" if="custom.fop.userconfig.present">
-
- <copy todir="${build.dir}/${book}/${lang}/pdf">
- <fileset dir="${basedir}/${book}/${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}">
- <classpath refid="lib.classpath"/>
- <arg value="-c"/>
- <arg value="${basedir}/${book}/${lang}/fop/userconfig.xml"/>
- <arg value="${build.dir}/${book}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${build.dir}/${book}/${lang}/pdf/jbossaop_${book}.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}">
- <classpath refid="lib.classpath"/>
- <arg value="${build.dir}/${book}/${lang}/pdf/docbook_fop.tmp"/>
- <arg value="${build.dir}/${book}/${lang}/pdf/jbossaop_${book}.pdf"/>
- </java>
- </target>
-
- <target name="lang.docpdf" depends="lang.docpdf.normal,lang.docpdf.customized">
- <!-- House keeping,delete temporary files. -->
- <delete>
- <fileset dir="${build.dir}/${book}/${lang}/pdf" excludes="**/*.pdf"/>
- </delete>
- <delete dir="${build.dir}/${book}/${lang}/pdf/images"/>
- </target>
-
- <target name="lang.dochtml">
-
- <mkdir dir="${build.dir}/${book}/${lang}/html/"/>
- <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${build.dir}/${book}/${lang}/html">
- <classpath refid="lib.classpath"/>
- <arg value="${basedir}/${book}/${lang}/master.xml"/>
- <arg value="${basedir}/${styles.dir}/${lang}/${db.style.html}"/>
- </java>
- </target>
-
- <target name="lang.dochtmlsingle">
-
- <mkdir dir="${build.dir}/${book}/${lang}/html_single/"/>
- <java classname="com.icl.saxon.StyleSheet" fork="true" dir="${basedir}">
- <classpath refid="lib.classpath"/>
- <arg value="-o"/>
- <arg value="${build.dir}/${book}/${lang}/html_single/index.html"/>
- <arg value="${basedir}/${book}/${lang}/master.xml"/>
- <arg value="${styles.dir}/${lang}/${db.style.htmlsingle}"/>
- </java>
- </target>
-
- <target name="lang.htmlmisc">
-
- <!-- Copy images and CSS for HTML documentation, language specific. -->
- <copy todir="${build.dir}/${book}/${lang}/shared/images">
- <fileset dir="${basedir}/${book}/${lang}/images">
- <include name="**/*.png"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
- <copy todir="${build.dir}/${book}/${lang}/shared/css">
- <fileset dir="${styles.dir}/${lang}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
-
- </target>
-
- <target name="lang.revdiff">
-
- <taskdef name="revdiff"
- classname="org.hibernate.docproc.revdiff.RevDiffReportTask"
- classpathref="lib.classpath">
-
- </taskdef>
-
- <revdiff original="${basedir}/${book}/en/master.xml"
- copy="${basedir}/${book}/${lang}/master.xml"
- report="${build.dir}/${book}/status_${lang}.html"/>
-
- </target>
-
-
-</project>
Added: projects/aop/branches/Branch_2_1/aop/docs/reference/quickref/pom.xml
===================================================================
--- projects/aop/branches/Branch_2_1/aop/docs/reference/quickref/pom.xml (rev 0)
+++ projects/aop/branches/Branch_2_1/aop/docs/reference/quickref/pom.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -0,0 +1,24 @@
+<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>
+
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>documentation</artifactId>
+ <version>1.0</version>
+ </parent>
+
+ <groupId>org.jboss.aop.docs</groupId>
+ <artifactId>jboss-aop-quickref-${translation}</artifactId>
+ <version>2.1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>jbossaop_quickref</name>
+
+ <properties>
+ <translation>en</translation>
+ </properties>
+
+
+</project>
Modified: projects/aop/branches/Branch_2_1/aop/docs/reference/reference/en/modules/installing.xml
===================================================================
--- projects/aop/branches/Branch_2_1/aop/docs/reference/reference/en/modules/installing.xml 2009-04-27 14:50:14 UTC (rev 87866)
+++ projects/aop/branches/Branch_2_1/aop/docs/reference/reference/en/modules/installing.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -7,8 +7,8 @@
</para>
<mediaobject>
- <imageobject role="fo">
- <imagedata fileref="images/install.svg" format="SVG" align="center"/>
+ <imageobject>
+ <imagedata align="center" fileref="images/install.jpg"/>
</imageobject>
<imageobject role="html">
<imagedata fileref="../shared/images/install.jpg" format="JPG" align="center"/>
Added: projects/aop/branches/Branch_2_1/aop/docs/reference/reference/pom.xml
===================================================================
--- projects/aop/branches/Branch_2_1/aop/docs/reference/reference/pom.xml (rev 0)
+++ projects/aop/branches/Branch_2_1/aop/docs/reference/reference/pom.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -0,0 +1,24 @@
+<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>
+
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>documentation</artifactId>
+ <version>1.0</version>
+ </parent>
+
+ <groupId>org.jboss.aop.docs</groupId>
+ <artifactId>jboss-aop-reference-${translation}</artifactId>
+ <version>2.1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>jbossaop_reference</name>
+
+ <properties>
+ <translation>en</translation>
+ </properties>
+
+
+</project>
Added: projects/aop/branches/Branch_2_1/aop/docs/reference/userguide/pom.xml
===================================================================
--- projects/aop/branches/Branch_2_1/aop/docs/reference/userguide/pom.xml (rev 0)
+++ projects/aop/branches/Branch_2_1/aop/docs/reference/userguide/pom.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -0,0 +1,24 @@
+<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>
+
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>documentation</artifactId>
+ <version>1.0</version>
+ </parent>
+
+ <groupId>org.jboss.aop.docs</groupId>
+ <artifactId>jboss-aop-userguide-${translation}</artifactId>
+ <version>2.1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>jbossaop_userguide</name>
+
+ <properties>
+ <translation>en</translation>
+ </properties>
+
+
+</project>
Modified: projects/aop/branches/Branch_2_1/build/build.xml
===================================================================
--- projects/aop/branches/Branch_2_1/build/build.xml 2009-04-27 14:50:14 UTC (rev 87866)
+++ projects/aop/branches/Branch_2_1/build/build.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -77,7 +77,7 @@
<target name="release"
description="Builds the default release structure."
- depends="init, clean, most, maven-javadoc, aop.reference.docs, release-no-reference-docs, release-reference-docs"
+ depends="init, clean, most, maven-javadoc, release-no-reference-docs, release-reference-docs"
>
<zip destfile="${project.release}.zip">
@@ -209,11 +209,6 @@
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
</target>
- <target name="aop.reference.docs" depends="init" description="Builds the reference manual for JBoss AOP that should be part of ths distribution">
- <ant antfile="build.xml" dir="../aop/docs/reference"/>
- </target>
-
-
<target name="release-no-reference-docs"
description="Builds the default release structure, minus the reference documentation"
depends="init, init-maven-dist-dependencies">
@@ -418,12 +413,62 @@
depends="init"
description="Builds the default release structure, minus the reference documentation">
- <copy todir="${project.release}/docs/aspect-framework" filtering="no">
- <fileset dir="${project.root}/aop/docs/reference/build">
+ <mkdir dir="${project.release}/docs/aspect-framework/reference/en"/>
+ <mkdir dir="${project.release}/docs/aspect-framework/quickref/en"/>
+ <mkdir dir="${project.release}/docs/aspect-framework/userguide/en"/>
+
+ <copy todir="${project.release}/docs/aspect-framework/reference/en" filtering="no">
+ <fileset dir="${project.root}/aop/docs/reference/reference/target/docbook">
<include name="**"/>
+ <exclude name="*.war"/>
+ <exclude name="**/eclipse/**"/>
</fileset>
</copy>
+ <mkdir dir="${project.release}/docs/aspect-framework/reference/en/shared/images"/>
+ <copy todir="${project.release}/docs/aspect-framework/reference/en/shared/images" filtering="no">
+ <fileset dir="${project.root}/aop/docs/reference/reference/en/images">
+ <include name="*.jpg"/>
+ <exclude name="*.png"/>
+ <exclude name="*.gif"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${project.release}/docs/aspect-framework/quickref/en" filtering="no">
+ <fileset dir="${project.root}/aop/docs/reference/quickref/target/docbook">
+ <include name="**"/>
+ <exclude name="*.war"/>
+ <exclude name="**/eclipse/**"/>
+ </fileset>
+ </copy>
+
+ <mkdir dir="${project.release}/docs/aspect-framework/quickref/en/shared/images"/>
+ <copy todir="${project.release}/docs/aspect-framework/quickref/en/shared/images" filtering="no">
+ <fileset dir="${project.root}/aop/docs/reference/quickref/en/images">
+ <include name="*.jpg"/>
+ <exclude name="*.png"/>
+ <exclude name="*.gif"/>
+ </fileset>
+ </copy>
+
+
+ <copy todir="${project.release}/docs/aspect-framework/userguide/en" filtering="no">
+ <fileset dir="${project.root}/aop/docs/reference/userguide/target/docbook">
+ <include name="**"/>
+ <exclude name="*.war"/>
+ <exclude name="**/eclipse/**"/>
+ </fileset>
+ </copy>
+
+ <mkdir dir="${project.release}/docs/aspect-framework/userguide/en/shared/images"/>
+ <copy todir="${project.release}/docs/aspect-framework/userguide/en/shared/images" filtering="no">
+ <fileset dir="${project.root}/aop/docs/reference/userguide/en/images">
+ <include name="*.jpg"/>
+ <exclude name="*.png"/>
+ <exclude name="*.gif"/>
+ </fileset>
+ </copy>
+
</target>
</project>
Modified: projects/aop/branches/Branch_2_1/pom.xml
===================================================================
--- projects/aop/branches/Branch_2_1/pom.xml 2009-04-27 14:50:14 UTC (rev 87866)
+++ projects/aop/branches/Branch_2_1/pom.xml 2009-04-27 14:54:31 UTC (rev 87867)
@@ -87,6 +87,7 @@
<module>aophelper</module>
<module>deployers</module>
<module>build</module>
+ <module>aop/docs</module>
</modules>
<dependencyManagement>
More information about the jboss-cvs-commits
mailing list