You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Krzysztof Sobkowiak <kr...@gmail.com> on 2014/01/15 20:52:42 UTC

Code formatting for Apache projects

Hi

Do you have any special code formatting configuration for Eclipse used 
when you develop Karaf, SMX or Camel?

Regards
Krzysztof


-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center 
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> | 
Twitter: @KSobkowiak

Re: Code formatting for Apache projects

Posted by Thorsten Höger <li...@hoegernet.de>.
Hi,

for our OSS Project we use the common preferences plugin for Eclipse [0].
Maybe this could be of use for Apache as well.

Regards,
Thorsten

[0]: https://github.com/cinovo/cloudconductor-server/wiki/Contribute

Am 05.04.2014 07:11, schrieb Jean-Baptiste Onofré:
> Hi Krzysztof,
>
> you can find some details there:
> https://servicemix.apache.org/developers/coding-standards.html
>
> The eclipse formatter to use is there:
> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/
>
> Regards
> JB
>
> On 04/04/2014 11:09 PM, Krzysztof Sobkowiak wrote:
>> Hi
>>
>> I have started this thread once in Karaf list. Do we have any common
>> formatting rules/configuration we should use when developing ServiceMix?
>> Jean-Baptiste has mentioned following location:
>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/
>>
>> I have also found another location containing the eclipse configuration
>> too -
>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/etc/eclipse/
>> (or in trunk
>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/)
>>
>> Should we use one of these configurations?
>>
>> Best regards
>> Krzysztof
>>
>>
>> On 16.01.2014 08:55, Jean-Baptiste Onofré wrote:
>>> Agree Dan,
>>>
>>> I just want to review the formatter first and provide the IntelliJ one
>>> too.
>>>
>>> Regards
>>> JB
>>>
>>> On 01/16/2014 08:31 AM, Dan Tran wrote:
>>>> I would be nice to add this into karaf dev doc
>>>>
>>>> -D
>>>>
>>>>
>>>> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>>>> <ma...@nanthrax.net>> wrote:
>>>>
>>>>     Hi Krzysztof,
>>>>
>>>>     you can find the code formatter for Eclipse here:
>>>>
>>>> http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>>>>
>>>>
>>>> <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>>>>
>>>>
>>>>
>>>>     Regards
>>>>     JB
>>>>
>>>>
>>>>     On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>>>>
>>>>         Hi
>>>>
>>>>         Do you have any special code formatting configuration for
>>>>         Eclipse used
>>>>         when you develop Karaf, SMX or Camel?
>>>>
>>>>         Regards
>>>>         Krzysztof
>>>>
>>>>
>>>>     --
>>>>     Jean-Baptiste Onofré
>>>>     jbonofre@apache.org <ma...@apache.org>
>>>>     http://blog.nanthrax.net
>>>>     Talend - http://www.talend.com
>>>>
>>>>
>>>
>>
>>
>


Re: Code formatting for Apache projects

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for the update Johan.

no rush, share your profile when you can.

Regards
JB

