This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160702 - Build is failing due to conflict between libraries
Summary: Build is failing due to conflict between libraries
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Other All
: P1 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 08:34 UTC by Jaroslav Tulach
Modified: 2009-03-21 08:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-03-20 08:34:46 UTC
Either ruby or web duplicated bsf*.jar library:
http://deadlock.netbeans.org/hudson/job/trunk/5330/

Error Message
Some binaries are duplicated
Stacktrace
Some binaries are duplicated
enterprise5/modules/ext/struts/bsf-2.3.0.jar and ruby2/jruby-1.2.0/lib/bsf.jar are identical
Comment 1 Erno Mononen 2009-03-20 08:55:01 UTC
I upgraded JRuby yesterday, which added bsf.jar. Something must be wrong in the ruby job config since the changeset 
made it through to main. Currently it runs commit-validation; what is it supposed to run?

Anyway, I don't think we can assume that Struts and JRuby will always require the same version of bsf.jar, and 
introducing an additional API module for this (and complicating the JRuby build) seeems unnecessary. IMO the duplicate 
should be whitelisted.
Comment 2 Erno Mononen 2009-03-20 09:00:27 UTC
Turns out it is already whitelisted, just that the jruby version doesn't match anymore in ignore-binary-overlaps. I'll 
update it.
Comment 3 Erno Mononen 2009-03-20 09:09:46 UTC
Fixed: http://hg.netbeans.org/ruby-main/rev/fe419f05fc48.
Comment 4 Quality Engineering 2009-03-21 08:41:05 UTC
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fe419f05fc48
User: Erno Mononen <emononen@netbeans.org>
Log: #160702: Build is failing due to conflict between libraries