Post subject: project.xml not updated. Posted: Jul 12, 2004 - 04:06 PM
Guest
project.xml does not get updated when adding a dependency, using add dependency. The message box pops up and asks to update projext.xml . Is this a seperate file?
Thanks
ACP
Guest
Post subject:Posted: Jul 12, 2004 - 08:56 PM
It should ask you to find the file if it doesn't know where it is. Do you have an error.log file in the plugin directory?
Joe
Guest
Post subject:Posted: Jul 13, 2004 - 02:20 PM
It did ask for a file. Once I select the file, it gives me an error message. The foll. in the error.log file
----------------- Mon Jul 12 11:17:59 EDT 2004
java.lang.NullPointerException
at com.binamics.mavenworkshop.manager.MavenWizardManager.getProjectXMLFile(MavenWizardManager.java:207)
at com.binamics.mavenworkshop.manager.MavenWizardManager.getProjectXML(MavenWizardManager.java:223)
at com.binamics.mavenworkshop.manager.MavenWizardManager.getDependenciesNode(MavenWizardManager.java:167)
at com.binamics.mavenworkshop.util.XMLUtil.applyChangesToProjectXML(XMLUtil.java:6
at com.binamics.mavenworkshop.popup.actions.AddDependencyToClasspath.run(AddDependencyToClasspath.java:52)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)