[jbosstools-issues] [JBoss JIRA] (JBIDE-12459) Application wizard: git repository for imported project is not detected correctly if it is in some parent folder
Andre Dietisheim (JIRA)
issues at jboss.org
Thu Sep 11 04:50:21 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-12459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim updated JBIDE-12459:
-------------------------------------
Steps to Reproduce:
# 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
Alternative steps from JBIDE-18301:
1) git clone https://github.com/gorkem/aerogear-push-quickstarts
2) import server/contacts-mobile-picketlink-secured/ as maven project (*git folder is 2 up!*)
was:
# 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 share 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
> Application wizard: git repository for imported project is not detected correctly if it is in some parent folder
> ----------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-12459
> URL: https://issues.jboss.org/browse/JBIDE-12459
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 3.3.0.Final
> Reporter: Andre Dietisheim
> Labels: application_wizard
> Fix For: 4.2.1.Final
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list