Eclipse Cdt Configuration Support Is Not Installed On The System Average ratng: 7,0/10 4513 votes
Home » Eclipse Projects » EGit / JGit » How to change the location of the system configuration file?

For a while now CDT has supported debugging a program that was not part of a project. With CDT 8.7, the same can be done when Running a program. What this means is that the user can specify any C/C program on the file system in a Run configuration and CDT will execute it. This feature was completed through Bug 464078.

Show:Today's Messages::Show Polls::Message Navigator
How to change the location of the system configuration file?[message #750061]Tue, 25 October 2011 15:55
Eike Stepper
Messages: 6469
Registered: July 2009
Hi,
We seem to have a problem with line endings. Thousands of files show up dirty in the Synchronize view. In
http://dev.eclipse.org/mhonarc/lists/egit-dev/msg01732.html there's the advice to set core.autocrlf=false.
Unfortunately I can't seem to change the system config file at all. For reasons I can't remember anymore that file's
location is shown as C:Program Files (x86)Gitetcgitconfig in Eclipse and that file is write protected.
How to change the location of the system configuration file?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper

Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: How to change the location of the system configuration file?[message #752681 is a reply to message #750061]Wed, 26 October 2011 13:32
Matthias Sohn
Messages: 1115
Registered: July 2009
AFAIK newer Windows versions are protecting files under 'Program Files' so you need administrative privileges to change them and AFAIK there is no way to sudo from a Java application.
JGit tries to use the same location used by native git, in order to detect that it searches for git in the PATH. On my Mac this e.g. points at /usr/local/git. The system configuration is then stored in the etc folder under this path.
This means there are the following ways how you can resolve this configuration problem
- modify the system configuration using a native editor started with administrative privileges
- modify the user configuration in your home directory instead
- install native git into a not protected folder
- manually override the path to the git installation folder by setting the Java system property 'jgit.gitprefix' to the path you want. But: this may lead to inconsistent behavior as this way native git might see a different configuration than EGit/JGit.
Unfortunately this probably will not solve your original problem as JGit doesn't yet fully support autocrlf [1].
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=301775
Re: How to change the location of the system configuration file?[message #753720 is a reply to message #752681]Fri, 28 October 2011 13:45
Eike Stepper
Messages: 6469
Registered: July 2009
Am 26.10.2011 15:32, schrieb Matthias Sohn:
> AFAIK newer Windows versions are protecting files under 'Program Files' so you need administrative privileges to
> change them and AFAIK there is no way to sudo from a Java application.
> JGit tries to use the same location used by native git, in order to detect that it searches for git in the PATH. On my
> Mac this e.g. points at /usr/local/git. The system configuration is then stored in the etc folder under this path.
> This means there are the following ways how you can resolve this configuration problem
> - modify the system configuration using a native editor started with administrative privileges
> - modify the user configuration in your home directory instead
Thanks for your explanations. I think I'll go this route.
> - install native git into a not protected folder
> - manually override the path to the git installation folder by setting the Java system property 'jgit.gitprefix' to
> the path you want. But: this may lead to inconsistent behavior as this way native git might see a different
> configuration than EGit/JGit.
>
> Unfortunately this probably will not solve your original problem as JGit doesn't yet fully support autocrlf [1].
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=301775
Okay, it seems as if there's some progress. When the fix is on the nightly site, will we have to create new clones?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper

Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: How to change the location of the system configuration file?[message #753867 is a reply to message #753720]Sat, 29 October 2011 17:25
Robin Rosenberg
Messages: 332
Registered: July 2009
Eike Stepper skrev 2011-10-28 15.45:
> Am 26.10.2011 15:32, schrieb Matthias Sohn:
>> AFAIK newer Windows versions are protecting files under 'Program Files' so you need administrative privileges to change them and AFAIK there is no way to sudo from a Java
>> application.
>> JGit tries to use the same location used by native git, in order to detect that it searches for git in the PATH. On my Mac this e.g. points at /usr/local/git. The system
>> configuration is then stored in the etc folder under this path.
>> This means there are the following ways how you can resolve this configuration problem
>> - modify the system configuration using a native editor started with administrative privileges
>> - modify the user configuration in your home directory instead
> Thanks for your explanations. I think I'll go this route.
>
>> - install native git into a not protected folder
>> - manually override the path to the git installation folder by setting the Java system property 'jgit.gitprefix' to the path you want. But: this may lead to inconsistent
>> behavior as this way native git might see a different configuration than EGit/JGit.
Java has a preferences API, maybe we should use that instead of the Eclipse preferences? That way both
Eclipse and command line JGit would see the same setting.
>> Unfortunately this probably will not solve your original problem as JGit doesn't yet fully support autocrlf [1].
>>
>> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=301775
> Okay, it seems as if there's some progress. When the fix is on the nightly site, will we have to create new clones?
That should not be necessary. You might want to test-drive the patch yourself, building
the plugin using maven isn't hard. Pointing Eclipse to the update site is probably the hardest part :)
If you do test it, please try to make it fail. We are people that insist on
hearing bad news immediately.
-- robin
Previous Topic:Synchronize view hangs
Next Topic:Potential Locking Issue on Project Import
Goto Forum:Eclipse Cdt Configuration Support Is Not Installed On The System
[ Syndicate this forum (XML) ] [ ]

Powered by FUDForum. Page generated in 0.01455 seconds

Provides automation of configuration needed for projects using pkg-config, such as GTK+ and gtkmm. Very useful time-saving tool for all C, C++ programmers using Eclipse.

Mission

The aim of the Eclipse plug-in is to provide automation of configuration needed for projects using pkg-config, such as GTK+ and gtkmm.

Features

The plug-in will set options and switches automatically that gcc needs to add in the selected packages - specifically the header file paths, the libraries, and some other gcc switches.

Mujhse Dosti Karoge!: Description. Mujhse Dosti Karoge (2002) Watch Online Full Movie Free DVDRip, Watch And Download Mujhse Dosti Karoge Movie Free, Latest HD 720P MP4 Movies Torrent Dailymotion Raj, Pooja and Tina are childhood friends. Mujhse dosti karoge full movie online. Mujhse Dosti Karoge (2002) DVDRip Watch Online Hindi Full Movie Download Free Mujhse Dosti Karoge (2002), Watch Mujhse Dosti Karoge Full Movie Online, Mujhse Dosti Karoge Dvdrip Movie Full Download, Watch Mujhse Dosti Karoge 720p MP4 Full HD Quality Movie, Watch Mujhse Dosti Karoge Movie Full Streaming, Mujhse Dosti Karoge (2002) watch free movie online likewise on GoMovies 123Movies GoStream. We Changed Our Main Domain Please Use Our New Domain Please Visit DesireHub.xyz Mujhse Dosti Karoge 2002 Hindi 720p DVDRip 1GB.

  • Cross platform supportProject can be held in a version control system and even if the packages have been selected in Linux, pulling the project in Windows will automatically update the flags (file-system paths etc).

  • Cross compilation environment supportPkg-config plugin configuration is now per-project configuration rather than a global configuration. Path to the pkg-config binary can be set per-project.

  • Per-toolchain specified pkg-config binary (default and custom paths)

  • Property pageUsed to select packages and set pkg-config configuraion.

What is PKG-CONFIG?

Pkg-config utility outputs the necessary options needed to build a given package that can be passed as compiler options.

Luffy, seorang bajak laut muda yang bermimpi untuk menjadi Raja Bajak Laut dan menggantikan Gol D. Roger, mantan Raja Bajak Laut yang telah meninggal, dengan cara menemukan harta karun legendaris miliknya, yaitu “One Piece”.Selama perjalanannya, Luffy merekrut beragam anggota kru untuk kelompok bajak lautnya, Bajak Laut Topi-Jerami, termasuk di antaranya ahli pedang Roronoa Zoro, navigator Nami, inventor dan penembak jitu Usopp, koki dan ahli bela diri Sanji, rusa antropomorfis dan dokter Tony Tony Chopper, arkeolog Nico Robin, cyborg ahli kapal Franky, dan musisi kerangka-hidup Brook. SinopsisTokoh utama dalam serial ini adalah Monkey D. Piece

  • Linux man page: http://linux.die.net/man/1/pkg-config
  • Wikipedia article: http://en.wikipedia.org/wiki/Pkg-config

Mailing list

Installation

Note: Eclipse 3.7 (Indigo) and CDT 8 (or newer) are mandatory. Try first without setting PKG_CONFIG_PATH manually. It is found automatically in most cases.

Windows users: Do not install Gtk+ or Gtkmm in a path containing spaces, because pkg-config does not support spaces in paths.

Eclipse Marketplace entry

To make installation easy, the plugin is added to Eclipse marketplace (it's free)http://marketplace.eclipse.org/content/pkg-config-support-eclipse-cdt

Recent Posts