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

Bug 492751

Summary: Update org.mozilla.javascript to version 1.7.5
Product: [WebTools] JSDT Reporter: Carl Anderson <ccc>
Component: GeneralAssignee: Victor Rubezhny <vrubezhny>
Status: RESOLVED FIXED QA Contact: Victor Rubezhny <vrubezhny>
Severity: blocker    
Priority: P3 CC: ccc, david_williams
Version: unspecified   
Target Milestone: 3.8 M7   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 462695    
Bug Blocks:    

Description Carl Anderson CLA 2016-04-29 16:25:08 EDT
The latest Orbit for Eclipse Neon has org.mozilla.javascript 1.7.5, but org.eclipse.wst.jsdt_sdk.feature still references 1.7.4.  This breaks the build and prevents us from moving up to the Eclipse M7 Orbit (which we have to move up to).
Comment 1 David Williams CLA 2016-04-29 18:06:48 EDT
That must have been one of the old ones I got rid of, not noticing it was "in use". 

If you find you really need that old version for some reason, it can be restored. 
But, I hope it will be a "drop-in" replacement. 

Let me know.
Comment 3 Victor Rubezhny CLA 2016-04-29 18:27:00 EDT
(In reply to David Williams from comment #1)
> That must have been one of the old ones I got rid of, not noticing it was
> "in use". 
> 
> If you find you really need that old version for some reason, it can be
> restored. 
> But, I hope it will be a "drop-in" replacement. 
> 
> Let me know.

No need for old version for Rhino, I believe. 

But I'm wondered why the build isn't working. I thought it shouldn't fail with having:

Require-Bundle: org.mozilla.javascript;bundle-version="1.7.4"

...in MANIFEST and real version 1.7.5 in Orbit.
Comment 4 Victor Rubezhny CLA 2016-04-29 20:27:04 EDT
Need to update jsdt_sdk feature
Comment 5 Victor Rubezhny CLA 2016-04-29 20:32:11 EDT
JSDT and JSDT SDK features are updated:

https://git.eclipse.org/c/jsdt/webtools.jsdt.git/commit/?id=9a7fd9a01a945bccddee5977391c95f6183073c4
Comment 6 David Williams CLA 2016-04-30 01:37:24 EDT
(In reply to Victor Rubezhny from comment #3)

> 
> But I'm wondered why the build isn't working. I thought it shouldn't fail
> with having:
>
> Require-Bundle: org.mozilla.javascript;bundle-version="1.7.4"
> ...in MANIFEST and real version 1.7.5 in Orbit.

It is due to the feature. 
If you "include" feature version 1.7.4.qualifier, that implies a range of [1.7.4,1.7.5) -- which is, how you want it, btw, so it is "predictable" exactly what is included.