Article View: borland.public.jbuilder.java.language
Article #17861Re: Deployment Wizzard
From: John P. McGrath
Date: Mon, 14 Sep 1998 00:00
Date: Mon, 14 Sep 1998 00:00
36 lines
1800 bytes
1800 bytes
Jchart.com <paul@jchart.com> wrote: > The error I get is: > bad path: > D:\_psr\aepco\psrhome\class\com\sun\java\swing\plaf\metal\MetalLookAndFeel.class > > With a little investigation, using jar -tf [myjarfile].jar I found that > com\sun\java\swing\plaf\metal\MetalLookAndFeel.class was not included in > the archive created by the wizzard. > > What's up with that???? Has this most elementry task been tested??? The reason that it is not included is that there is no reference to the class in any of the Java code in your application, or in the library classes that it does reference. Java allows programs to dynamically load class files, generating the names of the classes on the fly. So it is impossible for any tool such as the Deployment Wizard to detect every class that will be needed at run time. Swing uses such techniques to load the look-and-feel classes, so the Deployment Wizard is unable to figure out that the MetalLookAndFeel class is needed. However, Borland could add options to the Deployment Wizard that deals with that specific case. Perhaps they could a few checkboxes for the various Swing look-and-feels. It would make life easier for those who use the Deployment Wizard (a group of which I am not a member). -- Regards, John P. McGrath <mcgrath@enter.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.106684be83f4748e989696@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35EE9DEE.92F69BC9@jchart.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,49c1cad3b5dcb397 X-Google-Attributes: gidf74b3,public From: mcgrath@enter.net (John P. McGrath) Subject: Re: Deployment Wizzard Date: 1998/09/14 Message-ID: <MPG.106684be83f4748e989696@forums.inprise.com> X-Deja-AN: 390906313 References: <35EE9DEE.92F69BC9@jchart.com> Organization: Software Consulting Services Newsgroups: borland.public.jbuilder.java.language