Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Configure default line separator through plugin customization
Configure default line separator through plugin customization [message #901223] Fri, 10 August 2012 12:19 Go to next message
Anders Hammar is currently offline Anders HammarFriend
Messages: 4
Registered: August 2012
Junior Member
For a Eclipse Juno bundle (Java EE), I'm trying to configure the default new text file line delimiter for workspace preferences through specifying it in a plugin customization properties file. But I can't get it to work.

The plugin customization file is specified in eclipse.ini:

-plugincustomization
configuration/my_defaults.ini

It works for other properties. For the line delimiter I would expect this in my_defaults.ini to work:

org.eclipse.core.runtime/line.separator=\n

But the preference still says default (Windows) is used, not Unix as I want. Does anyone know if this isn't possible to configure or if I'm specifying the wrong key? What would the correct key be if it's wrong?
Re: Configure default line separator through plugin customization [message #901244 is a reply to message #901223] Fri, 10 August 2012 13:21 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
On 10.08.2012 14:19, Anders Hammar wrote:
> For a Eclipse Juno bundle (Java EE), I'm trying to configure the
> default new text file line delimiter for workspace preferences through
> specifying it in a plugin customization properties file. But I can't
> get it to work.
See https://bugs.eclipse.org/287579

Dani
>
> The plugin customization file is specified in eclipse.ini:
>
> -plugincustomization
> configuration/my_defaults.ini
>
> It works for other properties. For the line delimiter I would expect
> this in my_defaults.ini to work:
>
> org.eclipse.core.runtime/line.separator=\n
>
> But the preference still says default (Windows) is used, not Unix as I
> want. Does anyone know if this isn't possible to configure or if I'm
> specifying the wrong key? What would the correct key be if it's wrong?
>
Re: Configure default line separator through plugin customization [message #901339 is a reply to message #901244] Fri, 10 August 2012 22:48 Go to previous message
Anders Hammar is currently offline Anders HammarFriend
Messages: 4
Registered: August 2012
Junior Member
Ah, thanks! This has driving me nuts trying to get it to work today.
Previous Topic:Export Editor as image
Next Topic:unable to use secure storage with headless antRunner app
Goto Forum:
  


Current Time: Sat Nov 29 08:52:43 GMT 2014

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

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