Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0012251 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2010-02-12 17:37 | 2010-03-10 18:30 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | iperdomo | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP12 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 5c8482440a87 | |||
Projection | none | ETA | none | Target Version | pi | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_15 | |||
OS Version | 2.6.30-gentoo-r5 | Database version | 8.3.8 | Ant version | 1.7.1 | |||
Product Version | pi | SCM revision | ff77f743663b | |||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0012251: YUICompressor fails when used with another Rhino based tool in the same classloader | |||||||
Description | We use YUICompressor for compressing JS and CSS fails. This tool is based on Mozilla Rhino and uses a modified version of the parser [1]. If in the same classloader you use another Rhino based tool the compression process fails. This also happens with OpenJDK users. [1] http://www.julienlecomte.net/blog/2008/10/80/ [^] | |||||||
Steps To Reproduce | Check the attached file: yuicompressor-issue.zip | |||||||
Proposed Solution | Repackage Rhino 1.6R7, YUICompressor-2.4.2 and YUIAnt from org.mozilla to org.openbravo so we avoid class collision. | |||||||
Tags | No tags attached. | |||||||
Attached Files | yuicompressor-issue.zip [^] (3,066,894 bytes) 2010-02-12 17:37 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0024215) hgbot (developer) 2010-02-12 17:43 |
Repository: erp/devel/pi Changeset: 5c8482440a871c30601c77b2645cfd644808bc29 Author: Iván Perdomo <ivan.perdomo <at> openbravo.com> Date: Fri Feb 12 17:40:47 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/5c8482440a871c30601c77b2645cfd644808bc29 [^] Fixes issue 12251: JARs repackaged to avoid class collision --- M lib/build/YUIAnt.jar M lib/build/yuicompressor-2.4.2.jar M src/build.xml A lib/build/ob-rhino-1.6R7.jar --- |
(0024364) hudsonbot (developer) 2010-02-15 17:39 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/5c8482440a87 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^] |
(0024429) shuehner (administrator) 2010-02-16 17:47 |
Tested by doing install.source with js/css minimization enabled on ubuntu 9.10 with openjdk-6. As this failed before the patch consistently. Now working fine. |
Issue History | |||
Date Modified | Username | Field | Change |
2010-02-12 17:37 | iperdomo | New Issue | |
2010-02-12 17:37 | iperdomo | Assigned To | => iperdomo |
2010-02-12 17:37 | iperdomo | File Added: yuicompressor-issue.zip | |
2010-02-12 17:38 | iperdomo | Relationship added | related to 0010454 |
2010-02-12 17:38 | iperdomo | Status | new => scheduled |
2010-02-12 17:38 | iperdomo | fix_in_branch | => pi |
2010-02-12 17:43 | hgbot | Checkin | |
2010-02-12 17:43 | hgbot | Note Added: 0024215 | |
2010-02-12 17:43 | hgbot | Status | scheduled => resolved |
2010-02-12 17:43 | hgbot | Resolution | open => fixed |
2010-02-12 17:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5c8482440a871c30601c77b2645cfd644808bc29 [^] |
2010-02-15 17:39 | hudsonbot | Checkin | |
2010-02-15 17:39 | hudsonbot | Note Added: 0024364 | |
2010-02-16 17:47 | shuehner | Note Added: 0024429 | |
2010-02-16 17:47 | shuehner | Status | resolved => closed |
2010-02-16 17:47 | shuehner | Fixed in Version | => 2.50MP12 |
2010-02-17 00:01 | anonymous | sf_bug_id | 0 => |
2010-03-10 18:30 | anonymous | sf_bug_id | => 2968061 |
2019-04-05 10:01 | alostale | Relationship added | related to 0040533 |
Copyright © 2000 - 2009 MantisBT Group |