Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010454
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminorN/A2009-09-01 18:062009-11-12 00:00
ReporterTDTwisterView Statuspublic 
Assigned Tojpabloae 
PrioritynormalResolutionno change requiredFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_0
OS VersionUbuntu 9.04Database version8.3.7Ant version1.7.1
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010454: Can not minimize JS and CSS

DescriptionI tried to run ant install.source in order to compile the Openbravo ERP from source. The following error comes up:
generate.sprites:

minimizeJSandCSS:
[yuicompress] Compressing /home/tdtwister/Projects/openbravo/web/images/Logos.css to /home/tdtwister/Projects/openbravo/WebContent/web/images/Logos.css
[yuicompress] Compressing /home/tdtwister/Projects/openbravo/web/js/DHTMLgoodies/context-menu.js to /home/tdtwister/Projects/openbravo/WebContent/web/js/DHTMLgoodies/context-menu.js
[yuicompress] Error compressing /home/tdtwister/Projects/openbravo/web/js/DHTMLgoodies/context-menu.js, null

BUILD FAILED
/home/tdtwister/Projects/openbravo/build.xml:507: The following error occurred while executing this line:
/home/tdtwister/Projects/openbravo/build.xml:297: The following error occurred while executing this line:
/home/tdtwister/Projects/openbravo/build.xml:302: The following error occurred while executing this line:
/home/tdtwister/Projects/openbravo/src/build.xml:386: The following error occurred while executing this line:
/home/tdtwister/Projects/openbravo/src/build.xml:463: The following error occurred while executing this line:
/home/tdtwister/Projects/openbravo/src/build.xml:496: The following error occurred while executing this line:
/home/tdtwister/Projects/openbravo/src/build.xml:559: Error compressing /home/tdtwister/Projects/openbravo/web/js/DHTMLgoodies/context-menu.js, null

It works ok if I turn off the compress flag off from the configuration. I also tried to compiling 2.50MP3 and I got the same error.
Steps To ReproduceDownload the latest version of Openbravo ERP source code. Compile it with ant install.source.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0012251pi closediperdomo YUICompressor fails when used with another Rhino based tool in the same classloader 

-  Notes
(0021518)
jpabloae (reporter)
2009-11-02 18:59

It looks like you are using OpenJDK 6.

This an issue in OpenJDK, not Openbravo ERP:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/287035 [^]

Right now Openbravo ERP does not officially support OpenJDK. So your solution should be to use sun-java6-jdk instead.

Alternatively if you want to experiment with OpenJDK the workaround for this specific issue is to remove the symlink in /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar
(0021745)
jpabloae (reporter)
2009-11-11 23:44
edited on: 2010-01-28 21:37

Closed because OpenJDK is not supported yet and because it's a OpenJDK issue in any case.


- Issue History
Date Modified Username Field Change
2009-09-01 18:06 TDTwister New Issue
2009-09-01 18:06 TDTwister Assigned To => rafaroda
2009-09-14 12:33 psarobe Status new => scheduled
2009-09-14 12:33 psarobe Assigned To rafaroda => shuehner
2009-09-14 12:33 psarobe fix_in_branch => pi
2009-11-02 18:59 jpabloae Note Added: 0021518
2009-11-02 19:03 jpabloae Assigned To shuehner => jpabloae
2009-11-02 19:03 jpabloae Status scheduled => feedback
2009-11-11 23:44 jpabloae Note Added: 0021745
2009-11-11 23:44 jpabloae Status feedback => closed
2009-11-11 23:44 jpabloae Resolution open => no change required
2009-11-12 00:00 anonymous sf_bug_id 0 => 2896283
2010-01-28 21:37 jpabloae Note Edited: 0021745
2010-02-12 17:38 iperdomo Relationship added related to 0012251


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker