directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r619409 - in /directory/studio/branches/studio-maven: ./ apacheds-configuration-help/ apacheds-configuration-help/src/main/docbook/ ldapbrowser-help/ ldapbrowser-help/src/main/docbook/ ldifeditor-help/ ldifeditor-help/src/main/docbook/ rcp-...
Date Thu, 07 Feb 2008 13:40:44 GMT
Author: felixk
Date: Thu Feb  7 05:40:43 2008
New Revision: 619409

URL: http://svn.apache.org/viewvc?rev=619409&view=rev
Log:
Add (pom-)version property in 0_index.xml to set the current version at build time.

Modified:
    directory/studio/branches/studio-maven/apacheds-configuration-help/pom.xml
    directory/studio/branches/studio-maven/apacheds-configuration-help/src/main/docbook/0_index.xml
    directory/studio/branches/studio-maven/help-pom.xml
    directory/studio/branches/studio-maven/ldapbrowser-help/pom.xml
    directory/studio/branches/studio-maven/ldapbrowser-help/src/main/docbook/0_index.xml
    directory/studio/branches/studio-maven/ldifeditor-help/pom.xml
    directory/studio/branches/studio-maven/ldifeditor-help/src/main/docbook/0_index.xml
    directory/studio/branches/studio-maven/rcp-help/pom.xml
    directory/studio/branches/studio-maven/rcp-help/src/main/docbook/0_index.xml
    directory/studio/branches/studio-maven/schemaeditor-help/pom.xml
    directory/studio/branches/studio-maven/schemaeditor-help/src/main/docbook/0_index.xml

Modified: directory/studio/branches/studio-maven/apacheds-configuration-help/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/apacheds-configuration-help/pom.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/apacheds-configuration-help/pom.xml (original)
+++ directory/studio/branches/studio-maven/apacheds-configuration-help/pom.xml Thu Feb  7
05:40:43 2008
@@ -35,4 +35,8 @@
 
   <description></description>
 
+  <properties>
+    <current_pom_version>${pom.version}</current_pom_version>
+  </properties>
+
 </project>

Modified: directory/studio/branches/studio-maven/apacheds-configuration-help/src/main/docbook/0_index.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/apacheds-configuration-help/src/main/docbook/0_index.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/apacheds-configuration-help/src/main/docbook/0_index.xml
(original)
+++ directory/studio/branches/studio-maven/apacheds-configuration-help/src/main/docbook/0_index.xml
Thu Feb  7 05:40:43 2008
@@ -38,7 +38,7 @@
 	<bookinfo>
 		<title>Apache Directory Studio Apache DS Configuration</title>
 		<subtitle>User's Guide</subtitle>
-		<releaseinfo>Version 1.1.0.SNAPSHOT</releaseinfo>
+		<releaseinfo>Version ${current_pom_version}</releaseinfo>
 		<copyright>
 			<year>2007</year>
 			<holder>Apache Software Foundation</holder>

Modified: directory/studio/branches/studio-maven/help-pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/help-pom.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/help-pom.xml (original)
+++ directory/studio/branches/studio-maven/help-pom.xml Thu Feb  7 05:40:43 2008
@@ -47,6 +47,11 @@
             <directory>src/main/resources/html</directory>
             <targetPath>../html</targetPath>
           </resource>
+          <resource>
+            <directory>src/main/docbook</directory>
+            <targetPath>../docbook/documents</targetPath>
+            <filtering>true</filtering>
+          </resource>
         </resources>
         <plugins>
           <plugin>
@@ -97,7 +102,7 @@
                     </move>
 
                     <!-- Create PDF -->
-                    <xslt basedir="target/docbook" in="src/main/docbook/0_index.xml" out="target/pdf/${artifactId}.fo"
style="target/docbook/docbook-xsl/fo/docbook.xsl">
+                    <xslt basedir="target/docbook" in="target/docbook/documents/0_index.xml"
out="target/pdf/${artifactId}.fo" style="target/docbook/docbook-xsl/fo/docbook.xsl">
                       <param name="manifest.in.base.dir" expression="0" />
                       <param name="generate.section.toc.level" expression="5" />
                       <param name="toc.max.depth" expression="3" />
@@ -114,7 +119,7 @@
                     <fop format="application/pdf" basedir="target/pdf" fofile="target/pdf/${artifactId}.fo"
outfile="target/pdf/${name}.pdf" />
 
                     <!-- Create HTML -->
-                    <xslt in="src/main/docbook/0_index.xml" out="target/html/index.html"
style="target/docbook/docbook-xsl/html/chunk.xsl">
+                    <xslt in="target/docbook/documents/0_index.xml" out="target/html/index.html"
style="target/docbook/docbook-xsl/html/chunk.xsl">
                       <param name="ignore.image.scaling" expression="1" />
                       <param name="manifest.in.base.dir" expression="0" />
                       <!-- <param name="base.dir" expression="html/" /> -->
@@ -174,6 +179,11 @@
       <resource>
         <directory>src/main/resources</directory>
       </resource>
+      <resource>
+        <directory>src/main/docbook</directory>
+        <targetPath>../docbook/documents</targetPath>
+        <filtering>true</filtering>
+      </resource>
     </resources>
     <plugins>
       <plugin>
@@ -259,7 +269,7 @@
                 </move>
 
                 <!-- Create HTML -->
