Ticket #2527981 (closed defect)

Reporter


Adam Moore
Opened: 07/6/09
Last modified: 12/12/12
Status: closed
Type: defect
Resolution: wontfix

Owner


Adam Moore
Target Release:
Priority: P3 (normal)
Summary: Release jar needs a rule set to minimize classpath conflicts when used in a build environment that has Rhino
Description:

From ydn-javascript:

If you're having problems because there are other libraries which depends on an other Mozilla Rhino implementation you can do the following so that the YUICompressor uses
its own Rhino version exclusive (to the YUI developer: Please do this with your binary release):

1. Download JARJAR from http://code.google.com/p/jarjar
2. Create a rules file (e.g. yui-rules.txt) with this content:

rule jargs.gnu.** com.yahoo.platform.yui.@0
rule org.mozilla.** com.yahoo.platform.yui.@0
keep com.yahoo.**

3. Generate a new YUICompressor JAR with all(!) classes inside the com.yahoo.platform.yui context so no more library conflicts will be possible:

java -jar jarjar-1.0.jar process yui-rules.txt yuicompressor-2.4.2.jar yuicompressor-jarjar-2.4.2.jar

Now use the newly created yuicompressor-jarjar-2.4.2.jar in your app.

Type: defect Observed in Version: 2.4.2
Component: YUICompressor Severity: S3 (normal)
Assigned To: Adam Moore Target Release:
Location: Priority: P3 (normal)
Tags: Relates To: #1859529, #2528056, #2528114
Browsers: N/A
URL:
Test Information:

Change History

George

YUI Developer

Posted: 09/23/09

George

YUI Developer

Posted: 01/30/10

bob harner

Posted: 07/5/12
  • relatesto changed to 2528056, 2528114, 1859529

Jenny Donnelly

YUI Developer

Posted: 12/12/12
  • resolution changed to wontfix
  • status changed from assigned to closed

Thank you for your bug report. We are deprecating YUI Compressor in favor of yuglify. Please see our announcement for more information: http://www.yuiblog.com/blog/2012/10/16/state-of-yui-compressor/. We will consider migrating these legacy tickets to GitHub if there are community maintainers willing to step up and own them.