On 04/05/2014 07:34 AM, Johan Edstrom wrote:
> I went through at some point to handle sorting, imports, exceptions, etc etc.
> Star import prevention, intention and so on.
>
> I just got home, I'll post them tomorrow or you can copy at apcn!
>
> Sent from my pressure cooker.
>
>> On Apr 4, 2014, at 23:28, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>
>> Hi Johan,
>>
>> On my side, I use the default Idea profile, which already match the formatter rules.
>> Do you use something special ?
>>
>> Regards
>> JB
>>
>>> On 04/05/2014 07:25 AM, Johan Edstrom wrote:
>>> I think I have an idea profile that would work for camel/smx/Karaf
>>>
>>> Happy to provide it for review
>>>
>>> Sent from my pressure cooker.
>>>
>>>> On Apr 4, 2014, at 23:11, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>>>
>>>> Hi Krzysztof,
>>>>
>>>> you can find some details there:
>>>> https://servicemix.apache.org/developers/coding-standards.html
>>>>
>>>> The eclipse formatter to use is there:
>>>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/
>>>>
>>>> Regards
>>>> JB
>>>>
>>>>> On 04/04/2014 11:09 PM, Krzysztof Sobkowiak wrote:
>>>>> Hi
>>>>>
>>>>> I have started this thread once in Karaf list. Do we have any common
>>>>> formatting rules/configuration we should use when developing ServiceMix?
>>>>> Jean-Baptiste has mentioned following location:
>>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/
>>>>> I have also found another location containing the eclipse configuration
>>>>> too -
>>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/etc/eclipse/
>>>>> (or in trunk
>>>>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/)
>>>>>
>>>>> Should we use one of these configurations?
>>>>>
>>>>> Best regards
>>>>> Krzysztof
>>>>>
>>>>>
>>>>>> On 16.01.2014 08:55, Jean-Baptiste Onofré wrote:
>>>>>> Agree Dan,
>>>>>>
>>>>>> I just want to review the formatter first and provide the IntelliJ one
>>>>>> too.
>>>>>>
>>>>>> Regards
>>>>>> JB
>>>>>>
>>>>>>> On 01/16/2014 08:31 AM, Dan Tran wrote:
>>>>>>> I would be nice to add this into karaf dev doc
>>>>>>>
>>>>>>> -D
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>>>>>>> <ma...@nanthrax.net>> wrote:
>>>>>>>
>>>>>>>     Hi Krzysztof,
>>>>>>>
>>>>>>>     you can find the code formatter for Eclipse here:
>>>>>>>
>>>>>>> http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>>>>>>>
>>>>>>> <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>>>>>>>
>>>>>>>
>>>>>>>     Regards
>>>>>>>     JB
>>>>>>>
>>>>>>>
>>>>>>>     On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>>>>>>>
>>>>>>>         Hi
>>>>>>>
>>>>>>>         Do you have any special code formatting configuration for
>>>>>>>         Eclipse used
>>>>>>>         when you develop Karaf, SMX or Camel?
>>>>>>>
>>>>>>>         Regards
>>>>>>>         Krzysztof
>>>>>>>
>>>>>>>
>>>>>>>     --
>>>>>>>     Jean-Baptiste Onofré
>>>>>>>     jbonofre@apache.org <ma...@apache.org>
>>>>>>>     http://blog.nanthrax.net
>>>>>>>     Talend - http://www.talend.com
>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Code formatting for Apache projects

Posted by Johan Edstrom <se...@gmail.com>.
I went through at some point to handle sorting, imports, exceptions, etc etc.
Star import prevention, intention and so on.

I just got home, I'll post them tomorrow or you can copy at apcn!

Sent from my pressure cooker.

> On Apr 4, 2014, at 23:28, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> 
> Hi Johan,
> 
> On my side, I use the default Idea profile, which already match the formatter rules.
> Do you use something special ?
> 
> Regards
> JB
> 
>> On 04/05/2014 07:25 AM, Johan Edstrom wrote:
>> I think I have an idea profile that would work for camel/smx/Karaf
>> 
>> Happy to provide it for review
>> 
>> Sent from my pressure cooker.
>> 
>>> On Apr 4, 2014, at 23:11, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>> 
>>> Hi Krzysztof,
>>> 
>>> you can find some details there:
>>> https://servicemix.apache.org/developers/coding-standards.html
>>> 
>>> The eclipse formatter to use is there:
>>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/
>>> 
>>> Regards
>>> JB
>>> 
>>>> On 04/04/2014 11:09 PM, Krzysztof Sobkowiak wrote:
>>>> Hi
>>>> 
>>>> I have started this thread once in Karaf list. Do we have any common
>>>> formatting rules/configuration we should use when developing ServiceMix?
>>>> Jean-Baptiste has mentioned following location:
>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/
>>>> I have also found another location containing the eclipse configuration
>>>> too -
>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/etc/eclipse/
>>>> (or in trunk
>>>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/)
>>>> 
>>>> Should we use one of these configurations?
>>>> 
>>>> Best regards
>>>> Krzysztof
>>>> 
>>>> 
>>>>> On 16.01.2014 08:55, Jean-Baptiste Onofré wrote:
>>>>> Agree Dan,
>>>>> 
>>>>> I just want to review the formatter first and provide the IntelliJ one
>>>>> too.
>>>>> 
>>>>> Regards
>>>>> JB
>>>>> 
>>>>>> On 01/16/2014 08:31 AM, Dan Tran wrote:
>>>>>> I would be nice to add this into karaf dev doc
>>>>>> 
>>>>>> -D
>>>>>> 
>>>>>> 
>>>>>> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>>>>>> <ma...@nanthrax.net>> wrote:
>>>>>> 
>>>>>>    Hi Krzysztof,
>>>>>> 
>>>>>>    you can find the code formatter for Eclipse here:
>>>>>> 
>>>>>> http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>>>>>> 
>>>>>> <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>>>>>> 
>>>>>> 
>>>>>>    Regards
>>>>>>    JB
>>>>>> 
>>>>>> 
>>>>>>    On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>>>>>> 
>>>>>>        Hi
>>>>>> 
>>>>>>        Do you have any special code formatting configuration for
>>>>>>        Eclipse used
>>>>>>        when you develop Karaf, SMX or Camel?
>>>>>> 
>>>>>>        Regards
>>>>>>        Krzysztof
>>>>>> 
>>>>>> 
>>>>>>    --
>>>>>>    Jean-Baptiste Onofré
>>>>>>    jbonofre@apache.org <ma...@apache.org>
>>>>>>    http://blog.nanthrax.net
>>>>>>    Talend - http://www.talend.com
>>> 
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
> 
> -- 
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: Code formatting for Apache projects

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Johan,

