RE: [core-dev] Progress (and 2 setbacks) on LimeWire.org

"Sam Berlin" <[email protected]> Wed, 29 Dec 2004 22:58:12 -0500
Newsgroups gmane.network.gnutella.limewire.core.devel
Organization LimeWire
Message-ID <[email protected]>
The missing class errors you're seeing are because the extra jars (daap.jar,
looks.jar, etc..) aren't added into the LimeWire.jar's manifest.  The 'build
jar' target in gui's build.xml was added for testing stuff on OSX, where the
classpath is explicitly defined.  On Windows, the classpath is built from
the jar's manifest.

 

Thanks,

 Sam

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Elias Kouslais
Sent: Wednesday, December 29, 2004 10:51 PM
To: [email protected]
Subject: [core-dev] Progress (and 2 setbacks) on LimeWire.org

 

Hello again...I got a little further (actually a lot, but still not 100%). I
have figured out how to build core.jar and then execute the "ant
LimeWireJar" 
target from the GUI branch. This, in turn, appears to add core.jar contents
to
a new LimeWire.jar which is almost (but apparently not exactly) the same as
the
one I am trying to replace. I can actually run LimeWire.exe now, and my own
LimeWire.jar is used. But I do get a few missing class errors (below) that I
can't 
seem to resolve. I have searched through the code that came with the 4.2.6 
source snapshot (Zip archive) that I downloaded from Limewire.org, but the
TransactionListener and PlasticButtonUI classes aren't there. I also looked
for
them inside of the original LimeWire.jar, but there weren't in there either
so
I started to look in other JARs. I found TransactionListener in  daap.jar,
and
PlasticButtonUI in looks.jar. So, they're available but my LimeWire.jar is 
clearly close but not quite right. When I remove it and put back the
original
LimeWire.jar everything works just fine, but as soon as I try to use my own 
LimeWire.jar these error pop up. Strange...I imagine there must be one last 
step to creating LimeWire.jar that I'm missing.

.... I'll keep working on it, and in the meantime thought I'd pass on the
two exceptions that I get that mention these classes.... Eli

----------------------------------------------------------------------------
---
1) When LimeWire.exe is run the following fatal error is reported:

java.lang.NoClassDefFoundError: de/kapsi/net/daap/TransactionListener
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 at
com.limegroup.gnutella.gui.VisualConnectionCallback$7.run(VisualConnectionCa
llback.java:235)
 at
com.limegroup.gnutella.util.ProcessingQueue$Processor.run(ProcessingQueue.ja
va:84)
 at java.lang.Thread.run(Unknown Source)
 at
com.limegroup.gnutella.util.ManagedThread.managedRun(ManagedThread.java:60)
 at com.limegroup.gnutella.util.ManagedThread.run(ManagedThread.java:49)


----------------------------------------------------------------------------
----
2) When a skin other than the default is used the following is thrown:

java.lang.NoClassDefFoundError: com.jgoodies.plaf.plastic.PlasticButtonUI
 at
com.limegroup.gnutella.gui.LimeLookAndFeel.class$(LimeLookAndFeel.java:54)
 at
com.limegroup.gnutella.gui.LimeLookAndFeel.initClassDefaults(LimeLookAndFeel
.java:54)
 at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(Unknown Source)
 at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(Unknown Source)
 at javax.swing.UIManager.setLookAndFeel(Unknown Source)
 at
com.limegroup.gnutella.gui.ResourceManager.themeChanged(ResourceManager.java
:636)
 at
com.limegroup.gnutella.gui.GUIMediator.setCurrentTheme(GUIMediator.java:2053
)
 at
com.limegroup.gnutella.gui.menu.ThemeMenu$ThemeChangeListener.actionPerforme
d(ThemeMenu.java:195)
 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
 at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)
 at javax.swing.AbstractButton.doClick(Unknown Source)
 at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
 at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unkno
wn Source)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Window.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
----------------------------------------------------------------------

  _____  

Walla! Mail - get your free 1G mail today <http://www.walla.com>

_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev