Bug 375740 - [clean up] pluginCustomization not picked up for clean ups
Summary: [clean up] pluginCustomization not picked up for clean ups
Status: CLOSED DUPLICATE of bug 281487
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 normal with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 11:51 EDT by Vincent Latombe CLA
Modified: 2013-06-03 04:41 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Latombe CLA 2012-03-30 11:51:48 EDT
Build Identifier: 20120216-1857

It seems that the following preferences, picked up from a .ini specified via -pluginCustomization parameter are not picked up. There are also not picked up when exporting/importing them back via epf files.

The following are not applied correctly when creating a new workspace :
org.eclipse.jdt.ui/sp_cleanup.on_save_use_additional_actions=true
org.eclipse.jdt.ui/sp_cleanup.format_source_code=true
org.eclipse.jdt.ui/sp_cleanup.format_source_code_changes_only=true
org.eclipse.jdt.ui/sp_cleanup.use_blocks=true




Reproducible: Always

Steps to Reproduce:
1. Set up a basic custom.ini to be fed to -pluginCustomization option with one of the options I specified. You'll need to add

org.eclipse.jdt.ui/editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true

because it is part of this subsection (# Java/Editor/Save Actions/Perform the selected actions on save)
2. Open Eclipse with a new workspace
3. Check preferences and see that the specified settings are not applied.
Comment 1 Vincent Latombe CLA 2012-03-30 12:18:18 EDT
Actually importing an epf file works.
Comment 2 Dani Megert CLA 2012-05-14 05:54:43 EDT
Could be a bug in CleanUpPostSaveListener.getCleanUps(IProject).
Comment 3 Alix Lourme CLA 2012-05-26 10:40:36 EDT
For information : same problem on Indigo 3.7.2
Comment 4 Tomas Cernaj CLA 2013-06-02 12:43:49 EDT
Duplicate of Bug 281487, where the problem is assumed to be in org.eclipse.jdt.internal.ui.fix.CleanUpSaveParticipantPreferenceConfiguration.

Still exists in Kepler (4.3RC3).
Comment 5 Dani Megert CLA 2013-06-03 04:41:45 EDT

*** This bug has been marked as a duplicate of bug 281487 ***