directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r698281 - in /directory/studio/trunk: apacheds-configuration-help/ apacheds-help/ help-pom.xml ldapbrowser-help/ ldifeditor-help/ pom.xml rcp-help/ schemaeditor-help/
Date Tue, 23 Sep 2008 18:50:08 GMT
Author: felixk
Date: Tue Sep 23 11:50:07 2008
New Revision: 698281

URL: http://svn.apache.org/viewvc?rev=698281&view=rev
Log:
Speed up the build (putting some meat to the bone)
- *help modules are activated if the file 'timestamp' doesn't exists
- the file *help/timestamp is created when running the goal 'install'
- the file *help/timestamp is deleted when running the goal 'clean'

The configuration of the clean goal (<include>**/timestamp</include>) isn't very
nice. Ideas for a better solution are welcome.

-> On the first run of 'install' everything is built.
   To avoid further builds of *help just run mvn install.
-> When run mvn clean install everything will be built again

CI is always run including the goal 'clean'

Modified:
    directory/studio/trunk/apacheds-configuration-help/   (props changed)
    directory/studio/trunk/apacheds-help/   (props changed)
    directory/studio/trunk/help-pom.xml
    directory/studio/trunk/ldapbrowser-help/   (props changed)
    directory/studio/trunk/ldifeditor-help/   (props changed)
    directory/studio/trunk/pom.xml
    directory/studio/trunk/rcp-help/   (props changed)
    directory/studio/trunk/schemaeditor-help/   (props changed)

Propchange: directory/studio/trunk/apacheds-configuration-help/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 23 11:50:07 2008
@@ -5,3 +5,4 @@
 .settings
 .classpath
 .project
+timestamp

Propchange: directory/studio/trunk/apacheds-help/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 23 11:50:07 2008
@@ -2,3 +2,4 @@
 target
 .classpath
 .project
+timestamp

Modified: directory/studio/trunk/help-pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/help-pom.xml?rev=698281&r1=698280&r2=698281&view=diff
==============================================================================
--- directory/studio/trunk/help-pom.xml (original)
+++ directory/studio/trunk/help-pom.xml Tue Sep 23 11:50:07 2008
@@ -295,6 +295,7 @@
                   <outputproperty name="encoding" value="iso8859_1" />
                   <outputproperty name="indent" value="es" />
                 </xslt>
+                <touch file="timestamp" />
               </tasks>
             </configuration>
             <goals>

Propchange: directory/studio/trunk/ldapbrowser-help/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 23 11:50:07 2008
@@ -5,3 +5,4 @@
 .settings
 .classpath
 .project
+timestamp

Propchange: directory/studio/trunk/ldifeditor-help/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 23 11:50:07 2008
@@ -5,3 +5,4 @@
 .settings
 .classpath
 .project
+timestamp

Modified: directory/studio/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/pom.xml?rev=698281&r1=698280&r2=698281&view=diff
==============================================================================
--- directory/studio/trunk/pom.xml (original)
+++ directory/studio/trunk/pom.xml Tue Sep 23 11:50:07 2008
@@ -103,6 +103,72 @@
         <maven.test.skip>true</maven.test.skip>
       </properties>
     </profile>
+    <profile>
+      <id>schemaeditor-help</id>
+      <activation>
+        <file>
+          <missing>schemaeditor-help/timestamp</missing>
+        </file>
+      </activation>
+      <modules>
+        <module>schemaeditor-help</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>ldapbrowser-help</id>
+      <activation>
+        <file>
+          <missing>ldapbrowser-help/timestamp</missing>
+        </file>
+      </activation>
+      <modules>
+        <module>ldapbrowser-help</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>ldifeditor-help</id>
+      <activation>
+        <file>
+          <missing>ldifeditor-help/timestamp</missing>
+        </file>
+      </activation>
+      <modules>
+        <module>ldifeditor-help</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>apacheds-configuration-help</id>
+      <activation>
+        <file>
+          <missing>apacheds-configuration-help/timestamp</missing>
+        </file>
+      </activation>
+      <modules>
+        <module>apacheds-configuration-help</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>apacheds-help</id>
+      <activation>
+        <file>
+          <missing>apacheds-help/timestamp</missing>
+        </file>
+      </activation>
+      <modules>
+        <module>apacheds-help</module>
+      </modules>
+    </profile>
+    <profile>
+      <id>rcp-help</id>
+      <activation>
+        <file>
+          <missing>rcp-help/timestamp</missing>
+        </file>
+      </activation>
+      <modules>
+        <module>rcp-help</module>
+      </modules>
+    </profile>
   </profiles>
 
   <dependencyManagement>
@@ -981,22 +1047,16 @@
     <module>aciitemeditor</module>
     <module>schemaeditor</module>
     <module>schemaeditor-feature</module>
-    <module>schemaeditor-help</module>
     <module>rcp</module>
     <module>rcp-feature</module>
-    <module>rcp-help</module>
     <module>ldifeditor</module>
     <module>ldifeditor-feature</module>
-    <module>ldifeditor-help</module>
     <module>ldapbrowser-ui</module>
     <module>ldapbrowser-feature</module>
-    <module>ldapbrowser-help</module>
     <module>apacheds-configuration</module>
     <module>apacheds-configuration-feature</module>
-    <module>apacheds-configuration-help</module>
     <module>apacheds-launcher</module>
     <module>apacheds</module>
-    <module>apacheds-help</module>
     <module>apacheds-feature</module>
     <module>jars</module>
     <module>test-integration-core</module>
@@ -1108,6 +1168,21 @@
             -->
           </dependencies>
         </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-clean-plugin</artifactId>
+            <configuration>
+              <filesets>
+                <fileset>
+                  <directory>.</directory>
+                  <includes>
+                    <include>**/timestamp</include>
+                  </includes>
+                  <followSymlinks>false</followSymlinks>
+                </fileset>
+              </filesets>
+            </configuration>
+          </plugin>
       </plugins>
     </pluginManagement>
 

Propchange: directory/studio/trunk/rcp-help/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 23 11:50:07 2008
@@ -5,3 +5,4 @@
 .settings
 .classpath
 .project
+timestamp

Propchange: directory/studio/trunk/schemaeditor-help/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 23 11:50:07 2008
@@ -5,3 +5,4 @@
 .settings
 .classpath
 .project
+timestamp



Mime
View raw message