Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I define my file formats (outside of Eclipse)?

Hi:

We are using RTC3.0 iFix1.

We have discovered that only the ".c" files have the property "Line
Delimiter" set to "Platform". This is an RTC default.

We need to define other filetypes (like *.cfg, *.h) to have this same
format set.

I do not want to ask each developer to modify their eclipse settings,
since this is error prone.

How else can I set this settings globally? (maybe like we do for the ignore files?).

-Thanks
Maggie

1

0 votes



3 answers

Permanent link
This has been requested in work item item 127608.
Please add a comment there to indicate your interest/support (it
currently is marked as "inactive", so we'd need visible support from the
community in order to bump it out of that state).

Cheers,
Geoff


On 10/27/2011 11:23 AM, mstearns wrote:
Hi:

We are using RTC3.0 iFix1.

We have discovered that only the ".c" files have the
property "Line
Delimiter" set to "Platform". This is an RTC default.

We need to define other filetypes (like *.cfg, *.h) to have this same

format set.



I do not want to ask each developer to modify their eclipse settings,

since this is error prone.



How else can I set this settings globally? (maybe like we do for the
ignore files?).

-Thanks
Maggie

0 votes


Permanent link
Just wondering, is the line delimiter a client-side configuration? In other words, is it a configuration of the RTC Eclipse client how certain files should be treated? I would have expected that this is a property that is attached to the file and that it is versioned like any other property, similarly to Subversion's "svn:eol-style" property.

Uli

0 votes


Permanent link
The line delimiter of a file that is under version control is a
version-controlled property in the RTC repository. The part that is a
client-side configuration is the rule that specifies what the line
delimiter should be for a new file being put under version control for
the first time.

The referenced work item requests that these rules be something that can
be automatically retrieved by the RTC plug-in. Note that you can do
this manually today by putting the Eclipse preferences file under
version control, and remembering to download that file and import it
into your new Eclipse workspaces ... automating that process is what the
work item is about.

Cheers,
Geoff

On 10/28/2011 7:23 AM, ulricheckhardt wrote:
Just wondering, is the line delimiter a client-side configuration? In
other words, is it a configuration of the RTC Eclipse client how
certain files should be treated? I would have expected that this is a
property that is attached to the file and that it is versioned like
any other property, similarly to Subversion's
"svn:eol-style" property.

Uli

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 27 '11, 11:22 a.m.

Question was seen: 5,740 times

Last updated: Oct 27 '11, 11:22 a.m.

Confirmation Cancel Confirm