| Summary: | Shell page not minified | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Ken Walker <ken_walker> |
| Component: | Client | Assignee: | Ken Walker <ken_walker> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mamacdon, simon_kaegi |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ken Walker
A walkback?????? ;-) You are at least two languages behind. Hey look, there's already a bug for this open ;).
The shell page failed to concatenate+minify in recent 3.0M1 builds. Rhino appears to be choking on a regexp somewhere:
updateHTML:
[copy] Copying 2 files to /shared/eclipse/e4/orion/I201304041705/plugins/org.eclipse.orion.client.ui/web/settings
[java]
[java] Tracing dependencies for: shell/shellPage
[java] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
[java] at org.mozilla.javascript.regexp.NativeRegExp.parseTerm(NativeRegExp.java:1092)
[java] at org.mozilla.javascript.regexp.NativeRegExp.parseAlternative(NativeRegExp.java:490)
[java] at org.mozilla.javascript.regexp.NativeRegExp.parseDisjunction(NativeRegExp.java:451)
[java] at org.mozilla.javascript.regexp.NativeRegExp.compileRE(NativeRegExp.java:323)
[java] at org.mozilla.javascript.regexp.NativeRegExp.compile(NativeRegExp.java:224)
[java] at org.mozilla.javascript.regexp.NativeRegExpCtor.construct(NativeRegExpCtor.java:88)
[java] at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2440)
[java] at org.mozilla.javascript.gen._shared_eclipse_e4_orion_requirejs_dist_r_js_1._c_scanRegExp_334(Unknown Source)
Possibly related https://bugzilla.mozilla.org/show_bug.cgi?id=509036 I noticed (and fixed) some exceptions about GCLI modules not being found. The build file was missing a bunch of path entries. But the rhino-choking regex still remains. I'm guessing it's in the GCLI source somewhere, since that changed greatly in this release. Fixed by upgrading Rhino on the build machine. This build has a correctly minified shellPage: http://download.eclipse.org/orion/drops/I201304111602/ |