@Steffen and James, can you pretty please update the wiki page for Eclipse?
I'd do it myself, but I don't use Eclipse anymore, so my experience is ~3
years outdated now.

IMO, do not hesitate to remove many things, and make it very short, so that
it does not become stale too quickly.

For the `target/generated-sources/localizer'` path that does not get added,
I just checked, and I think I know the reason.
It's using the quite standard build-helper-maven-plugin, and so M2E should
be automatically configuring paths, but the support for M2E got added only
in 3.0.0.

Filed https://github.com/jenkinsci/jenkins/pull/3831 to help this. Can you
please check that bumping this manually on your machine does fix this issue
when importing with Eclipse ?

Thanks


Le jeu. 3 janv. 2019 à 09:57, Steffen Elste <[email protected]> a
écrit :

> Hi,
> gave it at try this morning.
>
> I downloaded the current 'Eclipse IDE for Enterprise Java Developers' (the
> smaller 'Eclipse IDE for Java Developers' should do as well).
> Cloned the repository - without importing any projects in the first place
> - then imported 'Existing Maven Projects' into the workspace.
> Eclipse then recognizes a missing m2e extension and displays a dialog to
> automatically install it - of course it's possible to do that manually
> beforehand, the extension is called M2E Buildhelper Connector
> <http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-buildhelper/0.15.0/N/0.15.0.201207090124/>
> .
>
> There are a couple of errors after Eclipse finishes compiling the code -
> the missing 'hudson.cli.client' import is easy to fix: m2e doesn't realize
> that the source for localized messages is located in
> 'target/generated-sources/localizer' - You simply have to add that
> directory to the build path of the CLI project.
>
> I'm still faced with an XML and two JSON errors, plus there are two
> compile errors left (in 'DelegateSecurityManager' and
> 'DescriptorExtensionList') ... (Java 8 issue?!)
>
> Well, although Eclipse has gotten better of the last couple of years with
> respect to Maven integration it is - in my opinion - still the worst of the
> 'Big Three'.
> Apache NetBeans and IntelliJ IDEA are much better choices if You use build
> systems like Maven or Gradle.
>
> Btw, i agree with James Nord - the instructions are totally outdated if
> not outright wrong for Eclipse Neon upwards and should either be fixed or
> removed.
> Cheers,
>
> Steffen
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b80df4b4-dc6c-4b31-9d8f-b87da6ed336e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/b80df4b4-dc6c-4b31-9d8f-b87da6ed336e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6j2H-XvnnCSUYGwx2mhTUg-%3D-U7nPtB2oc3_FCG%3Dmr-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to