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>
<tasks>
<delete includeemptydirs="false">
<fileset
<tasks>
<delete includeemptydirs="false">
<fileset
- dir="/var/www/technology/linuxtools/lttng/update-nightly/">
+ dir="${lttngPackageDestination}">
<include name="**" />
</fileset>
</delete>
<copy includeemptydirs="false"
<include name="**" />
</fileset>
</delete>
<copy includeemptydirs="false"
- todir="/var/www/technology/linuxtools/lttng/update-nightly/">
+ todir="${lttngPackageDestination}">
<fileset dir="target/repository">
<include name="**" />
</fileset>
<fileset dir="target/repository">
<include name="**" />
</fileset>
<profile>
<id>lttngPackage</id>
<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>
<modules>
<module>org.eclipse.linuxtools.lttng.releng-site</module>
</modules>