You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/08/17 14:17:07 UTC

svn commit: r567036 - in /myfaces/tobago/trunk: build-site.sh pom.xml

Author: bommel
Date: Fri Aug 17 05:17:06 2007
New Revision: 567036

URL: http://svn.apache.org/viewvc?view=rev&rev=567036
Log:
docbook

Modified:
    myfaces/tobago/trunk/build-site.sh
    myfaces/tobago/trunk/pom.xml

Modified: myfaces/tobago/trunk/build-site.sh
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/build-site.sh?view=diff&rev=567036&r1=567035&r2=567036
==============================================================================
--- myfaces/tobago/trunk/build-site.sh (original)
+++ myfaces/tobago/trunk/build-site.sh Fri Aug 17 05:17:06 2007
@@ -50,6 +50,6 @@
 
 echo "Building tobago site."
 mvn -Pall-modules clean
-mvn -N -Pmojodocbook --batch-mode
+mvn -N -Pmojodocbook,docbook-profile --batch-mode
 mvn -Pall-modules javancss:report jxr:jxr jxr:test-jxr clirr:clirr -Daggregate=false --batch-mode
 mvn -Pall-modules install site-deploy -Daggregate=true --batch-mode

Modified: myfaces/tobago/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/pom.xml?view=diff&rev=567036&r1=567035&r2=567036
==============================================================================
--- myfaces/tobago/trunk/pom.xml (original)
+++ myfaces/tobago/trunk/pom.xml Fri Aug 17 05:17:06 2007
@@ -917,26 +917,32 @@
             <artifactId>docbkx-maven-plugin</artifactId>
             <executions>
               <execution>
+                <id>build-pdf-doc</id>
+                <phase>process-resources</phase>
+                <goals><goal>generate-pdf</goal></goals>
+                <configuration>
+                  <sourceDirectory>${docbook.source}</sourceDirectory>
+                  <targetDirectory>${docbook.target}</targetDirectory>
+                  <includes>tobago-tutorial.xml</includes>
+                  <imgSrcPath>${docbook.source}/</imgSrcPath>
+                </configuration>
+              </execution>
+              <execution>
                 <id>build-chunked-doc</id>
                 <phase>process-resources</phase>
                 <goals>
                   <goal>generate-html</goal>
                 </goals>
                 <configuration>
-                  <sourceDirectory>
-                    ${docbook.source}
-                  </sourceDirectory>
-                  <targetDirectory>
-                    ${docbook.target}
-                  </targetDirectory>
+                  <sourceDirectory>${docbook.source}</sourceDirectory>
+                  <targetDirectory>${docbook.target}</targetDirectory>
                   <includes>tobago-tutorial.xml</includes>
                   <chunkedOutput>true</chunkedOutput>
                   <chunkQuietly>false</chunkQuietly>
                   <postProcess>
                     <mkdir dir="${docbook.target}/resources"/>
                     <copy todir="${docbook.target}/resources">
-                      <fileset
-                          dir="${docbook.source}/resources">
+                      <fileset dir="${docbook.source}/resources">
                         <include name="*.png"/>
                       </fileset>
                     </copy>