Added destination parameter for LTTng specific releng site
authorBernd Hufmann <bhufmann@gmail.com>
Tue, 7 Aug 2012 14:01:38 +0000 (10:01 -0400)
committerBernd Hufmann <bhufmann@gmail.com>
Tue, 7 Aug 2012 17:28:53 +0000 (13:28 -0400)
With this commit it is possible to specify the destination directory
of the LTTng update site when building profile lttngPackage from
Maven command line. Use "-DlttngPackageDestination=<path>"

Change-Id: I89224d438dbea373655ff3b5d4c94150caa854bb
Reviewed-on: https://git.eclipse.org/r/7133
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
org.eclipse.linuxtools.lttng.releng-site/pom.xml
pom.xml

index f20d6fdc52ba3c638a92fdaa1d69bb43e35515fb..e3df47dd12dd5c00b28dc43e4bd27f35b0c6182d 100644 (file)
               <tasks>
                 <delete includeemptydirs="false">
                   <fileset
-                    dir="/var/www/technology/linuxtools/lttng/update-nightly/">
+                    dir="${lttngPackageDestination}">
                     <include name="**" />
                   </fileset>
                 </delete>
                 <copy includeemptydirs="false"
-                  todir="/var/www/technology/linuxtools/lttng/update-nightly/">
+                  todir="${lttngPackageDestination}">
                   <fileset dir="target/repository">
                     <include name="**" />
                   </fileset>
diff --git a/pom.xml b/pom.xml
index bd7a7683f15c7f7649ed17240433086d5c58e329..04e81231ef89514eb575d7f8267336065289cecd 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -87,6 +87,9 @@
   
   <profile>
     <id>lttngPackage</id>
+      <properties>
+          <lttngPackageDestination>/var/www/technology/linuxtools/lttng/update-nightly/</lttngPackageDestination>
+      </properties>
       <modules>
         <module>org.eclipse.linuxtools.lttng.releng-site</module>
       </modules>
This page took 0.028126 seconds and 5 git commands to generate.