camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Anstey <jans...@gmail.com>
Subject Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?
Date Tue, 27 Jan 2009 13:02:30 GMT
Spot on Ramon. You can also tell Maven where your Eclipse workspace actually
is like so

mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace

On Tue, Jan 27, 2009 at 9:28 AM, Ramon Buckland <ramon.buckland@gmail.com>wrote:

> cc'd to dev@
>
> Thanks Charles,  I have/had the same question.
>
> Once it is in email I'll volunteer to push that to the wiki.
>
> I know already that line width is set at 140 (thanks Claus).
>
> In Eclipse I am using Sun standard formatting with change of 140 line
> width.
>
> It seems, by inspecting the uber pom.xml that
>
> {code} mvn -Psetup.eclipse {code}
>
> should create the magic with a checkstyle configuration applied to a
> workspace. but it assumed a few things about workspace locations and etc
> which did not seem to hold for me.
>
> On Tue, Jan 27, 2009 at 23:49, cmoulliard <cmoulliard@gmail.com> wrote:
>
> >
> > Hi,
> >
> > I would like to know the procedure to follow in order to format code to
> be
> > published to camel project in Eclipse ?
> >
> > Idem but to check style ?
> >
> > Is the code formatted automatically during maven build process of Camel
> > project ?
> >
> > Remarks :
> > - ActiveMQCodeFormatter.xml file exists under the folder etc/eclipse.
> Maybe
> > this file could be rename to CamelCodeFormater ? Is it the file to be
> used
> > in Eclipse to format the code ?
> > - Several files exist under buildingtools project ? Which one to be used
> > with eclipse to checkstyle (using checkstyle plugin / PMD plugin)  ?
> >
> >
> >
>



-- 
Cheers,
Jon

http://janstey.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message