You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mp...@apache.org on 2007/04/21 20:43:55 UTC
svn commit: r531079 - /incubator/openjpa/trunk/openjpa-project/pom.xml
Author: mprudhom
Date: Sat Apr 21 11:43:55 2007
New Revision: 531079
URL: http://svn.apache.org/viewvc?view=rev&rev=531079
Log:
Cleaned up doc building so that images and css are copied to the target folder so that the docs can be built and previewed without needing to build the entire package.
Modified:
incubator/openjpa/trunk/openjpa-project/pom.xml
Modified: incubator/openjpa/trunk/openjpa-project/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/pom.xml?view=diff&rev=531079&r1=531078&r2=531079
==============================================================================
--- incubator/openjpa/trunk/openjpa-project/pom.xml (original)
+++ incubator/openjpa/trunk/openjpa-project/pom.xml Sat Apr 21 11:43:55 2007
@@ -161,10 +161,30 @@
<unzip src="${local.repository}/docbook/docbook-xsl/${docbook.version}/docbook-xsl-${docbook.version}.zip" dest="${project.basedir}/target/stylesheets/" overwrite="false"/>
+ <property name="docsrcdir"
+ value="${project.basedir}/src/doc/manual"/>
+
+ <property name="docdir"
+ value="${project.basedir}/target/manual"/>
+
+ <mkdir dir="${docdir}/img"/>
+ <copy todir="${docdir}/img">
+ <fileset dir="${docsrcdir}/img">
+ <include name="*.*"/>
+ </fileset>
+ </copy>
+
+ <mkdir dir="${docdir}/css"/>
+ <copy todir="${docdir}/css">
+ <fileset dir="${docsrcdir}/css">
+ <include name="*.*"/>
+ </fileset>
+ </copy>
+
<style includes="**/manual.xml"
force="true"
- basedir="${project.basedir}/src/doc/manual"
- destdir="${project.basedir}/target/manual"
+ basedir="${docsrcdir}"
+ destdir="${docdir}"
style="manual-xhtml.xsl"
classpathref="maven.runtime.classpath">
<factory name="org.apache.xalan.processor.TransformerFactoryImpl">
@@ -175,8 +195,8 @@
<!--
<style includes="**/manual.xml"
force="true"
- basedir="${project.basedir}/src/doc/manual"
- destdir="${project.basedir}/target/manual"
+ basedir="${docsrcdir}"
+ destdir="${docdir}"
style="manual-xhtml-chunk.xsl"
classpathref="maven.runtime.classpath">
<factory name="org.apache.xalan.processor.TransformerFactoryImpl">