facebook

Xdoclet Ant file not generated [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #197570 Reply

    kilik
    Member

    Using the 2.5 release with Eclipse 2.1.1 (200306271545) on Win2000 Professional(SP3) . I’ve defined a simple EJB project with one session bean in it. I followed the directions in the user guide to add the xdoclet configuration, and then click the “OK” button on the dialog box (XDOCLET configs), but cannot dismiss the dialog …

    Any help is appreciated.

    Kilik

    log as following:
    !ENTRY org.eclipse.ui 4 4 鍏湀 06, 2003 10:00:55.965
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 鍏湀 06, 2003 10:00:55.965
    !MESSAGE
    !STACK 0
    java.lang.IllegalArgumentException:
    at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:56)
    at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:41)
    at org.eclipse.core.runtime.Status.setMessage(Status.java:147)
    at org.eclipse.core.runtime.Status.<init>(Status.java:66)
    at org.jboss.ide.eclipse.core.AbstractPlugin.wrapException(AbstractPlugin.java:233)
    at org.jboss.ide.eclipse.xdoclet.run.configuration.ProjectConfigurations.storeConfigurations(ProjectConfigurations.java:196)
    at org.jboss.ide.eclipse.xdoclet.run.ui.properties.ConfigurationPropertyPage.performOk(ConfigurationPropertyPage.java:78)
    at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:671)
    at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:218)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:164)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
    at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
    at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)

    #197576 Reply

    Scott Anderson
    Participant

    This is very peculiar since your configuration looks identical to one of our test machine configurations and use cases. Something is definately iffy in the configuration somewhere. Which JDK are you using? If it’s 1.4.0, I’d suggest an upgrade as those JDK’s were iffy at best. When you type ‘java -version’ from the commandline, what version do you get? Was there anything prior to this error in the log file? You stated you’re using MyEclipse 2.5, so I assume it’s 2.5.0. You might try upgrading to 2.5.1 using the update manager. The instructions are in the FAQ, if you’ve never done that before. Is this a clean installation of 2.1.1 or are additional plugins installed? Is it a full version of 2.1.1 (ie. how many plugins in the plugins directory do you have that begin with org.eclipse.pde.*)?

    –Scott
    MyEclipse Support

    #197578 Reply

    kilik
    Member

    i type ‘java -version’, and get following result:
    java version “1.3.1_08”
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3
    Java HotSpot(TM) Client VM (build 1.3.1_08-b03, mixed mode)

    MyEclipse is 2.5.1, eclipse is a clean installation and no additionall plugings except myEclipse. There are 6 directory which begin with org.eclipse.pde.*.

    BTW, can i sent my .log to you?

    #197580 Reply

    Scott Anderson
    Participant

    There are 6 directory which begin with org.eclipse.pde.*

    That’s odd as there should be 7. Perhaps you’ve got a “slimmed down” version of Eclipse. The full 2.1.1 download is available on our download page.

    BTW, can i sent my .log to you?

    Sure. Mail it to support@… However, if you only have 6 pde plugins, I suspect the Eclipse installation as the primary problem.

    –Scott
    MyEclipse Support

    #197582 Reply

    kilik
    Member

    make a correction: there are 7 directory which begin with org.eclipse.pde.*.
    😀

    #197621 Reply

    ethan.wolf
    Member

    I had the same problem when launching Eclipse with a 1.3.1 JRE. Switching to a 1.4.2 JDK fixed the problem.

    #197624 Reply

    Scott Anderson
    Participant

    Ethan,

    Thanks for the followup. This could prove very helpful indeed. I really appreciate the insight.

    Kilik, please give this a try if the issue isn’t CVS related (via private email). I’ll be interested to see if this resolves the issue for you also.

    –Scott
    MyEclipse Support

    #197638 Reply

    kilik
    Member

    Thanks,scott and Ethan. I try a 1.4.2 JDK, it works great now:)

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Xdoclet Ant file not generated [Closed]

You must be logged in to post in the forum log in