Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[atf-dev] i can't change the "Content Directory"

There's a little curious point. i can create a dojo project successfully by default value in the wizard , but once i change the "Content Directory" of the web module in create dojo/rico project wizards ( i prefer "war" to "WebContent"), there's an exception like that:

Error creating new Dojo J2EE project
Problems encountered while setting project description.
  Received exception in class org.eclipse.atf.personality.dojo.ui.wizard.DojoJ2EEProjectWizard of type org.eclipse.core.runtime.CoreException:
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      org.eclipse.core.runtime.CoreException: Problems encountered while setting project description.
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.internal.resources.Project.setDescription(Project.java:983)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1009)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.atf.natures.NatureUtil.addNature(NatureUtil.java:56)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.atf.personality.dojo.ui.wizard.DojoJ2EEProjectWizard.postPerformFinish(DojoJ2EEProjectWizard.java:65)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:247)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.window.Window.open(Window.java:796)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at java.lang.reflect.Method.invoke(Method.java:391)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.launcher.Main.run(Main.java:977)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!
      at org.eclipse.core.launcher.Main.main(Main.java:952)
    Problems encountered while setting project description.
      Error adding nature!
        Error adding nature!

__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com

__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com

PNG image

PNG image


Back to the top