Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 87972 invoked from network); 19 Dec 2006 12:40:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2006 12:40:36 -0000 Received: (qmail 60957 invoked by uid 500); 19 Dec 2006 12:40:43 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 60877 invoked by uid 500); 19 Dec 2006 12:40:43 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 60866 invoked by uid 99); 19 Dec 2006 12:40:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 04:40:42 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [80.89.224.70] (HELO smtp.iaf.nl) (80.89.224.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 04:40:31 -0800 Received: from server.bizzdesign.nl (bizzdesign2.cust.iaf.nl [80.89.226.18] (may be forged)) by smtp.iaf.nl (8.13.1/8.13.1) with ESMTP id kBJCcnOG000562 for ; Tue, 19 Dec 2006 13:38:50 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [2.2] Duplicate (and different) versions of batik on classpath Date: Tue, 19 Dec 2006 13:39:28 +0100 Message-ID: <5E091A68F794974CAF431CA31F5AF2CC90DBD0@server.bizzdesign.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [2.2] Duplicate (and different) versions of batik on classpath Thread-Index: AccjWF5botJxAwY3ThGUfEyr8JW9WwABjVOA From: "Bart Molenkamp" To: X-IAF-MailScanner: Found to be clean X-IAF-MailScanner-From: b.molenkamp@bizzdesign.nl X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Yes, that works! Thanks! Bart. > -----Oorspronkelijk bericht----- > Van: Reinhard Poetz [mailto:reinhard@apache.org] > Verzonden: dinsdag 19 december 2006 11:26 > Aan: dev@cocoon.apache.org > Onderwerp: Re: [2.2] Duplicate (and different) versions of batik on > classpath >=20 > Bart Molenkamp wrote: > > It seems to work. Thanks for that. > > > > However, I think I found another problem related to Eclipse. Batik = has a > > dependency to rhino:js:1.5R4.1, but cocoon-core has a dependency to > > rhino:js:1.6R5. When I build my block, or when I build from the root > > pom, Maven builds against 1.6R5 (it removes 1.5R4.1 from the = classpath). > > This is correct. > > > > But when I build the Eclipse descriptors, it adds rhino:js:1.5R4.1 = to > > the classpath. That is wrong, IMO. It should add the dependency to > > rhino:js:1.6R5 (transitively trough cocoon-core's dependencies). > > > > You can see it for yourself by creating all the eclipse descriptors = for > > trunk, and then opening the block cocoon-batik-impl (you'll see the > > wrong version of rhino:js on the classpath). Is this a known = problem, or > > better, does anybody know how to solve this? >=20 > Try to exclude the dependeny on rhino:js:1.5R4.1 from the batik = library > and add > explicitly add the dependency on rhino:js:1.6R5. I haven't tried it = myself > but I > guess it could work. >=20 > -- > Reinhard P=F6tz Independent Consultant, Trainer & (IT)-Coach >=20 > {Software Engineering, Open Source, Web Applications, Apache Cocoon} >=20 > web(log): http://www.poetz.cc > -------------------------------------------------------------------- >=20 >=20 >=20 >=20 >=20 > ___________________________________________________________ > Der fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! = Mail: > http://mail.yahoo.de