On my side, I use the default Idea profile, which already match the 
formatter rules.
Do you use something special ?

Regards
JB

On 04/05/2014 07:25 AM, Johan Edstrom wrote:
> I think I have an idea profile that would work for camel/smx/Karaf
>
> Happy to provide it for review
>
> Sent from my pressure cooker.
>
>> On Apr 4, 2014, at 23:11, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>
>> Hi Krzysztof,
>>
>> you can find some details there:
>> https://servicemix.apache.org/developers/coding-standards.html
>>
>> The eclipse formatter to use is there:
>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/
>>
>> Regards
>> JB
>>
>>> On 04/04/2014 11:09 PM, Krzysztof Sobkowiak wrote:
>>> Hi
>>>
>>> I have started this thread once in Karaf list. Do we have any common
>>> formatting rules/configuration we should use when developing ServiceMix?
>>> Jean-Baptiste has mentioned following location:
>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/
>>> I have also found another location containing the eclipse configuration
>>> too -
>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/etc/eclipse/
>>> (or in trunk
>>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/)
>>>
>>> Should we use one of these configurations?
>>>
>>> Best regards
>>> Krzysztof
>>>
>>>
>>>> On 16.01.2014 08:55, Jean-Baptiste Onofré wrote:
>>>> Agree Dan,
>>>>
>>>> I just want to review the formatter first and provide the IntelliJ one
>>>> too.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>>> On 01/16/2014 08:31 AM, Dan Tran wrote:
>>>>> I would be nice to add this into karaf dev doc
>>>>>
>>>>> -D
>>>>>
>>>>>
>>>>> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>>>>> <ma...@nanthrax.net>> wrote:
>>>>>
>>>>>     Hi Krzysztof,
>>>>>
>>>>>     you can find the code formatter for Eclipse here:
>>>>>
>>>>> http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>>>>>
>>>>> <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>>>>>
>>>>>
>>>>>     Regards
>>>>>     JB
>>>>>
>>>>>
>>>>>     On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>>>>>
>>>>>         Hi
>>>>>
>>>>>         Do you have any special code formatting configuration for
>>>>>         Eclipse used
>>>>>         when you develop Karaf, SMX or Camel?
>>>>>
>>>>>         Regards
>>>>>         Krzysztof
>>>>>
>>>>>
>>>>>     --
>>>>>     Jean-Baptiste Onofré
>>>>>     jbonofre@apache.org <ma...@apache.org>
>>>>>     http://blog.nanthrax.net
>>>>>     Talend - http://www.talend.com
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Code formatting for Apache projects

Posted by Johan Edstrom <se...@gmail.com>.
I think I have an idea profile that would work for camel/smx/Karaf

Happy to provide it for review

Sent from my pressure cooker.

