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

Different Git repository layout then OpenShift expects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.3.0.CR1
    • 3.3.0.Beta1
    • openshift
    • None

      When trying to enable an OpenShift application for a project that is in different Git repository this scenario did not worked for me:

      1. WorkspaceA: Create Dynamic Web Project
      2. WorkspaceA: Team -> Share Project -> Create a new repository
      3. WorkspaceA: Create a new repository in a local folder
      4. WorkspaceA: Push all changes
      5. WorkspaceB: File -> Import -> Projects from Git -> Uri -> Local file
      6. WorkspaceB: Select local repository created in step 3 and import the project into the workspace
      7. WorkspaceB: Create a new OpenShift application and enable it with the imported project
      8. Publish the server of push changes to openshift

      Console output:
      Stopping application...
      Done
      Emptying tmp dir: /var/lib/libra/fd01187ca404461081e35495ea2ead41/new/jbossas-7.0/standalone/tmp/vfs
      Emptying tmp dir: /var/lib/libra/fd01187ca404461081e35495ea2ead41/new/jbossas-7.0/standalone/tmp/work
      Starting application...
      Done

      I suppose that the maven pom file has not been executed and it's because the repository layout is not as expected:

      Expected: repository/pom.xml
      Reality: repository/project/pom.xml

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

                Created:
                Updated:
                Resolved: