[jbosstools-issues] [JBoss JIRA] (JBIDE-16357) ApplicationWizard: RemoteSystemsTempFiles is possible to choose in OpenShift select project

Andre Dietisheim (JIRA) issues at jboss.org
Fri Jan 24 07:52:28 EST 2014


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

Andre Dietisheim commented on JBIDE-16357:
------------------------------------------

Our current code that filters acceptable project looks like follows:

{code}
private boolean isValid(IProject project) {
		if (!project.isAccessible()) {
			return false;
		}
		if (EGitUtils.isShared(project)) {
			if (!EGitUtils.isSharedWithGit(project)) {
				return false;
			}
		}

		return true;
	}
{code}

In words we accept all accessible (all opened) projects excluding non-git shared ones. Thinking this through I also dont see how we should distinguish RemoteSystemsTempFiles from other valid projects. We cannot rely on the maven nature, since the user possibly deals with PHP (or other) projects. We cannot rely on the project being WTP since pure maven project are bdidged via m2e. Hard-coding to this particular name is imho not a good solution.
                
> ApplicationWizard: RemoteSystemsTempFiles is possible to choose in OpenShift select project
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-16357
>                 URL: https://issues.jboss.org/browse/JBIDE-16357
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>            Reporter: Burr Sutter
>
> The Select Existing Project dialog should not display 
> RemoteSystemTempFiles as an option
> http://screencast.com/t/CKEnB16Rbad

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list