> On Apr 4, 2014, at 23:11, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> 
> Hi Krzysztof,
> 
> you can find some details there:
> https://servicemix.apache.org/developers/coding-standards.html
> 
> The eclipse formatter to use is there:
> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/
> 
> Regards
> JB
> 
>> On 04/04/2014 11:09 PM, Krzysztof Sobkowiak wrote:
>> Hi
>> 
>> I have started this thread once in Karaf list. Do we have any common
>> formatting rules/configuration we should use when developing ServiceMix?
>> Jean-Baptiste has mentioned following location:
>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/
>> I have also found another location containing the eclipse configuration
>> too -
>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/etc/eclipse/
>> (or in trunk
>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/)
>> 
>> Should we use one of these configurations?
>> 
>> Best regards
>> Krzysztof
>> 
>> 
>>> On 16.01.2014 08:55, Jean-Baptiste Onofré wrote:
>>> Agree Dan,
>>> 
>>> I just want to review the formatter first and provide the IntelliJ one
>>> too.
>>> 
>>> Regards
>>> JB
>>> 
>>>> On 01/16/2014 08:31 AM, Dan Tran wrote:
>>>> I would be nice to add this into karaf dev doc
>>>> 
>>>> -D
>>>> 
>>>> 
>>>> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>>>> <ma...@nanthrax.net>> wrote:
>>>> 
>>>>    Hi Krzysztof,
>>>> 
>>>>    you can find the code formatter for Eclipse here:
>>>> 
>>>> http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>>>> 
>>>> <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>>>> 
>>>> 
>>>>    Regards
>>>>    JB
>>>> 
>>>> 
>>>>    On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>>>> 
>>>>        Hi
>>>> 
>>>>        Do you have any special code formatting configuration for
>>>>        Eclipse used
>>>>        when you develop Karaf, SMX or Camel?
>>>> 
>>>>        Regards
>>>>        Krzysztof
>>>> 
>>>> 
>>>>    --
>>>>    Jean-Baptiste Onofré
>>>>    jbonofre@apache.org <ma...@apache.org>
>>>>    http://blog.nanthrax.net
>>>>    Talend - http://www.talend.com
> 
> -- 
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: Code formatting for Apache projects

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Krzysztof,

you can find some details there:
https://servicemix.apache.org/developers/coding-standards.html

The eclipse formatter to use is there:
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/

Regards
JB

On 04/04/2014 11:09 PM, Krzysztof Sobkowiak wrote:
> Hi
>
> I have started this thread once in Karaf list. Do we have any common
> formatting rules/configuration we should use when developing ServiceMix?
> Jean-Baptiste has mentioned following location:
> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/
> I have also found another location containing the eclipse configuration
> too -
> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/etc/eclipse/
> (or in trunk
> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/)
>
> Should we use one of these configurations?
>
> Best regards
> Krzysztof
>
>
> On 16.01.2014 08:55, Jean-Baptiste Onofré wrote:
>> Agree Dan,
>>
>> I just want to review the formatter first and provide the IntelliJ one
>> too.
>>
>> Regards
>> JB
>>
>> On 01/16/2014 08:31 AM, Dan Tran wrote:
>>> I would be nice to add this into karaf dev doc
>>>
>>> -D
>>>
>>>
>>> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>>> <ma...@nanthrax.net>> wrote:
>>>
>>>     Hi Krzysztof,
>>>
>>>     you can find the code formatter for Eclipse here:
>>>
>>> http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>>>
>>> <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>>>
>>>
>>>     Regards
>>>     JB
>>>
>>>
>>>     On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>>>
>>>         Hi
>>>
>>>         Do you have any special code formatting configuration for
>>>         Eclipse used
>>>         when you develop Karaf, SMX or Camel?
>>>
>>>         Regards
>>>         Krzysztof
>>>
>>>
>>>     --
>>>     Jean-Baptiste Onofré
>>>     jbonofre@apache.org <ma...@apache.org>
>>>     http://blog.nanthrax.net
>>>     Talend - http://www.talend.com
>>>
>>>
>>
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Code formatting for Apache projects

Posted by Krzysztof Sobkowiak <kr...@gmail.com>.
Hi

I have started this thread once in Karaf list. Do we have any common 
formatting rules/configuration we should use when developing ServiceMix? 
Jean-Baptiste has mentioned following location: 
http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/ 
I have also found another location containing the eclipse configuration 
too - 
http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/etc/eclipse/ 
(or in trunk 
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/etc/eclipse/)

Should we use one of these configurations?

Best regards
Krzysztof


