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

Code formatting on delivery

Hey all,

This was asked a couple of years back[1] but got no answer. I thought I would try again.

Is it possible (using the Eclipse RTC Client) to strongly encourage the developer to format their code against a given Eclipse Formatting profile?

Cheers,

0 votes



One answer

Permanent link
Hi Peter,
I don't know of a built-in precondition that does exactly what you're looking for.  There are preconditions that prohibit non-externalized Java strings and prohibit unused Java imports.  Perhaps you could write your own precondition.

0 votes

Comments

And it would have to be a precondition that actually runs in the Eclipse client and not on the server. And it needs to be able to detect a file needs formatting before delivery.  That is how client preconditions actually can work.They access capabilities installed in the RTC client that provide information back that can be used to decide.

1 vote

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
× 127
× 6

Question asked: Apr 02 '13, 7:48 p.m.

Question was seen: 6,628 times

Last updated: Apr 03 '13, 7:28 a.m.

Confirmation Cancel Confirm