[jbosstools-issues] [JBoss JIRA] (JBIDE-17904) make .gitignore addition smarter

Max Rydahl Andersen (JIRA) issues at jboss.org
Thu Jul 17 02:16:33 EDT 2014


Max Rydahl Andersen created JBIDE-17904:
-------------------------------------------

             Summary: make .gitignore addition smarter
                 Key: JBIDE-17904
                 URL: https://issues.jboss.org/browse/JBIDE-17904
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: openshift
            Reporter: Max Rydahl Andersen


currently *Any* openshift app creation/import we add the following blindly:

target
.settings/*
!.settings/.jsdtscope
.classpath

These does not make much sense for most apps besides java.

Can't we be a bit more intelligent about it ? 
i.e. if the project is not a maven project, don't add 'target'
if project is not a java project do not add .classpath

..and then I suggest adding comments to the .gitignore to make it clear what they do:

# if you want *all* eclipse settings to be shared comment this out, otherwise leave in.
.settings/*
# keep .jsdtscope to share javascript validations exclusions to avoid too many false positive warnings
!.settings/.jsdtscope



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list