🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12306

Re: JCL and Swing-1.1 clash

#12306
From: Greg Hamer
Date: Mon, 18 Jan 1999 00:00
38 lines
2446 bytes
I believe that this could be a bug in the dependency checker. Dependency
information is created on a package by package basis. When the same package
appears in two (or more) separte jars, the dependency checker finds the
dependency file for the first jar on the classpath, and assumes that it
contains information for all the classes in that package. This causes the
compiler to not be able to loacte any classes for that package that only
appear in the second jar. By switching the order of the  jars, you switch
the list of visible classes. A workaround is to find the package that is
split accross two jars and place them all of its classes in one jar or the
other, and delete its dependency files. The next time the compiler needs the
dependency information, it will generate an accurate one from scratch.

Andrew Fellows wrote:

> Having just completed a component for a project I was suprised to find
> that it wouldn't compile in the JBuilder IDE ... after checking the
> project properties and seeing the libraries pointed to the right place I
> was eventually reduced to changing the order in which the libraries
> appear in the list ......results :
>
> If JCL is before Swing .... errors
> If Swing before JCL ........ no errors
>
> The error in question is about CellRenderer ...... but this isn't the
> real problem as far as I can see... the real problem is why should the
> order of the libraries make a difference ??... all the classes belong to
> various packages so no name space clash should be happening ..... it's
> very frustrating to have something working with the vanilla JDK/Swing
> and not working in JBuilder even though ( so the property panel tells me
> ) it's using the same libraries ....
>
> Any ideas are appreciated , please CC it to my email
>
> Thanks
>
> Andrew Fellows
> Software Developer
> Sydac
Technical Details
Message-ID: <36A40BFD.1B13541D@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36995224.60C3A5EF@sydac.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6f2e323a34bcb6e0
X-Google-Attributes: gid111d45,public
From: Greg Hamer <ghamer@inprise.com>
Subject: Re: JCL and Swing-1.1 clash
Date: 1999/01/18
Message-ID: <36A40BFD.1B13541D@inprise.com>
X-Deja-AN: 434286640
Content-Transfer-Encoding: 7bit
References: <36995224.60C3A5EF@sydac.com.au>
To: Andrew Fellows <afellows@sydac.com.au>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing