[jbosstools-issues] [JBoss JIRA] (JBIDE-11780) OpenShift: Correct importing exception message
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Wed Jan 9 15:12:08 EST 2013
[ https://issues.jboss.org/browse/JBIDE-11780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim resolved JBIDE-11780.
--------------------------------------
Fix Version/s: 4.1.0.Alpha1
(was: 4.0.x)
Resolution: Cannot Reproduce Bug
I cannot reproduce the bug. M2E apparently allows 2 maven workspace projects with the same pom-name (and different project names):
1) Import OpenShift application
2) Rename the project (not the name in the pom)
3) re-import the OpenShift application
Result:
It works, no error happens while importing
OR
1) Clone OpenShift application
2) Import it to your workspace as Maven project
3) Rename the project (not the name in the pom)
4) Re-Import it again
Result:
It works
> OpenShift: Correct importing exception message
> ----------------------------------------------
>
> Key: JBIDE-11780
> URL: https://issues.jboss.org/browse/JBIDE-11780
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 3.3.0.Beta3
> Reporter: Stefan Bunciak
> Assignee: Andre Dietisheim
> Priority: Minor
> Fix For: 4.1.0.Alpha1
>
>
> I was trying to import application with same name in pom.xml as I had in my workspace. The following exception message contains 'project null'. I assume that the message is not filled with correct project name.
> {code}
> org.jboss.tools.openshift.express.internal.ui.ImportFailedException: Could not import project null. One of the possible reasons is that theres already a project in your workspace that matches the openshift application/maven name of the OpenShift application. Please rename your workspace project in that case and start over again.
> at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ImportNewProject.execute(ImportNewProject.java:75)
> at org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizardModel.importProject(OpenShiftExpressApplicationWizardModel.java:92)
> at org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizard$ImportJob.runInWorkspace(OpenShiftExpressApplicationWizard.java:274)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list