[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6395) [Helios] Project Examples not loading once selected?

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Wed Jun 2 15:53:45 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco resolved JBIDE-6395.
----------------------------------

    Resolution: Done


The issue is caused by changes in the ZipFileStructuredProvider class within Helios.
The fix is to use ZipLeveledStructuredProvider instead of ZipFileStructuredProvider.

> [Helios] Project Examples not loading once selected?
> ----------------------------------------------------
>
>                 Key: JBIDE-6395
>                 URL: https://jira.jboss.org/browse/JBIDE-6395
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples
>    Affects Versions: 3.2-Helios
>            Reporter: Brian Fitzpatrick
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 3.2-Helios
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> I know some changes were already made to the Project Examples code to overcome some compile errors, but when I attempt to actually create an example in Helios, I'm getting an exception. It seems that the path being passed to the import method in Eclipse isn't getting the right workspace-relative path value?
> !ENTRY org.jboss.tools.project.examples 4 0 2010-06-01 10:39:37.268
> !MESSAGE Path must include project and resource name: /webservice_producer
> !STACK 0
> java.lang.IllegalArgumentException: Path must include project and resource name: /webservice_producer
> 	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
> 	at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1795)
> 	at org.eclipse.core.internal.resources.Container.getFolder(Container.java:221)
> 	at org.eclipse.ui.wizards.datatransfer.ImportOperation.importFolder(ImportOperation.java:718)
> 	at org.eclipse.ui.wizards.datatransfer.ImportOperation.importRecursivelyFrom(ImportOperation.java:786)
> 	at org.eclipse.ui.wizards.datatransfer.ImportOperation.importRecursivelyFrom(ImportOperation.java:791)
> 	at org.eclipse.ui.wizards.datatransfer.ImportOperation.execute(ImportOperation.java:393)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
> 	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
> 	at org.jboss.tools.project.examples.wizard.NewProjectExamplesWizard.importSingleProject(NewProjectExamplesWizard.java:423)
> 	at org.jboss.tools.project.examples.wizard.NewProjectExamplesWizard.importProject(NewProjectExamplesWizard.java:329)
> 	at org.jboss.tools.project.examples.wizard.NewProjectExamplesWizard$2.runInWorkspace(NewProjectExamplesWizard.java:160)
> 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list