[jbosstools-issues] [JBoss JIRA] (JBIDE-14828) Application Wizard: if git clone directory already exist i cannot do anything

Max Rydahl Andersen (JIRA) issues at jboss.org
Tue Mar 22 03:47:01 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-14828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180266#comment-13180266 ] 

Max Rydahl Andersen commented on JBIDE-14828:
---------------------------------------------

with the intended behavior explained then lets make that visible to the user:

a) don't hide/show controls in a wizard, enable/disable them. 

b) The "Reuse" is ambiguous, i.e. I read it as the clone will happen into this folder, not that it will do exactly the opposite of what the wizard says (not clone). I suggest something like "Do not clone - reuse existing folder".

c) if not already there, add a check that what is inside the folder is actually a clone of what we are trying to clone.

> Application Wizard: if git clone directory already exist i cannot do anything
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-14828
>                 URL: https://issues.jboss.org/browse/JBIDE-14828
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.0.Beta2
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>              Labels: application_wizard
>             Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>         Attachments: application-folder-already-exists.png
>
>
> steps to reproduce:
> # EXEC: create and/or import some appliaction from OpenShift to your local workspace using the application/import wizard
> # EXEC: once you have the project imported to your workspace, delete it
> # EXEC: once it is deleted, go and try to re-import the very same application
> Result:
> The 3rd wizard page errors on the git cloning destination. You're told that the destination folder already exists within the clone destination folder. The only way out currently is to choose a different clone destination folder. 
> !application-folder-already-exists.png!
> Expected:
> It would help a lot if wizard would allow you to overwrite the existing destination. The wizard could also check if the given folder holds a prior clone and then allow one to "reuse" this folder. The given folder would then simply get imported to Eclipse and we'd fetch instead of cloning.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list