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

Bug 207088

Summary: Add HP-UX back into build
Product: [Eclipse Project] Platform Reporter: Bogdan Gheorghe <gheorghe>
Component: RelengAssignee: Kim Moir <kim.moir>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gheorghe, kim.moir
Version: 3.4   
Target Milestone: 3.4 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 207087    
Bug Blocks:    
Attachments:
Description Flags
patch to builder, platform, rcp and master-root features
none
patches rcp, platform, master-root features + builder
none
better patch to fix some typos
none
patch to change permissions on hpux launcher lib after packaging none

Description Bogdan Gheorghe CLA 2007-10-22 16:41:22 EDT
We have a new HPUX machine! I am opening this bug to allow us to keep track of the little guy's progress as he ventures to join his sibling platforms on the build page.
Comment 1 Kim Moir CLA 2007-10-22 16:53:09 EDT
Is its swt fragment up to date and ready to be included in the build?

Comment 2 Bogdan Gheorghe CLA 2007-10-25 18:17:53 EDT
Our fragment is ready to go and the map file is updated as well.
Comment 3 Kim Moir CLA 2007-10-26 16:15:23 EDT
Created attachment 81296 [details]
patch to builder, platform, rcp and master-root features
Comment 4 Kim Moir CLA 2007-10-26 16:24:32 EDT
Created attachment 81297 [details]
patches rcp, platform, master-root features + builder
Comment 5 Kim Moir CLA 2007-10-28 21:09:59 EDT
Created attachment 81413 [details]
better patch to fix some typos
Comment 6 Kim Moir CLA 2007-10-29 08:58:15 EDT
running another test build now
Comment 7 Kim Moir CLA 2007-10-29 15:00:07 EDT
Test build was successful and changes have been released for 6pm build. Bogdan, please verify the build in the test build link I sent you.

Also, I have to update the build page so it shows an HPUX tab again.
Comment 8 Bogdan Gheorghe CLA 2007-10-30 12:32:05 EDT
I've tried out the I20071030-0010 build and it worked with some tweaks:

- the launcher shared library didn't have the executable permission set (Andrew is investigating this)

- the SWT native libraries in the jar were not properly renamed (I've fixed this both in HEAD and in our build scripts )

So I think we are almost done with this. The other thing I wanted to mention is that we need to add a click through page for HPUX. We have the same case on HPUX as on PPC, whereby you need to disable locking in order to launch any workspace. Here is the blurb from the PPC click through, we can probably use it for HPUX as well:

Eclipse fails to create a lock file with reason "No locks available."  To launch eclipse you must disable file 
locking using the osgi.locking property. For example, you could launch eclipse as follows:

"eclipse -vmargs -Dosgi.locking=none".
Comment 9 Kim Moir CLA 2007-10-30 14:05:41 EDT
The click through has been updated.  Also, I've released changes to the packaging.properties for the SDK, platform, platform.sdk, rcp and rcp.sdk  so the launcher libraries have the correct 755 permissions.
Comment 10 Kim Moir CLA 2007-11-01 15:32:35 EDT
Created attachment 81874 [details]
patch to change permissions on hpux launcher lib after packaging
Comment 11 Kim Moir CLA 2007-11-02 09:23:19 EDT
Bogdan, can you verify that the I20071101-2000 HPUX build starts without having to change the permissions on the launcher library.  I have verified that the permissions are correct but in the zip would to see it start up on the actual hardware.
Comment 12 Bogdan Gheorghe CLA 2007-11-02 12:08:57 EDT
Kim, I tried out the build and it worked well right out of the box (actually, out of the zip if you want to be specific).

The only other thing I thought I should mention is that the error message you get if you don't follow the directions on the HP-UX click through page is different then what we have posted.

Right now the click through says:

Otherwise, eclipse fails to create a lock file with reason "No locks available."

We should change this to:

Otherwise, eclipse fails to create a lock file with reason: "Workspace in use or cannot be created, choose a different one."
Comment 13 Kim Moir CLA 2007-11-02 13:43:40 EDT
I've changed the clickthroughs in the map project and on the I20071101-2000 build page.

Closing this bug.