[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Re: Which eclipse files belong in svn, anyway?

From: Hendrik Maryns <qwizv9b02_at_sneakemail.com>
Date: Thu, 20 Mar 2008 17:54:01 +0100

Paul Pcoder schreef:
> On Thu, Mar 20, 2008 at 8:50 AM, Mark Phippard <markphip_at_gmail.com>
> wrote:
>
>> On Thu, Mar 20, 2008 at 7:23 AM, Hendrik Maryns
>> <qwizv9b02_at_sneakemail.com> wrote:
>>
>>> I have a project in which the .project and .cproject files are in
>>> version control. It turns out this isn't a very good idea. How
>>> can I remove them from version control without deleting them?
>> I generally recommend you do version those files and think it is a
>> good idea, but that is not your question.
>
> This is a question I've been wondering about for a while. This isn't
> exactly a Subclipse question, but we're all Eclipse users, and were
> are all presumably using Subclipse to manage and share our project
> files, so I'll go ahead and ask: Which files *do* belong in eclipse,
> anyway?
>
> I realize the answer will depend on the user's workflow and typical
> team interaction, and I think that my situation is a little simpler
> than most, as I am only trying to share my files with myself between two
> machines at the moment, as far as the java projects I'm currently
> working on go.
>
> I get that I have to export my preferences from eclipse, in order to
> import, for instance, my code formatting preferences into another
> instance of eclipse. I'd rather that eclipse automatically saved all of
> my preferences in a single file, which I could store in SVN, so all I
> had to do was commits and updates, but that's more a complaint about
> eclipse than a question...
>
> My irritation began as I realized that my Debug launch configurations
> were not appearing when I opened my project on my other machine. OK,
> fine, I'll figure out where they are stored and put that into SVN too.
> Problem: they are stored underneath the workspace .metadata folder, in a
> subfolder specific to the debug launcher plugin.
> (org.eclipse.debug.core/.launches)
>
> OK, but does this mean that every time I use a plugin that stores data I
> want to persist across machines, I have to figure out where it stores
> that data, and manage that folder explicitly? I could just put the
> entire workspace in SVN to avoid the whole issue, but holy cow that's
> something like 15 megabytes. And surely that approach would not be
> appropriate in a team environment, and I'm sure I can think of workflows
> were that would be a mess even with just one user...
>
> So, I put it to the group: what strategies do you use to persist
> eclipse projects across different machines, in such a way that minimizes
> time spent re-configuring settings and what-not on each instance of
> eclipse that you use?

Interesting question. I just gave a comment about why I don’t like my
.cproject file versioned in another thread. But probably there are
better ways to handle this. I’d like to hear that.

H.

-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

Received on 2008-03-20 17:55:13 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.