Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362678

Summary: index.html not updating at end of Orion build
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: RelengAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.3   
Target Milestone: 0.4 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-11-02 10:29:59 EDT
The main orion build page doesn't seem to be updating when a build completes. This "permission denied" error in the build log might be related:

--------------------------
Resolving download.eclipse.org... 172.30.206.10
Connecting to download.eclipse.org|172.30.206.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

     0K .....                                                   309M=0s

2011-11-02 09:40:11 (309 MB/s) - `index.html' saved [5501]

scp: /home/data/httpd/download.eclipse.org/orion/index.html: Permission denied
Comment 1 John Arthorne CLA 2011-11-02 15:14:46 EDT
The problem was that I owned the file but the build is running as Andrew. This was unnecessary complexity in the build anyway. Rather than use an index.php like the Eclipse Platform uses, it was using a static index.html that was updated as part of the build. This improves page generation time on the download page, but adds the complexity of page generation for the main download page into the build. For example if I manually delete or cleanup builds I need to repeat this process to refresh the download page. I have just switched to a dynamic orion download page like the platform uses.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=9114854c960052b51a1d8a932976b25e3dd600be