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

Application wizard: git repository for imported project is not detected correctly if it is in some parent folder

XMLWordPrintable

    • Hide
      1. EXEC: clone git://github.com/aerogear/as-quickstarts.git using the git cli
      2. EXEC: import helloworld-html5 as maven project to your workspace.
      3. ASSERT: Eclipse imported a new project jboss-as-helloworld-html5
      4. ASSERT: the Eclipse git team provider is not connected to the imported project
      5. EXEC: Launch New OpenShit application wizard and tell it to merge into "helloworld-html5"

      Result:
      The wizard created a git repo in "helloworld-html5" folder. You'll spot a .git folder in it. This is actually a nested repo, since the project is already shared within a repo that is in the parent.
      Expected result:
      The wizard should detect the git repo in the parent folder and use the parent folder.

      Alternative steps from JBIDE-16356:

      1) git clone https://github.com/joshuawilson/jboss-wfk-quickstarts.git
      2) git checkout WFK-113
      3) JBDS 7.1 import as Maven project
      4) tweak the pom.xml (it was broken but now fixed)
      5) it deploys to a local EAP, now attempt to send to OpenShift
      6) run the OpenShift wizard as seen in the video
      http://screencast.com/t/NVTPK4pL

      Show
      EXEC: clone git://github.com/aerogear/as-quickstarts.git using the git cli EXEC: import helloworld-html5 as maven project to your workspace. ASSERT: Eclipse imported a new project jboss-as-helloworld-html5 ASSERT: the Eclipse git team provider is not connected to the imported project EXEC: Launch New OpenShit application wizard and tell it to merge into "helloworld-html5" Result: The wizard created a git repo in "helloworld-html5" folder. You'll spot a .git folder in it. This is actually a nested repo, since the project is already shared within a repo that is in the parent. Expected result: The wizard should detect the git repo in the parent folder and use the parent folder. Alternative steps from JBIDE-16356 : 1) git clone https://github.com/joshuawilson/jboss-wfk-quickstarts.git 2) git checkout WFK-113 3) JBDS 7.1 import as Maven project 4) tweak the pom.xml (it was broken but now fixed) 5) it deploys to a local EAP, now attempt to send to OpenShift 6) run the OpenShift wizard as seen in the video http://screencast.com/t/NVTPK4pL
    • Medium

      When the application creation wizard tries to merge into an existing project, it does not detect the git repository correctly if the given project is within a folder of a git repo.

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified