uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: working with uimaFIT, git, eclipse, .gitignore files?
Date Mon, 29 Jul 2019 15:20:54 GMT
nice to learn about these little tricks/conventions :-) -Marshall

On 7/25/2019 5:46 PM, Richard Eckart de Castilho wrote:
> Hi,
>> On 25. Jul 2019, at 18:07, Marshall Schor <msa@schor.com> wrote:
>> I was able to use the latest Eclipse (2019-06) to import a local-disk clone of
>> the uima-fit git repo.
> I usually just use "File -> Import -> Existing Maven projects" and Eclipse also
> automatically recognizes the git repo and activates git support.
>> ======
>> I did a local git checkout -b mymaster to create a branch to play around with.
>> Then I did the import above.  I had to do a maven-update to the
>> uimafit-benchmark project, and then everything was OK in Eclipse.
>> At one point (before) I saw some .settings/org.eclipse.jdt.core.prefs files were
>> updated by Eclipse. 
> Yeah, I commit these files to have the code style settings in the repo. Unfortunately,
> as Eclipse versions change, these files get dirty on checkout. I'm sure there are
> ways to decouple the style settings from these files, but I didn't procure them yet.
>> I see there's (only) a .gitignore file for the top-most containing "uimafit"
>> project which ignores this. 
>> Looking at the EGit docs https://wiki.eclipse.org/EGit/User_Guide it says it
>> .gitignore files are inherited, with lower level ones overriding higher level
>> (in the file tree) ones. 
>> So, once you put a .gitignore at the top level, you don't need them in
>> subprojects (unless you need to override), correct?
> Right. There is also a .gitattributes file which tries setting up file types
> and line endings to smoothen things if Linux/OS X and Windows users collaborate
> on the repo. Not 100% sure it works though...
> Cheers,
> -- Richard

View raw message