Re: Modeler plugin engine prototype for 3.0

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Jun 08 2006 - 07:05:24 EDT

  • Next message: Ahmed Mohombe: "Re: Modeler plugin engine prototype for 3.0"

    This is just a prototype of the plugin shell, not a functioning
    Modeler, so fwiw it behaves correctly - this is all that is enabled
    now (that is why I posted it on dev list, not user - right now this
    is just a proof of concept). The exception in fact indicates how
    misconfigured actions are handled - they are still displayed in the
    menu as disabled items, simplifying debugging :-)

    I am going to hook up the actual Modeler code to it at some point.

    Andrus

    On Jun 8, 2006, at 2:59 PM, Ahmed Mohombe wrote:

    >> Or you can download a binary version [2]. The application is run
    >> from a launcher jar file. You can either double click the jar (on
    >> OSes that support that) or run it from command line:
    >> # cd modeler-3.0-SNAPSHOT/
    >> # java -jar modeler-launcher.jar
    > I'm getting an exception trying to run it. After that, the only
    > active menu item available is Quit.
    >
    > ========================
    > [Warning] Error instantiating action 'NewAction'
    > java.lang.ClassNotFoundException: NewAction
    > 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 java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Unknown Source)
    > at org.platonos.pluginengine.PluginClassLoader.loadClass
    > (PluginClassLoader.java:204)
    > at java.lang.ClassLoader.loadClass(Unknown Source)
    > at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    > at java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Unknown Source)
    > at
    > org.apache.cayenne.swing.plugin.frame.FrameBuilder.addAction
    > (FrameBuilder.java:132)
    > at
    > org.apache.cayenne.swing.plugin.frame.FrameBuilder.addActions
    > (FrameBuilder.java:111)
    > at
    > org.apache.cayenne.modeler.plugin.ModelerFrameBuilderExtension.initAct
    > ions(ModelerFrameBuilderExten
    > sion.java:44)
    > at
    > org.apache.cayenne.swing.plugin.frame.FramePlugin.initActions
    > (FramePlugin.java:103)
    > at org.apache.cayenne.swing.plugin.frame.FramePlugin.start
    > (FramePlugin.java:84)
    > at org.platonos.pluginengine.StartPluginQueue$PoolWorker.run
    > (StartPluginQueue.java:63)
    > at java.lang.Thread.run(Unknown Source)
    > ========================
    > Ahmed.
    > P.S. I could send the entire console output if this helps.
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Jun 08 2006 - 07:12:31 EDT