GeeWhiz Prolog - Part Zero - About the ProjectSaturday, May 17. 2008
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Hi,
Thanks for such good work.
Still after installing your plugin into NB 6.1 it fails to create a project after the project wizard closes.
Maybe you can shed some light on this behavior.
All the best,
Alex
Thanks, Alex. I'll look into it. I haven't messed with the project wizard lately so I'll have to refresh my own memory but I'll try and get back to you.
Also, I have some changes to the source code that I need to post, although I don't think they're related to that problem. I'll try to get to that too.
Check back in a couple days.
Hi,
I forgot to mention that I am running NB 6.1 on Win XP.
All the best,
Alex
Alex, try out the newer .nbm on the GeeWhiz Prolog home page. Did you create your own .nbm file per the instructions in Part 8 or are you using the one I created? I don't have a Win XP platform currently available to try mine out, sorry. I'm going to post some instructions on using the source code I think. If you create your own .nbm file from the source it may help or at least give you some diagnostic messages. If you do get diagnostics please email them to me at the address on the "About Hulles" page.
Hi,
Here is the error I got from Netbeans in the first screen of the wizard:
java.lang.NoClassDefFoundError: javax/swing/GroupLayout
at org.hulles.geewhiz.NewProjectPanelVisual.initComponents(NewProjectPanelVisual.java:72)
at org.hulles.geewhiz.NewProjectPanelVisual.(NewProjectPanelVisual.java:26)
at org.hulles.geewhiz.NewProjectWizardPanel.getComponent(NewProjectWizardPanel.java:31)
at org.hulles.geewhiz.NewProjectWizardIterator.initialize(NewProjectWizardIterator.java:97)
at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.initialize(TemplateWizard.java:1015)
at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:100)
at org.openide.loaders.TemplateWizardIteratorWrapper.setIterator(TemplateWizardIteratorWrapper.java:76)
at org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:200)
at org.openide.loaders.TemplateWizard.setTemplate(TemplateWizard.java:218)
at org.netbeans.modules.project.ui.TemplatesPanel.storeSettings(TemplatesPanel.java:131)
at org.netbeans.modules.project.ui.TemplatesPanel.storeSettings(TemplatesPanel.java:67)
at org.openide.WizardDescriptor.setValueOpen(WizardDescriptor.java:1206)
at org.openide.WizardDescriptor.setValue(WizardDescriptor.java:1185)
at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1098)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:565)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:563)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:835)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:869)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:857)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:108)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1355)
at org.openide.util.Mutex.readAccess(Mutex.java:268)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:842)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:502)
at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:369)
[catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:139)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Hi , Thank you very much for providing such a nice plugin for Prolog. I have few doubts. My exposure to Netbeans as well as Prolog is very less and from Visual Studio back ground (Recently baptized into Linux ) . I got the plugin installed. But I am not getting how I can run the listener for the prolog and consult it or debug it. I am always getting - 'No main classes found' error . Is this plugin just meant for editing Prolog files ?
Thank you
Thanks for the feedback. Yes, this plugin is meant primarily for editing Prolog files. However, the shell execution portion that currently does the syntax checking can be modified to run any OS command you want to, so conceivable you can modify it to run your Prolog programs from within the IDE directly. See Part 5, Adding the Compiler. Conceivably you could just remove the "-c" from the compilation command, although I don't recall the SWI Prolog command line syntax well enough to say that that will work.
Good luck and thanks again for the comment.
|
Categoriessupersized.orgHelp Support This BlogIf you find this information useful, are entertained by it, or just want to do something nice you can help encourage further entries by clicking the button below. Major credit cards and PayPal are accepted. Thank you for your support.
|