Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Hufmann2012-08-07 14:01:38 +0000
committerBernd Hufmann2012-08-07 17:28:53 +0000
commitb96ffe48b2afedf641d68a9a979cbdc0c47008bc (patch)
treefe7a3ee3d4d323af26594f7b83f76587695b51e7
parentf58a41092706433b152bcf45385c7b37fc55e77b (diff)
downloadorg.eclipse.linuxtools-b96ffe48b2afedf641d68a9a979cbdc0c47008bc.tar.gz
org.eclipse.linuxtools-b96ffe48b2afedf641d68a9a979cbdc0c47008bc.tar.xz
org.eclipse.linuxtools-b96ffe48b2afedf641d68a9a979cbdc0c47008bc.zip
Added destination parameter for LTTng specific releng site
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>
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.releng-site/pom.xml4
-rw-r--r--lttng/pom.xml3
2 files changed, 5 insertions, 2 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng.releng-site/pom.xml b/lttng/org.eclipse.linuxtools.lttng.releng-site/pom.xml
index f20d6fdc52..e3df47dd12 100644
--- a/lttng/org.eclipse.linuxtools.lttng.releng-site/pom.xml
+++ b/lttng/org.eclipse.linuxtools.lttng.releng-site/pom.xml
@@ -42,12 +42,12 @@
<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/lttng/pom.xml b/lttng/pom.xml
index bd7a7683f1..04e81231ef 100644
--- a/lttng/pom.xml
+++ b/lttng/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>

Back to the top