On 16.01.2014 08:55, Jean-Baptiste Onofré wrote:
> Agree Dan,
>
> I just want to review the formatter first and provide the IntelliJ one 
> too.
>
> Regards
> JB
>
> On 01/16/2014 08:31 AM, Dan Tran wrote:
>> I would be nice to add this into karaf dev doc
>>
>> -D
>>
>>
>> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>> <ma...@nanthrax.net>> wrote:
>>
>>     Hi Krzysztof,
>>
>>     you can find the code formatter for Eclipse here:
>>
>> http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>> <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>>
>>     Regards
>>     JB
>>
>>
>>     On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>>
>>         Hi
>>
>>         Do you have any special code formatting configuration for
>>         Eclipse used
>>         when you develop Karaf, SMX or Camel?
>>
>>         Regards
>>         Krzysztof
>>
>>
>>     --
>>     Jean-Baptiste Onofré
>>     jbonofre@apache.org <ma...@apache.org>
>>     http://blog.nanthrax.net
>>     Talend - http://www.talend.com
>>
>>
>


-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center 
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> | 
Twitter: @KSobkowiak

Re: Code formatting for Apache projects

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Agree Dan,

I just want to review the formatter first and provide the IntelliJ one too.

Regards
JB

On 01/16/2014 08:31 AM, Dan Tran wrote:
> I would be nice to add this into karaf dev doc
>
> -D
>
>
> On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
>     Hi Krzysztof,
>
>     you can find the code formatter for Eclipse here:
>
>     http://svn.apache.org/viewvc/__servicemix/smx3/branches/__servicemix-3.2/build/src/main/__resources/smx-eclipse-code-__conventions.xml?view=co&__revision=602828&content-type=__text%2Fplain
>     <http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain>
>
>     Regards
>     JB
>
>
>     On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>
>         Hi
>
>         Do you have any special code formatting configuration for
>         Eclipse used
>         when you develop Karaf, SMX or Camel?
>
>         Regards
>         Krzysztof
>
>
>         --
>         Krzysztof Sobkowiak
>
>         JEE & OSS Architect | Technical Architect @ Capgemini
>         Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
>         <http://www.pl.capgemini-sdm.__com/
>         <http://www.pl.capgemini-sdm.com/>> | Wroclaw
>         e-mail: krzys.sobkowiak@gmail.com
>         <ma...@gmail.com>
>         <mailto:krzys.sobkowiak@gmail.__com
>         <ma...@gmail.com>> |
>         Twitter: @KSobkowiak
>
>
>     --
>     Jean-Baptiste Onofré
>     jbonofre@apache.org <ma...@apache.org>
>     http://blog.nanthrax.net
>     Talend - http://www.talend.com
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Code formatting for Apache projects

Posted by Dan Tran <da...@gmail.com>.
I would be nice to add this into karaf dev doc

-D


On Wed, Jan 15, 2014 at 10:58 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Hi Krzysztof,
>
> you can find the code formatter for Eclipse here:
>
> http://svn.apache.org/viewvc/servicemix/smx3/branches/
> servicemix-3.2/build/src/main/resources/smx-eclipse-code-
> conventions.xml?view=co&revision=602828&content-type=text%2Fplain
>
> Regards
> JB
>
>
> On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
>
>> Hi
>>
>> Do you have any special code formatting configuration for Eclipse used
>> when you develop Karaf, SMX or Camel?
>>
>> Regards
>> Krzysztof
>>
>>
>> --
>> Krzysztof Sobkowiak
>>
>> JEE & OSS Architect | Technical Architect @ Capgemini
>> Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
>> <http://www.pl.capgemini-sdm.com/> | Wroclaw
>> e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> |
>> Twitter: @KSobkowiak
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Code formatting for Apache projects

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Krzysztof,

you can find the code formatter for Eclipse here:

http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/resources/smx-eclipse-code-conventions.xml?view=co&revision=602828&content-type=text%2Fplain

Regards
JB

On 01/15/2014 08:52 PM, Krzysztof Sobkowiak wrote:
> Hi
>
> Do you have any special code formatting configuration for Eclipse used
> when you develop Karaf, SMX or Camel?
>
> Regards
> Krzysztof
>
>
> --
> Krzysztof Sobkowiak
>
> JEE & OSS Architect | Technical Architect @ Capgemini
> Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
> <http://www.pl.capgemini-sdm.com/> | Wroclaw
> e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> |
> Twitter: @KSobkowiak

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com