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

When project is inside eclipse workspace Maven import gets the application name wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.3.x, 4.0.x
    • 3.3.0.Beta1
    • openshift, upstream
    • None
    • Hide

      1.) Create new OpenShift application
      2.) Import the application
      3.) Change the artifact id in pom.xml
      4.) Push the changes
      5.) Delete the workspace project (also from the disc)
      6.) Import the application and leave the project's location default (/home/xxx/git)

      RESULT: the created workspace project has the name from pom file

      7.) Import the application and choose the location of your workspace

      RESULT: the created workspace project has the name of OpenShift applciation

      Show
      1.) Create new OpenShift application 2.) Import the application 3.) Change the artifact id in pom.xml 4.) Push the changes 5.) Delete the workspace project (also from the disc) 6.) Import the application and leave the project's location default (/home/xxx/git) RESULT: the created workspace project has the name from pom file 7.) Import the application and choose the location of your workspace RESULT: the created workspace project has the name of OpenShift applciation
    • Workaround Exists
    • Hide

      Do not use workspace as output directory - it confuses eclipse

      Show
      Do not use workspace as output directory - it confuses eclipse

      When I have an existing OpenShift application with name different that the artifact id in pom file and I want to import it into Eclipse workspace, I get different Eclipse project names depending on the chosen location of the newly created workspace file.

      1. when selected default value (/home/xxx/git) the project's name is the one from pom file
      2. when selected the workspace location the project's name is the OpenShift application name

        1. import.ogv
          2.60 MB
        2. untitled.mp4
          6.58 MB

            fbricon@redhat.com Fred Bricon
            ljelinko@redhat.com Lucia Jelinkova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: