This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit 47c16f23652dfa903bcb98941aea16d491ba3641
Author: aherbert <aherb...@apache.org>
AuthorDate: Wed Nov 13 17:20:48 2019 +0000

    Update the svn site checkout to use regex for modules.
---
 pom.xml | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4365fca..a9ae526 100644
--- a/pom.xml
+++ b/pom.xml
@@ -490,28 +490,30 @@
                       <arg line="checkout --depth immediates 
${commons.scmPubUrl}/commons-rng-examples 
${commons.scmPubCheckoutDirectory}/commons-rng-examples" />
                     </exec>
 
-                    <!-- Do not download the archived javadocs. This will 
delete the 'javadocs' directory. -->
                     <pathconvert pathsep=" " property="javadocsDirs">
-                      <dirset dir="${commons.scmPubCheckoutDirectory}" 
includes="commons-rng-*/javadocs" />
+                      <dirset dir="${commons.scmPubCheckoutDirectory}" 
includes="commons-${commons.componentid}-*/javadocs" />
+                    </pathconvert>
+                    <pathconvert pathsep=" " property="nonModuleDirs">
+                      <dirset dir="${commons.scmPubCheckoutDirectory}" 
includes="*" excludes="commons-${commons.componentid}-*" />
                     </pathconvert>
+
+                    <!-- Do not download the archived javadocs. This will 
delete the 'javadocs' directory. -->
                     <exec executable="svn">
                       <arg line="update --set-depth exclude ${javadocsDirs}" />
                     </exec>
 
-                    <!-- Update the modules without the javadocs. -->
-                    <pathconvert pathsep=" " property="modulesDirs">
-                      <dirset dir="${commons.scmPubCheckoutDirectory}" 
includes="commons-rng-client-api/*,commons-rng-core/*,commons-rng-simple/*,commons-rng-sampling/*,commons-rng-examples/*"
 />
+                    <pathconvert pathsep=" " property="modulesDirsNoJavadocs">
+                      <dirset dir="${commons.scmPubCheckoutDirectory}" 
includes="commons-${commons.componentid}-*/*" />
                     </pathconvert>
+
+                    <!-- Update the modules without the javadocs. -->
                     <exec executable="svn">
-                      <arg line="update --set-depth infinity ${modulesDirs}" />
+                      <arg line="update --set-depth infinity 
${modulesDirsNoJavadocs}" />
                     </exec>
 
                     <!-- Update the remaining non-module directories -->
-                    <pathconvert pathsep=" " property="dirs">
-                      <dirset dir="${commons.scmPubCheckoutDirectory}" 
includes="*" 
excludes="commons-rng-client-api,commons-rng-core,commons-rng-simple,commons-rng-sampling,commons-rng-examples"
 />
-                    </pathconvert>
                     <exec executable="svn">
-                      <arg line="update --set-depth infinity ${dirs}" />
+                      <arg line="update --set-depth infinity ${nonModuleDirs}" 
/>
                     </exec>
                   </target>
                 </configuration>

Reply via email to