-                <xslt basedir="target/docbook/" in="src/main/docbook/0_index.xml" out="target/classes/index.html"
style="target/docbook/docbook-xsl/eclipse/eclipse.xsl">
+                <xslt basedir="target/docbook/" in="target/docbook/documents/0_index.xml"
out="target/classes/index.html" style="target/docbook/docbook-xsl/eclipse/eclipse.xsl">
                   <param name="ignore.image.scaling" expression="1" />
                   <param name="manifest.in.base.dir" expression="0" />
                   <param name="base.dir" expression="html/" />

Modified: directory/studio/branches/studio-maven/ldapbrowser-help/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/ldapbrowser-help/pom.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/ldapbrowser-help/pom.xml (original)
+++ directory/studio/branches/studio-maven/ldapbrowser-help/pom.xml Thu Feb  7 05:40:43 2008
@@ -35,4 +35,8 @@
 
   <description></description>
 
+  <properties>
+    <current_pom_version>${pom.version}</current_pom_version>
+  </properties>
+
 </project>

Modified: directory/studio/branches/studio-maven/ldapbrowser-help/src/main/docbook/0_index.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/ldapbrowser-help/src/main/docbook/0_index.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/ldapbrowser-help/src/main/docbook/0_index.xml (original)
+++ directory/studio/branches/studio-maven/ldapbrowser-help/src/main/docbook/0_index.xml Thu
Feb  7 05:40:43 2008
@@ -93,7 +93,7 @@
 	<bookinfo>
 		<title>Apache Directory Studio LDAP Browser</title>
 		<subtitle>User's Guide</subtitle>
-		<releaseinfo>Version 1.0.0</releaseinfo>
+		<releaseinfo>Version ${current_pom_version}</releaseinfo>
 		<copyright>
 			<year>2007</year>
 			<holder>Apache Software Foundation</holder>

Modified: directory/studio/branches/studio-maven/ldifeditor-help/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/ldifeditor-help/pom.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/ldifeditor-help/pom.xml (original)
+++ directory/studio/branches/studio-maven/ldifeditor-help/pom.xml Thu Feb  7 05:40:43 2008
@@ -35,4 +35,8 @@
 
   <description></description>
 
+  <properties>
+    <current_pom_version>${pom.version}</current_pom_version>
+  </properties>
+
 </project>

Modified: directory/studio/branches/studio-maven/ldifeditor-help/src/main/docbook/0_index.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/ldifeditor-help/src/main/docbook/0_index.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/ldifeditor-help/src/main/docbook/0_index.xml (original)
+++ directory/studio/branches/studio-maven/ldifeditor-help/src/main/docbook/0_index.xml Thu
Feb  7 05:40:43 2008
@@ -33,7 +33,7 @@
 	<bookinfo>
 		<title>Apache Directory Studio LDIF Editor</title>
 		<subtitle>User's Guide</subtitle>
-		<releaseinfo>Version 1.1.0.SNAPSHOT</releaseinfo>
+		<releaseinfo>Version ${current_pom_version}</releaseinfo>
 		<copyright>
 			<year>2007</year>
 			<holder>Apache Software Foundation</holder>

Modified: directory/studio/branches/studio-maven/rcp-help/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/rcp-help/pom.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/rcp-help/pom.xml (original)
+++ directory/studio/branches/studio-maven/rcp-help/pom.xml Thu Feb  7 05:40:43 2008
@@ -35,4 +35,8 @@
 
   <description></description>
 
+  <properties>
+    <current_pom_version>${pom.version}</current_pom_version>
+  </properties>
+
 </project>

Modified: directory/studio/branches/studio-maven/rcp-help/src/main/docbook/0_index.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/rcp-help/src/main/docbook/0_index.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/rcp-help/src/main/docbook/0_index.xml (original)
+++ directory/studio/branches/studio-maven/rcp-help/src/main/docbook/0_index.xml Thu Feb 
7 05:40:43 2008
@@ -46,7 +46,7 @@
 	<bookinfo>
 		<title>Apache Directory Studio</title>
 		<subtitle>User's Guide</subtitle>
-		<releaseinfo>Version 1.1.0.SNAPSHOT</releaseinfo>
+		<releaseinfo>Version ${current_pom_version}</releaseinfo>
 		<copyright>
 			<year>2007</year>
 			<holder>Apache Software Foundation</holder>

Modified: directory/studio/branches/studio-maven/schemaeditor-help/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/schemaeditor-help/pom.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/schemaeditor-help/pom.xml (original)
+++ directory/studio/branches/studio-maven/schemaeditor-help/pom.xml Thu Feb  7 05:40:43 2008
@@ -35,4 +35,8 @@
 
   <description></description>
 
+  <properties>
+    <current_pom_version>${pom.version}</current_pom_version>
+  </properties>
+
 </project>

Modified: directory/studio/branches/studio-maven/schemaeditor-help/src/main/docbook/0_index.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/schemaeditor-help/src/main/docbook/0_index.xml?rev=619409&r1=619408&r2=619409&view=diff
==============================================================================
--- directory/studio/branches/studio-maven/schemaeditor-help/src/main/docbook/0_index.xml
(original)
+++ directory/studio/branches/studio-maven/schemaeditor-help/src/main/docbook/0_index.xml
Thu Feb  7 05:40:43 2008
@@ -59,7 +59,7 @@
 	<bookinfo>
 		<title>Apache Directory Studio Schema Editor</title>
 		<subtitle>User's Guide</subtitle>
-		<releaseinfo>Version 1.1.0.SNAPSHOT</releaseinfo>
+		<releaseinfo>Version ${current_pom_version}</releaseinfo>
 		<copyright>
 			<year>2007</year>
 			<holder>Apache Software Foundation</holder>



Mime
View raw message