When trying to enable an OpenShift application for a project that is in different Git repository this scenario did not worked for me:
- WorkspaceA: Create Dynamic Web Project
- WorkspaceA: Team -> Share Project -> Create a new repository
- WorkspaceA: Create a new repository in a local folder
- WorkspaceA: Push all changes
- WorkspaceB: File -> Import -> Projects from Git -> Uri -> Local file
- WorkspaceB: Select local repository created in step 3 and import the project into the workspace
- WorkspaceB: Create a new OpenShift application and enable it with the imported project
- 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
- is related to
-
JBIDE-11152 OpenShift profile is not merged into existing pom (of richfaces-webapp)
- Closed
- relates to
-
JBIDE-10479 UserStory: I have a project with existing .git repo, I want to use OpenShift
- Closed