[jbosstools-issues] [JBoss JIRA] (JBIDE-17904) Make .gitignore addition smarter and add comments to ignored files

Andre Dietisheim (JIRA) issues at jboss.org
Mon Sep 1 06:22:00 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-17904:
-------------------------------------
    Labels: server_adapter  (was: )


> Make .gitignore addition smarter and add comments to ignored files
> ------------------------------------------------------------------
>
>                 Key: JBIDE-17904
>                 URL: https://issues.jboss.org/browse/JBIDE-17904
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.2.0.Beta3
>            Reporter: Max Rydahl Andersen
>              Labels: server_adapter
>             Fix For: 4.2.0.CR2
>
>
> currently *Any* openshift app creation/import we add the following blindly:
> {code}
> target
> .settings/*
> !.settings/.jsdtscope
> .classpath
> {code}
> 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:
> {code}
> # 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list