Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17904

Server adapter: make .gitignore addition smarter and add comments to ignored files

    XMLWordPrintable

Details

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: