Mark Phippard schreef:
> 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. All you can really do is
> copy them and put them back. I would probably delete them from the
> repository browser. Then close Eclipse. Copy the files somewhere.
> Do an update from the command line so that it deletes the files. Then
> copy them back and restart Eclipse.
The hard way indeed, that’s what I feared.
Why do you think it is a good idea to have those files versioned?
The reason I don’t want them is because, amongst others, the arguments
to ‘make’ are stored there, and I use different arguments on different
machines to cope with different locations of the Java JNI include files.
If you have a better solution to this, please let me know. I’d like
to put those in the Makefile automatically, but haven’t found a way to
do that yet.
Right now, this means that on all computers except mine, those files are
marked as changed.
Also, they *don’t* store more interesting stuff like formatter
preferences (unless you configure those project-specific, I suppose),
which I then have to copy over anyway.
How do you set up your projects? For C projects? For Java projects?
For mixed projects (i.e. JNI, both C and Java)? For TeX?
Thanks for the help, and appreciate your feedback.
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:52:19 CET