Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to share global project settings
How to share global project settings [message #158890] Thu, 24 November 2005 05:26 Go to next message
Eclipse UserFriend
Originally posted by: toni.brkic.switchcore.com

Hi,

We are using standard make project and using subversion.
The problem is that each time I check out
a project I need to set the project settings manually.

By project settings I mean. Which debugger to use,
environment variables etc. It is quite tedious
to set it each time you check out a project.

What I would like to do is to put the files
with this info under version control.

I tried with putting .project and .cdtproject
under version control under version control.
But that didnt work, since they dont seem
to contain that information.

After some investigation it seems that the layout
is:
workspace/myproject/.project
.metadata/.plugins/

And all project settings seems to be saved .metada/.plugins.
Is there a way to force them to be saved under myproject instead?
And which files would I need to do it with?

Toni Brkic
Re: How to share global project settings [message #158907 is a reply to message #158890] Thu, 24 November 2005 06:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi Toni,

setting like debugger to use are probably from debug launch configurations.
These are, in fact, not stored in the project but in the metadate.
Archiving the metadata as a whole is not a good idea since they contain a
lot of machine- und user-specific stuff.
Archiving the launch configuration might work. They are stored in

....\.metadata\.plugins\org.eclipse.debug.core\.launches

as xml-Files.

Helpful?


Norbert

"Toni" <toni.brkic@switchcore.com> schrieb im Newsbeitrag
news:56bd62900ad025feb5f486c87640eb8f$1@www.eclipse.org...
> Hi,
>
> We are using standard make project and using subversion.
> The problem is that each time I check out a project I need to set the
> project settings manually.
>
> By project settings I mean. Which debugger to use,
> environment variables etc. It is quite tedious
> to set it each time you check out a project.
>
> What I would like to do is to put the files
> with this info under version control.
>
> I tried with putting .project and .cdtproject
> under version control under version control.
> But that didnt work, since they dont seem
> to contain that information.
>
> After some investigation it seems that the layout
> is:
> workspace/myproject/.project
> .metadata/.plugins/
>
> And all project settings seems to be saved .metada/.plugins.
> Is there a way to force them to be saved under myproject instead?
> And which files would I need to do it with?
>
> Toni Brkic
>
>
Re: How to share global project settings [message #158945 is a reply to message #158907] Thu, 24 November 2005 09:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tonib.brkic.switchcore.com

Norbert Ploett wrote:
> Hi Toni,
>
> setting like debugger to use are probably from debug launch configurations.
> These are, in fact, not stored in the project but in the metadate.
> Archiving the metadata as a whole is not a good idea since they contain a
> lot of machine- und user-specific stuff.
> Archiving the launch configuration might work. They are stored in
>
> ...\.metadata\.plugins\org.eclipse.debug.core\.launches
>
> as xml-Files.
>
> Helpful?

Thanks it was helpful. But more to realize that
eclipsce/cdt/versioncontrol doesnt seem to be
a good mix.

I don't understand how you can make it to work
nice if you have several developers. Or if you
work on a project and want to check out several
trunk/work directories because you want to work
on things in parallel.

Because you dont really want to setup the
Environment variables, GDB info etc each time
you check out a project.

/T
Re: How to share global project settings [message #159025 is a reply to message #158907] Fri, 25 November 2005 14:00 Go to previous message
Eclipse UserFriend
/Norbert Ploett/:

> Archiving the launch configuration might work. They are stored in
>
> ...\.metadata\.plugins\org.eclipse.debug.core\.launches
>
> as xml-Files.

Actually one may choose to store the launch configuration in the
project directory by choosing "Shared file" (as opposed to the
default "Local file") at the "Common" tab/page of the launch
configuration settings.

--
Stanimir
Previous Topic:Outline font?
Next Topic:Cannot view typedef'ed array in debugger
Goto Forum:
  


Current Time: Thu Jul 17 19:37:51 EDT 2025

Powered by FUDForum. Page generated in 0.03701 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top