eclipse.ini file should be moved to /etc

Bug #43162 reported by Sven Wilhelm
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Unassigned
eclipse (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: eclipse-platform-common

The eclipse.ini file is located in /usr/share/eclipse/. As central eclipse settings are stored in this file, it should be moved to /etc as configuration file. It's not nice to edit files under package manager control to change central eclipse settings.

Related branches

Revision history for this message
Michael Vogt (mvo) wrote :

One open task is enough.

Revision history for this message
Maduser (maduser) wrote :

It seems that the eclipse.ini is now (8.04) in /usr/lib/eclipse/eclipse.ini
And the /usr/lib/eclipse/configuration/config.ini should also moved to etc.

Daniel T Chen (crimsun)
Changed in eclipse:
importance: Medium → Wishlist
status: New → Confirmed
Revision history for this message
Rockwalrus (rockwalrus) wrote :

Since this is a policy violation, "Wishlist" doesn't seem like the right priority.

Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
importance: Wishlist → Medium
Revision history for this message
Luke Maurer (luke-maurer) wrote :

It's a particularly nasty policy violation, given that AFAICT there is no longer any way for the user to override /usr/lib/eclipse/eclipse.ini using anything in ~/.eclipse/ . Neither ~/.eclipse/eclipserc (as claimed by the eclipse manpage) nor ~/.eclipse/eclipse.ini is honored these days (a bit of Googling suggests they were at some point).

Revision history for this message
Benjamin Drung (bdrung) wrote :

eclipse.ini is moved to /etc/eclipse.ini for system configuration in our git repository [1].

[1] http://git.debian.org/?p=pkg-java/eclipse.git;a=commitdiff;h=d978fd53d29372c5559184693b36efd28255c6ba

Changed in eclipse (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Rockwalrus (rockwalrus) wrote :

Here are the changes I made to get the rest of the configuration files into /etc. The config files aren't conffiles and are instead created with a shar in postinst to conform to debian policy for configuration files that can be modified by the maintainer scripts of other packages (in this case, packages like CDT.)

http://bazaar.launchpad.net/~eclipse-team/eclipse-ubuntu/eclipse-modular/revision/41?remember=36&compare_revid=36

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.5.1+repack~3-0ubuntu1

---------------
eclipse (3.5.1+repack~3-0ubuntu1) lucid; urgency=low

  * Rebase to packaging from pkg-java/eclipse:
    + Stopped using special hacks and work arounds to find JVMs.
      (Closes: #353360)
      - This removes the need for ~/.eclipse/eclipserc (Closes: #402077)
      - This makes eclipse read eclipse.ini (Closes: #491334)
    + Moved the executable to eclipse-platform from eclipse.
      (Closes: #358594)
    + Put the osgi jar-files into its own separate package. (LP: #102717)
    + Added workaround for gtk problems. (Closes: #552480)
    + Added missing API references. (Closes: #376850)
    + Moved org.eclipse.ant.ui to eclipse-platform. (LP: #477944)
    + Added information about how to create the orig.tar.gz.
      (Closes: #505553)
    + Rewrote symlink script to handle folders that are renamed on different
      archs/builds. (LP: #471859)
    + Move eclipse.ini into /etc (LP: #43162)
  * Drop versioned dependency on libcommons-el-java, libjetty-java,
    libservlet2.4-java; they are not yet available in Ubuntu.
 -- Benjamin Drung <email address hidden> Tue, 29 Dec 2009 18:48:17 +0100

Changed in eclipse (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.