rcp: Remove the symlinks for the nightly downloads
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 5 Dec 2014 20:23:51 +0000 (15:23 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 5 Dec 2014 22:28:14 +0000 (17:28 -0500)
Turns out symlinks don't work on downloads.eclipse.org, probably
for good reasons, so we'll just upload the archives and display
a PHP page that lists them.

Change-Id: I2e337c84ce50e107bed3f05bcb93ab47b54f82dc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37693
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
org.eclipse.tracecompass.rcp.product/pom.xml

index c4f6da463aef2581c2f931b262c8147f758aac41..58978bfe2d45e67f4af6c6cd4252b20ab81790e6 100644 (file)
                 <configuration>
                   <target>
                     <!-- Delete the current contents of the destination -->
-                    <symlink action="delete" link="${rcpDestination}/trace-compass-latest-linux.gtk.x86_64.tar.gz" />
-                    <symlink action="delete" link="${rcpDestination}/trace-compass-latest-linux.gtk.x86.tar.gz" />
-                    <symlink action="delete" link="${rcpDestination}/trace-compass-latest-macosx.cocoa.x86_64.tar.gz" />
-                    <symlink action="delete" link="${rcpDestination}/trace-compass-latest-win32.win32.x86_64.zip" />
-                    <symlink action="delete" link="${rcpDestination}/trace-compass-latest-win32.win32.x86.zip" />
                     <delete includeemptydirs="false">
                       <fileset dir="${rcpDestination}">
                         <include name="**" />
                       </fileset>
                     </delete>
 
-                    <!-- Copy the archives to the destination -->
+                    <!-- Copy the new archives to the destination -->
                     <copy includeemptydirs="false" todir="${rcpDestination}">
                       <fileset dir="${productDir}">
                         <include name="trace-compass-*" />
                       </fileset>
                     </copy>
-
-                    <!-- Re-create the symlinks pointing to the latest archives -->
-                    <symlink link="${rcpDestination}/trace-compass-latest-linux.gtk.x86_64.tar.gz"    resource="trace-compass-${project.version}-${build.timestamp}-linux.gtk.x86_64.tar.gz" />
-                    <symlink link="${rcpDestination}/trace-compass-latest-linux.gtk.x86.tar.gz"       resource="trace-compass-${project.version}-${build.timestamp}-linux.gtk.x86.tar.gz" />
-                    <symlink link="${rcpDestination}/trace-compass-latest-macosx.cocoa.x86_64.tar.gz" resource="trace-compass-${project.version}-${build.timestamp}-macosx.cocoa.x86_64.tar.gz" />
-                    <symlink link="${rcpDestination}/trace-compass-latest-win32.win32.x86_64.zip"     resource="trace-compass-${project.version}-${build.timestamp}-win32.win32.x86_64.zip" />
-                    <symlink link="${rcpDestination}/trace-compass-latest-win32.win32.x86.zip"        resource="trace-compass-${project.version}-${build.timestamp}-win32.win32.x86.zip" />
                   </target>
                 </configuration>
               </execution>
This page took 0.02698 seconds and 5 git commands to generate.