build to test; 3.1.0-beta3 soon?

Thus spake “Rodney Kinney”:

I’ve tested this. It seems to work. (Again, this is something where I
think unit tests might help…)

I’ve merged this to trunk@4061.


J.


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

Post generated using Mail2Forum (mail2forum.com)

I just discovered this topic as I have problems with the imageop in my module. Very strange for me the error only pops up in the 3.0.17 from webstart (not sure how far the current svn code is from that), but not in my local dev environment from beta1 neither in my local dev environment from the svn code from last night.
Any hints on how I can track this down? At work we use java 1.4 there I can find the downloaded webstart apps directly in the folder structure, but here in 1.6 I do not see anything, …

I noticed a different thread where imageop was discussed but had no look at the moment if this could cause some breakdowns, and why…

-- OS Windows XP -- Java version 1.6.0_05 -- VASSAL version 3.0.17 [VASSAL.build.module.PrototypeDefinition: null] java.lang.NoClassDefFoundError: VASSAL/tools/imageop/ImageOp at VASSAL.build.module.EmpiresCommandEncoder.createDecorator(EmpiresCommandEncoder.java:13) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:344) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.createPiece(BasicCommandEncoder.java:340) at VASSAL.build.module.BasicCommandEncoder.decode(BasicCommandEncoder.java:384) at VASSAL.launch.BasicModule.decodeSubCommand(BasicModule.java:180) at VASSAL.launch.BasicModule.decode(BasicModule.java:164) at VASSAL.build.module.PrototypeDefinition.getPiece(PrototypeDefinition.java:134) at VASSAL.build.module.PrototypeDefinition.getPiece(PrototypeDefinition.java:116) at VASSAL.build.module.PrototypeDefinition.getI18nData(PrototypeDefinition.java:285) at VASSAL.build.AbstractConfigurable.add(AbstractConfigurable.java:140) at VASSAL.build.module.PrototypesContainer.add(PrototypesContainer.java:81) at VASSAL.build.Builder.build(Builder.java:66) at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:69) at VASSAL.build.Builder.create(Builder.java:107) at VASSAL.build.Builder.build(Builder.java:63) at VASSAL.build.AbstractBuildable.build(AbstractBuildable.java:69) at VASSAL.launch.BasicModule.build(BasicModule.java:104) at VASSAL.launch.BasicModule.build(BasicModule.java:72) at VASSAL.build.GameModule.init(GameModule.java:680) at VASSAL.launch.LoadModuleAction.loadModule(LoadModuleAction.java:53) at VASSAL.launch.LoadModuleAction.performAction(LoadModuleAction.java:46) at VASSAL.launch.GameModuleAction.actionPerformed(GameModuleAction.java:57) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.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.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(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) Caused by: java.lang.ClassNotFoundException: Unable to load VASSAL.tools.imageop.ImageOp 'VASSAL/tools/imageop/ImageOp.class' not found in C:\Dokumente und Einstellungen\Tom\Eigene Dateien\warhammer.mod at VASSAL.tools.DataArchive.findClass(DataArchive.java:729) at VASSAL.tools.DataArchive.loadClass(DataArchive.java:704) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 54 more -- Warhammer Fantasy Battle Version 0.01

Thus spake “ghoust”:

This doesn’t work because nothing in the VASSAL.tools.imageop package
exists in VASSAL 3.0 or before, and you’re loading your module in 3.0.17.

Three more things:

  1. VASSAL 3.0 and later require Java 1.5 or later. It shouldn’t work with
    Java 1.4.

  2. There is no Web Start for VASSAL 3.1 and later, so you could not be
    running 3.1.0-beta3 from Web Start.

  3. I’d recommend not putting your custom code anywhere under the
    VASSAL hierarchy. You’re better off defining your own root package,
    as that way you’re guaranteed that we’ll never step on your toes.


J.


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

Post generated using Mail2Forum (mail2forum.com)

thank you for the insight, that clears my concerns…