[seam-commits] Seam SVN: r8105 - in branches/Seam_2_0: build and 2 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sat May 3 07:08:09 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-05-03 07:08:08 -0400 (Sat, 03 May 2008)
New Revision: 8105
Added:
branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Author_Group.xml
Removed:
branches/Seam_2_0/doc/Seam_Reference_Guide/common/
Modified:
branches/Seam_2_0/build.xml
branches/Seam_2_0/build/docs.pom.xml
branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/
branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Book_Info.xml
Log:
Support translation builds of refdoc
Modified: branches/Seam_2_0/build/docs.pom.xml
===================================================================
--- branches/Seam_2_0/build/docs.pom.xml 2008-05-03 07:19:01 UTC (rev 8104)
+++ branches/Seam_2_0/build/docs.pom.xml 2008-05-03 11:08:08 UTC (rev 8105)
@@ -5,10 +5,10 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.seam.reference-guide</groupId>
- <artifactId>seam-reference-guide-${translation}</artifactId>
+ <artifactId>seam-reference-guide</artifactId>
<version>@seam.version@</version>
<packaging>jdocbook</packaging>
- <name>Seam Reference Guide (${translation})</name>
+ <name>Seam Reference Guide</name>
<pluginRepositories>
<pluginRepository>
@@ -31,7 +31,6 @@
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<extensions>true</extensions>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
<dependencies>
<dependency>
<groupId>org.jboss.seam</groupId>
@@ -62,8 +61,12 @@
</dependency>
</dependencies>
<configuration>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<sourceDocumentName>master.xml</sourceDocumentName>
+ <masterTranslation>en-US</masterTranslation>
+ <translations>
+ <translation>zh-CN</translation>
+ </translations>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -106,6 +109,7 @@
<!-- 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>
@@ -117,12 +121,38 @@
<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.0-200803311251UTC-MPJDOCBOOK-8</version>
+ </plugin>
</plugins>
</pluginManagement>
</build>
-
- <properties>
- <translation>en-US</translation>
- </properties>
+ <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>
Modified: branches/Seam_2_0/build.xml
===================================================================
--- branches/Seam_2_0/build.xml 2008-05-03 07:19:01 UTC (rev 8104)
+++ branches/Seam_2_0/build.xml 2008-05-03 11:08:08 UTC (rev 8105)
@@ -580,12 +580,16 @@
</target>
<target name="refdoc" description="Generate and copy reference documentation" depends="initpoms">
- <echo file="${doc.ref.dir}/common/Version_Info.xml">
+ <condition property="maven.build.translations" value="-Dbuild.translations" else="">
+ <isset property="build.translations"/>
+ </condition>
+ <echo file="${doc.ref.dir}/en-US/Version_Info.xml">
<releaseinfo>${complete.version}</releaseinfo>
</echo>
<copy file="${docs.pom}" tofile="${doc.ref.dir}/pom.xml" overwrite="true"/>
<maven target="compile" basedir="${doc.ref.dir}">
<jvmarg line="-Xms128m -Xmx512m" />
+ <arg line="${maven.build.translations}" />
</maven>
<copy todir="${dist.ref.dir}">
<fileset dir="${doc.ref.dir}/target/docbook/publish" />
Property changes on: branches/Seam_2_0/doc/Seam_Reference_Guide/en-US
___________________________________________________________________
Name: svn:ignore
- resolved.xml
+ resolved.xml
Version_Info.xml
Copied: branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Author_Group.xml (from rev 8071, branches/Seam_2_0/doc/Seam_Reference_Guide/common/Author_Group.xml)
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Author_Group.xml (rev 0)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Author_Group.xml 2008-05-03 11:08:08 UTC (rev 8105)
@@ -0,0 +1,77 @@
+<?xml version="1.0" standalone="no"?>
+<authorgroup>
+ <author>
+ <firstname>Gavin</firstname>
+ <surname>King</surname>
+ <affiliation>
+ <shortaffil>Project Lead</shortaffil>
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Pete</firstname>
+ <surname>Muir</surname>
+ </author>
+ <author>
+ <firstname>Norman</firstname>
+ <surname>Richards</surname>
+ </author>
+ <author>
+ <firstname>Shane</firstname>
+ <surname>Bryzak</surname>
+ </author>
+ <author>
+ <firstname>Michael</firstname>
+ <surname>Yuan</surname>
+ </author>
+ <author>
+ <firstname>Mike</firstname>
+ <surname>Youngstrom</surname>
+ </author>
+ <author>
+ <firstname>Christian</firstname>
+ <surname>Bauer</surname>
+ </author>
+ <author>
+ <firstname>Jay</firstname>
+ <surname>Balunas</surname>
+ </author>
+ <author>
+ <firstname>Dan</firstname>
+ <surname>Allen</surname>
+ </author>
+ <author>
+ <firstname>Max</firstname>
+ <othername>Rydahl</othername>
+ <surname>Andersen</surname>
+ </author>
+ <author>
+ <firstname>Emmanuel</firstname>
+ <surname>Bernard</surname>
+ </author>
+ <othercredit>
+ <firstname>James</firstname>
+ <surname>Cobb</surname>
+ <affiliation>
+ <shortaffil>Graphic Design</shortaffil>
+ </affiliation>
+ </othercredit>
+ <othercredit>
+ <firstname>Cheyenne</firstname>
+ <surname>Weaver</surname>
+ <affiliation>
+ <shortaffil>Graphic Design</shortaffil>
+ </affiliation>
+ </othercredit>
+ <othercredit>
+ <firstname>Mark</firstname>
+ <surname>Newton</surname>
+ </othercredit>
+ <othercredit>
+ <firstname>Steve</firstname>
+ <surname>Ebersole</surname>
+ </othercredit>
+ <editor>
+ <firstname>Samson</firstname>
+ <surname>Kittoli</surname>
+ </editor>
+</authorgroup>
Property changes on: branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Author_Group.xml
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Book_Info.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Book_Info.xml 2008-05-03 07:19:01 UTC (rev 8104)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Book_Info.xml 2008-05-03 11:08:08 UTC (rev 8105)
@@ -4,7 +4,7 @@
<bookinfo>
<title>Seam - Contextual Components</title>
<subtitle>A Framework for Enterprise Java</subtitle>
- <xi:include href="../common/Version_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Version_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="../common/Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</bookinfo>
More information about the seam-commits
mailing list