Building is quite easy:-) Just importing it into an IDE is complex since Jenkins uses a lot of hacks around the maven infrastructure so it does not work out of the box.
E.g., the compile error in IntelliJ is due to missing generated resource files. These generated sources are not picked up automatically. You need to make sure that the folder target/generated-sources/localizer is recognized as source folder. > Am 03.01.2019 um 21:19 schrieb Gerry Storm <gstorm1...@gmail.com>: > > I'm a bit surprised. jenkins is widely used and it looks looks like there are > tons of contributors. I assumed it would be a breeze to build it from the > source. I wonder if this is just my bad luck? > > On Thu, Jan 3, 2019 at 12:08 PM Gerry Storm <gstorm1...@gmail.com > <mailto:gstorm1...@gmail.com>> wrote: > I have tried inlelliji and still got one error when building projects: > Error:(26, 25) java: package hudson.cli.client does not exist > > in cli/src/main/java/hudson/cli/CLI.java at "import > hudson.cli.client.Messages;" > > > > On Thu, Jan 3, 2019 at 8:56 AM Jan Monterrubio <janmonterru...@gmail.com > <mailto:janmonterru...@gmail.com>> wrote: > I personally use intellij idea, since it lets you import a project ( and if > it is maven it will wire things up on its own). > https://blog.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/ > > <https://blog.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/> > > > On Thu, Jan 3, 2019 at 10:55 AM Gerry Storm <gstorm1...@gmail.com > <mailto:gstorm1...@gmail.com>> wrote: > Thank you all very much. I am not particularly fond of Eclipse per se. I have > used it in the past and it was my first choice. If you think Apache NetBeans > or IntelliJ IDEA are better I will switch to one of those. Which one would > you recommend and are there instructions available I could follow? > > On Thu, Jan 3, 2019 at 5:17 AM Steffen Elste <steffen.el...@gmail.com > <mailto:steffen.el...@gmail.com>> wrote: > Hi, > after i modified the pom.xml of the cli project to include > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > <version>3.0.0</version> > <executions> > <execution> > <id>add-source</id> > <phase>generate-sources</phase> > <goals> > <goal>add-source</goal> > </goals> > <configuration> > <sources> > > <source>${project.build.directory}/generated-sources/localizer</source> > </sources> > </configuration> > </execution> > </executions> > </plugin> > > > and re-imported everything the build path is set up correctly. > 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 jenkinsci-users+unsubscr...@googlegroups.com > <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/46b79a6d-78d1-48f5-b1dd-8798eb82a9bc%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/46b79a6d-78d1-48f5-b1dd-8798eb82a9bc%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 jenkinsci-users+unsubscr...@googlegroups.com > <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZycn1-AO%2BrC5KhRi_QJwfJtxXzZdjrvs9-9kcjf5p2rjbNw%40mail.gmail.com > > <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZycn1-AO%2BrC5KhRi_QJwfJtxXzZdjrvs9-9kcjf5p2rjbNw%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 jenkinsci-users+unsubscr...@googlegroups.com > <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LAebb%2B-0tXsf2Vx5uCeKO0c7Rj4Ze8-uNiZCGpDtoS0A%40mail.gmail.com > > <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LAebb%2B-0tXsf2Vx5uCeKO0c7Rj4Ze8-uNiZCGpDtoS0A%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 jenkinsci-users+unsubscr...@googlegroups.com > <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZyc%3DOS1WdsNQS-fScq0ukj0r-dfSWSoO3%2BBG1T92aCChKRw%40mail.gmail.com > > <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BQZyc%3DOS1WdsNQS-fScq0ukj0r-dfSWSoO3%2BBG1T92aCChKRw%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0BCF8480-4FE1-49E1-8B5D-138E2CB8EE0D%40gmail.com. For more options, visit https://groups.google.com/d/optout.