You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2019/10/02 21:03:26 UTC

setting up Eclipse to work with Git properly

After I cloned uima-uimaj, I imported it into Eclipse.

To my surprise, Eclipse inserted a .gitignore file into every subproject (there
was a .gitignore at the top level).

I think this behavior could be turned off by a Eclipse preferences setting:
Window -> Preferences -> Team -> Git -> Projects and uncheck "Automatically
ignore derived resources by adding them to .gitignore.

With this checked, it adds a .gitignore with one line:
/target/

Is this the right way to set up Eclipse?  -Marshall


Re: setting up Eclipse to work with Git properly

Posted by Richard Eckart de Castilho <re...@apache.org>.
On 2. Oct 2019, at 23:03, Marshall Schor <ms...@schor.com> wrote:
> 
> I think this behavior could be turned off by a Eclipse preferences setting:
> Window -> Preferences -> Team -> Git -> Projects and uncheck "Automatically
> ignore derived resources by adding them to .gitignore.

In my Eclipse, this option is turned on, yet I don't observe Eclipse adding
.gitignore files to every project if there is already a proper .gitignore
in the root. I import projects into Eclipse by first checking out with a 
separate client (Sourcetree) and then doing an "Import existing Maven projects"
in Eclipse.

-- Richard