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

Enable OpenShift for existing project always clones the OpenShift app to the very same location. Repos that exist at the very same location are overwritten.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M5, 3.3.0.Beta1
    • 3.3.0.M5
    • openshift
    • None
    • Hide
      1. ASSERT: make sure you have no git repository in your <home>/git/<openshiftApplicationName> (ex. I use an Openshift application called as1. Since I checked that one out, I have a clone of it in /home/adietish/git/as1)
      2. ASSERT: make sure you have a "Dynamic Web Project" in your workspace, that is not shared to any provider (no cvs, no svn, no git, etc.)
      3. EXEC: launch the OpenShift application wizard
      4. EXEC: on the last page, make sure you have "Create new application" unchecked
      5. EXEC: choose your "dynamic web project"
      6. EXEC: hit finish
      7. ASSERT: got to <home>/git/<openshiftApplicationName> and create an empty file (ex. TEST)

      do steps 3 - 6 again

      1. ASSERT: got to <home>/git/<openshiftApplicationName> and check if your file (ex. TEST) is still there

      Result:
      It disappeared. The OpenShift wizard cloned the git repo of your application to the very same location and overwrote the repo that was already there.

      Show
      ASSERT: make sure you have no git repository in your <home>/git/<openshiftApplicationName> (ex. I use an Openshift application called as1. Since I checked that one out, I have a clone of it in /home/adietish/git/as1) ASSERT: make sure you have a "Dynamic Web Project" in your workspace, that is not shared to any provider (no cvs, no svn, no git, etc.) EXEC: launch the OpenShift application wizard EXEC: on the last page, make sure you have "Create new application" unchecked EXEC: choose your "dynamic web project" EXEC: hit finish ASSERT: got to <home>/git/<openshiftApplicationName> and create an empty file (ex. TEST) do steps 3 - 6 again ASSERT: got to <home>/git/<openshiftApplicationName> and check if your file (ex. TEST) is still there Result: It disappeared. The OpenShift wizard cloned the git repo of your application to the very same location and overwrote the repo that was already there.

      1. clone-to-tmp3.patch
        2 kB
      2. clone-to-tmp2.patch
        13 kB
      3. clone-to-tmp.patch
        3 kB
      4. clone-destination.png
        clone-destination.png
        71 kB

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

            Created:
            Updated:
            Resolved: