You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Zoran Regvart <zo...@regvart.com> on 2017/04/20 16:24:37 UTC

To put eclipse setup in camel-etc in profile?

Hi Cameleers,
it kinda irks me that every time i run `mvn install` the eclipse setup
in `camel-etc` overwrites my Eclipse workspace settings.

Also it fails if the parent of the source root is not writeable, as it
tries to create `.metadata` directory in the same directory the
`camel` source root is.

I would put the execution of plugins in `etc/pom.xml` behind a profile
(`setup-eclipse`?) and have it not run by default.

What do you think?

zoran
-- 
Zoran Regvart

Re: To put eclipse setup in camel-etc in profile?

Posted by Onder SEZGIN <on...@gmail.com>.
i am using eclipse personally.
eclipse support in such cases would be nice even though i did not come
across the issue Zoran mentioned.

i have other issues with eclipse :):)

btw, if i could find proper licence i am considering migrating to idea:)

eclipse even helps a lot and cool for recent riders like me. :)


On Fri, 21 Apr 2017 at 11:58, Zoran Regvart <zo...@regvart.com> wrote:

> Hi Cameleers,
> anyone else using _sigh_ Eclipse?
>
> I don't actually think that we need the Eclipse setup in `camel-etc`:
>
> If you have the support in Eclipse, namely: Checkstyle plugin, m2e
> with Checkstyle extension (gets auto installed on import) and enable
> the `sourcecheck` profile -- then the Checkstyle configuration is
> automatically applied to the imported module.
>
> And if you like you can have a separate settings.xml for Maven running
> within m2e that has the `sourcecheck` profile active by default (this
> is how I have it configured).
>
> And of course you can manually import the Checkstyle configuration
> from `buildingtools` regardless of m2e and Checkstyle extension for
> m2e with just the Checkstyle plugin installed.
>
> And yes, if this is too much, you can switch to IDEA and be a proper
> Hipster Cameleer[1] :)
>
> zoran
>
> [1] http://www.aftonbladet.se/nojesbladet/tv/article17411913.ab
>
> On Fri, Apr 21, 2017 at 10:26 AM, Claus Ibsen <cl...@gmail.com>
> wrote:
> > I dont use Eclipse but reading this seems to make sense to me.
> >
> > Anyone using Eclipse can maybe comment on this, how it is to work with
> > the Camel source code using Eclipse.
> >
> > The IDEA users dont have any problems, just open the pom.xml files and
> > you are ready. If you want you can install the checkstyle plugin in
> > IDEA and point it to the buildingtools checkstyle file to have it
> > highlight errors in the editor.
>
> zoran
> --
> Zoran Regvart
>
-- 
Sent from my iPhone

Re: To put eclipse setup in camel-etc in profile?

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Cameleers,
anyone else using _sigh_ Eclipse?

I don't actually think that we need the Eclipse setup in `camel-etc`:

If you have the support in Eclipse, namely: Checkstyle plugin, m2e
with Checkstyle extension (gets auto installed on import) and enable
the `sourcecheck` profile -- then the Checkstyle configuration is
automatically applied to the imported module.

And if you like you can have a separate settings.xml for Maven running
within m2e that has the `sourcecheck` profile active by default (this
is how I have it configured).

And of course you can manually import the Checkstyle configuration
from `buildingtools` regardless of m2e and Checkstyle extension for
m2e with just the Checkstyle plugin installed.

And yes, if this is too much, you can switch to IDEA and be a proper
Hipster Cameleer[1] :)

zoran

[1] http://www.aftonbladet.se/nojesbladet/tv/article17411913.ab

On Fri, Apr 21, 2017 at 10:26 AM, Claus Ibsen <cl...@gmail.com> wrote:
> I dont use Eclipse but reading this seems to make sense to me.
>
> Anyone using Eclipse can maybe comment on this, how it is to work with
> the Camel source code using Eclipse.
>
> The IDEA users dont have any problems, just open the pom.xml files and
> you are ready. If you want you can install the checkstyle plugin in
> IDEA and point it to the buildingtools checkstyle file to have it
> highlight errors in the editor.

zoran
-- 
Zoran Regvart

Re: To put eclipse setup in camel-etc in profile?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I dont use Eclipse but reading this seems to make sense to me.

Anyone using Eclipse can maybe comment on this, how it is to work with
the Camel source code using Eclipse.

The IDEA users dont have any problems, just open the pom.xml files and
you are ready. If you want you can install the checkstyle plugin in
IDEA and point it to the buildingtools checkstyle file to have it
highlight errors in the editor.

On Thu, Apr 20, 2017 at 6:24 PM, Zoran Regvart <zo...@regvart.com> wrote:
> Hi Cameleers,
> it kinda irks me that every time i run `mvn install` the eclipse setup
> in `camel-etc` overwrites my Eclipse workspace settings.
>
> Also it fails if the parent of the source root is not writeable, as it
> tries to create `.metadata` directory in the same directory the
> `camel` source root is.
>
> I would put the execution of plugins in `etc/pom.xml` behind a profile
> (`setup-eclipse`?) and have it not run by default.
>
> What do you think?
>
> zoran
> --
> Zoran Regvart



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2