You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by Mark Struberg <st...@yahoo.de> on 2010/12/13 13:00:04 UTC
code style?
Hi folks!
I just wondered if we have a fixed code-style in our project?
I found sources which mixed tabs and spaces, 4 and 2 chars indention, etc.
I'd suggest to use the maven-checkstyle-plugin for getting this fixed. This might also check if all our files have the appropriate ALv2 license header...
See here for the necessary config:
https://svn.apache.org/repos/asf/openwebbeans/build-tools/trunk/src/main/resources/openwebbeans/
In OWB (and also in MyFaces) this is maintained in a separate 'project' because the build depends on it...
LieGrue,
strub
LieGrue,
strub
Re: code style?
Posted by Dan Haywood <dk...@gmail.com>.
Just to finish off this thread, and per my earlier emails today, the
contributor's guide is now available and ready for review (ISIS-43).
Dan
On 15/12/2010 12:03, Dan Haywood wrote:
> Hi Mark,
> As you'll have seen, I've raised ISIS-20 plus subtasks... they all
> reference this point, along with a number of others.
>
> My plan is to use an Eclipse formatting template to address this. We
> do have one, actually, in
> trunk/src/site/resources/ide/eclipse/templates... but I need to check
> it is correctly setup for this.
>
> I also intend to put some words together in a "contributors guide" (in
> trunk/src/docbkx/guide) to provide guidance for the community at large
> (hopefully so that everyone will be able to help out by doing some of
> the ISIS-20 subtasks).
>
> Once I've got the contributors guide sorted, I'll start asking people
> to help if they can...
>
> Thx
> Dan
>
> On 13/12/2010 12:00, Mark Struberg wrote:
>> Hi folks!
>>
>> I just wondered if we have a fixed code-style in our project?
>>
>> I found sources which mixed tabs and spaces, 4 and 2 chars indention,
>> etc.
>>
>> I'd suggest to use the maven-checkstyle-plugin for getting this
>> fixed. This might also check if all our files have the appropriate
>> ALv2 license header...
>>
>> See here for the necessary config:
>> https://svn.apache.org/repos/asf/openwebbeans/build-tools/trunk/src/main/resources/openwebbeans/
>>
>>
>> In OWB (and also in MyFaces) this is maintained in a separate
>> 'project' because the build depends on it...
>>
>> LieGrue,
>> strub
>>
>> LieGrue,
>> strub
>>
>>
>>
>>
Re: code style?
Posted by Dan Haywood <dk...@gmail.com>.
Hi Mark,
As you'll have seen, I've raised ISIS-20 plus subtasks... they all
reference this point, along with a number of others.
My plan is to use an Eclipse formatting template to address this. We do
have one, actually, in trunk/src/site/resources/ide/eclipse/templates...
but I need to check it is correctly setup for this.
I also intend to put some words together in a "contributors guide" (in
trunk/src/docbkx/guide) to provide guidance for the community at large
(hopefully so that everyone will be able to help out by doing some of
the ISIS-20 subtasks).
Once I've got the contributors guide sorted, I'll start asking people to
help if they can...
Thx
Dan
On 13/12/2010 12:00, Mark Struberg wrote:
> Hi folks!
>
> I just wondered if we have a fixed code-style in our project?
>
> I found sources which mixed tabs and spaces, 4 and 2 chars indention, etc.
>
> I'd suggest to use the maven-checkstyle-plugin for getting this fixed. This might also check if all our files have the appropriate ALv2 license header...
>
> See here for the necessary config:
> https://svn.apache.org/repos/asf/openwebbeans/build-tools/trunk/src/main/resources/openwebbeans/
>
> In OWB (and also in MyFaces) this is maintained in a separate 'project' because the build depends on it...
>
> LieGrue,
> strub
>
> LieGrue,
> strub
>
>
>
>