problem with debuging vassal

Hello
I start wirh programing Vassal
I have problem with run program in eclipse
When I start run in conssole displays errors :

"java.lang.NoClassDefFoundError: VASSAL/configure/ExtensionEditWindow
Caused by: java.lang.ClassNotFoundException: VASSAL.configure.ExtensionEditWindow
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)
Exception in thread “main” "

Probably bug is in configuration
But I do evryfing like on page “http://www.vassalengine.org/wiki/doku.php?id=eclipse_setup
Is there enybody who can help me

Thus spake “SimonMax”:

I’m not an Eclipse user, so I can’t say for certain what’s wrong. It looks
like you don’t have your classpath right, though.

Can anyone who uses Eclipse tell us whether that page is current?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Unfortunately, that page is pretty out of date.

It looks like your setup is messed up. If it can’t find ExtensionEditWindow it’s probably because that’s the first class it tried to look for. I suspect it happens right away.

Right-click on your project and select “Properties”.

What are the source folders under Java Build Path->Source ?

  • M.

2009/9/28 Joel Uckelman <uckelman@nomic.net (uckelman@nomic.net)>

Post generated using Mail2Forum (mail2forum.com)

The main problem with the wiki instructions is the setup of the buildpath under the Libraries tab and the Order and Export tab
In each of these tabs you need to add all the files found in the Lib folder in your local package. The JRE system library should also be in the order and export tab first or second entry
The projects tab should be empty

The launch class has also changed from what is listed
To launch module manager use: ModuleManager – VASSAL.launch
To launch player use: Player – VASSAL.launch
To launch editor use: Editor – VASSAL.launch

Generally I just start with module manager and go from there
Note this is what I have to do, it may not be correct but it works for me, YMMV

From: messages-bounces@forums.vassalengine.org [mailto:messages-bounces@forums.vassalengine.org] On Behalf Of Michael Kiefte
Sent: Tuesday, September 29, 2009 10:31 AM
To: VASSAL Engine Forums Mailing List
Subject: Re: [Developers]problem with debuging vassal

Unfortunately, that page is pretty out of date.

It looks like your setup is messed up. If it can’t find ExtensionEditWindow it’s probably because that’s the first class it tried to look for. I suspect it happens right away.

Right-click on your project and select “Properties”.

What are the source folders under Java Build Path->Source ?

I’m not an Eclipse user, so I can’t say for certain what’s wrong. It looks
like you don’t have your classpath right, though.

Can anyone who uses Eclipse tell us whether that page is current?


J.

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Tim McCarron”:

Someone who uses Eclipse should update the page with the current info
and screenshots.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

I have updated the Build Path and Debug Configuration sections of the wiki with current details.

B.