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

Bug 435646

Summary: Gerritfs jar needs a constant location
Product: [ECD] Orion Reporter: Bogdan Gheorghe <gheorghe>
Component: RelengAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: antonm, john.arthorne, libingw, mamacdon, ryehle
Version: 6.0   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Bogdan Gheorghe CLA 2014-05-23 10:40:04 EDT
In order for consumers to integrate the gerritfs.jar into their build process, we need to have some constant link that points to the latest jar. The hope is that they can do a wget on the constant URL and get the latest up to date jar.

Something like:

http://download.eclipse.org/orion/drops/gerritfs/ 

==>

http://www.eclipse.org/downloads/download.php?file=/orion/drops/I20140523-0219/gerritfs.jar&r=1
Comment 1 Robin Bobbitt CLA 2014-06-16 08:58:46 EDT
Thanks Bogdan. Is this on the radar to be completed any time soon? Thanks!
Comment 3 Anthony Hunter CLA 2015-03-17 16:42:50 EDT
(In reply to Anthony Hunter from comment #2)
> The latest gerritfs.jar is available at
> http://download.eclipse.org/orion/stable/gerritfs.jar
> 
> which is the latest
> http://download.eclipse.org/orion/drops/S-7.0S1-201407160323/download.
> php?dropFile=gerritfs.jar

Since the gerritfs.jar is created by every Orion build and Orion builds are now automatically published by Hudson, we can update the publish script to also update the gerritfs.jar in the stable location with each Orion build.

The publish log and hudson build log will now have the line:

Update gerritfs.jar in /home/data/httpd/download.eclipse.org/orion/stable

The latest gerritfs.jar is available at:
http://download.eclipse.org/orion/stable/gerritfs.jar

There is also a README to reference at:
http://download.eclipse.org/orion/stable/README

which will contain:
gerritfs.jar copied from build I20150317-1614

(Starting with the next build tonight).

The changes are delivered with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=a0a57b94ae877322e229612a9f1abe70bb39070e
Comment 4 Mark Macdonald CLA 2015-03-18 09:48:29 EDT
There was a permissions problem copying gerritfs.jar in last night's build:

> Copied built-editor.zip
> Copied built-compare.zip
> Update gerritfs.jar in /home/data/httpd/download.eclipse.org/orion/stable
> cp: cannot create regular file `/home/data/httpd/download.eclipse.org/orion/stable/gerritfs.jar': Permission denied
Comment 5 Anthony Hunter CLA 2015-03-18 10:59:25 EDT
(In reply to Mark Macdonald from comment #4)
> There was a permissions problem copying gerritfs.jar in last night's build:
> 
> > Copied built-editor.zip
> > Copied built-compare.zip
> > Update gerritfs.jar in /home/data/httpd/download.eclipse.org/orion/stable
> > cp: cannot create regular file `/home/data/httpd/download.eclipse.org/orion/stable/gerritfs.jar': Permission denied

Fixed:

> Copied built-editor.zip
> Copied built-compare.zip
> Update gerritfs.jar in /home/data/httpd/download.eclipse.org/orion/stable