Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6954

GWT Integration plugin does not create sample

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.2.0.M2
    • 3.2.0.M2
    • gwt
    • Hide

      1) invoke the dynamic web project wizard
      2) enable the GWT Facet
      3) check the 'create sample' checkbox in the latter wizard page
      4) finish

      Show
      1) invoke the dynamic web project wizard 2) enable the GWT Facet 3) check the 'create sample' checkbox in the latter wizard page 4) finish
    • Low

      The GWT Integration Facet does not create the samples.

      the log shows an exception:

      org.eclipse.core.internal.resources.ResourceException: Resource '/test4/WEB-INF' does not exist.
      at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326)
      at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200)
      at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:33)
      at org.eclipse.core.internal.resources.Folder.create(Folder.java:95)
      at org.eclipse.core.internal.resources.Folder.create(Folder.java:125)
      at org.jboss.tools.gwt.core.GWTInstallFacetDelegate.configureOutputFolder(GWTInstallFacetDelegate.java:131)
      at org.jboss.tools.gwt.core.GWTInstallFacetDelegate.execute(GWTInstallFacetDelegate.java:81)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1478)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:442)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1182)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1118)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1100)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1110)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
      at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
      at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
      at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
      at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

      The wizard would create the samples in a latter step. The exception inhibits it (code gets skipped)

              adietish@redhat.com André Dietisheim
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: