Author: thomas.heute(a)jboss.com
Date: 2008-08-20 08:56:13 -0400 (Wed, 20 Aug 2008)
New Revision: 11709
Added:
docs/template/user-guide/pom.xml
Removed:
docs/template/user-guide/build.xml
Modified:
docs/template/user-guide/en/master.xml
docs/template/user-guide/en/modules/sample.xml
Log:
Use new build mechanism
Deleted: docs/template/user-guide/build.xml
===================================================================
--- docs/template/user-guide/build.xml 2008-08-20 11:54:15 UTC (rev 11708)
+++ docs/template/user-guide/build.xml 2008-08-20 12:56:13 UTC (rev 11709)
@@ -1,26 +0,0 @@
-<project name="CHANGE ME IN BUILD.XML" default="all.doc"
basedir=".">
-
- <!-- Set the following property to generate the doco in the output folder -->
- <!--property name="build.dir"
value="${basedir}/../../output/docs/guide"/-->
-
- <property name="pdf.name"
value="ChangeMeInBuildXML.pdf" />
- <import file="../docbook-support/support.xml" />
-
- <target name="en">
- <antcall target="lang.dochtml">
- <param name="lang" value="en"/>
- </antcall>
- </target>
-
- <target name="all.doc" depends="clean">
- <antcall target="lang.all"><param name="lang"
value="en"/></antcall>
- </target>
-
- <!-- Use this alternate target to enable uptodate checking, i.e.
- don't generate docs if nothing has changed
- <target name="all.doc">
- <antcall target="lang.all.run"><param name="lang"
value="en"/></antcall>
- </target>
- -->
-
-</project>
Modified: docs/template/user-guide/en/master.xml
===================================================================
--- docs/template/user-guide/en/master.xml 2008-08-20 11:54:15 UTC (rev 11708)
+++ docs/template/user-guide/en/master.xml 2008-08-20 12:56:13 UTC (rev 11709)
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
- "../../docbook-support/support/docbook-dtd/docbookx.dtd" [
- <!ENTITY sample SYSTEM "modules/sample.xml">
- ]>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<book lang="en">
<bookinfo>
<title>Change Title in master.xml</title>
@@ -16,6 +14,7 @@
</author>
</bookinfo>
<toc/>
- <!-- Sample--> &sample;
+ <xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="modules/sample.xml" />
+
</book>
Modified: docs/template/user-guide/en/modules/sample.xml
===================================================================
--- docs/template/user-guide/en/modules/sample.xml 2008-08-20 11:54:15 UTC (rev 11708)
+++ docs/template/user-guide/en/modules/sample.xml 2008-08-20 12:56:13 UTC (rev 11709)
@@ -199,7 +199,64 @@
]]></screen>
</para>
</sect2>
-
+
+ <sect2>
+ <title>Coloration</title>
+ <programlisting><![CDATA[
+<programlisting role="JAVA"><![CDATA[
+package org.jboss.portal.foo;
+public class Bar
+{
+}]]></programlisting>]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[
+package org.jboss.portal.foo;
+public class Bar
+{
+}]]></programlisting>
+ </sect2>
+ <sect2>
+ <title>Annotations</title>
+ <programlisting><![CDATA[
+<programlistingco>
+ <areaspec>
+ <area id="sample.annotation.line2" coords='2' />
+ <area id="sample.annotation.line4" coords='4' />
+ </areaspec>
+ <programlisting><![CDATA[Line 1: Foo
+Line 2: Bar
+Line 3: Toto
+Line 4: FooBar
+Line 5: Titi]]></programlisting>
+ <calloutlist>
+ <callout arearefs="sample.annotation.line2">
+ <para>This is line 2</para>
+ </callout>
+ <callout arearefs="sample.annotation.line4">
+ <para>This is line 4</para>
+ </callout>
+ </calloutlist>
+</programlistingco>
+]]></programlisting>
+ <programlistingco>
+ <areaspec>
+ <area id="sample.annotation.line2" coords='2'
/>
+ <area id="sample.annotation.line4" coords='4'
/>
+ </areaspec>
+ <programlisting><![CDATA[Line 1: Foo
+Line 2: Bar
+Line 3: Toto
+Line 4: FooBar
+Line 5: Titi]]></programlisting>
+ <calloutlist>
+ <callout arearefs="sample.annotation.line2">
+ <para>This is line 2</para>
+ </callout>
+ <callout arearefs="sample.annotation.line4">
+ <para>This is line 4</para>
+ </callout>
+ </calloutlist>
+ </programlistingco>
+ </sect2>
</sect1>
</chapter>
Added: docs/template/user-guide/pom.xml
===================================================================
--- docs/template/user-guide/pom.xml (rev 0)
+++ docs/template/user-guide/pom.xml 2008-08-20 12:56:13 UTC (rev 11709)
@@ -0,0 +1,68 @@
+<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.portal</groupId>
+ <artifactId>jboss-portal-docs-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
+
+ <groupId>org.jboss.portal</groupId>
+ <artifactId>userGuide-${translation}</artifactId>
+ <version>2.7.0</version>
+ <packaging>jdocbook</packaging>
+ <name>User_Guide_(${translation})</name>
+
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+</project>