I tried it again. I cloned the repository from scratch, ran mvn install 
-DskipTests, then imported four projects:
cli
jenkins
jenkins-core
jenkins-war

The eclipse found tons of warnings and 13 errors. The errors included:

   1. XML with invalid characters
   2. Maven error failure to run task  generate source:              
   <execution>
                   <phase>generate-sources</phase>
                   <id>gulp bundle</id>
                   <goals>
                     <goal>gulp</goal>
                   </goals>
                   <configuration>
                     <arguments>jshint bundle</arguments>
                   </configuration>
                 </execution>
   3. The import hudson.cli.client cannot be resolved    CLI.java    
   /cli/src/main/java/hudson/cli    line 26    Java Problem
   4. Some other Java problems like wrong return value etc.


I am still in the dark as to how to make it work.


On Monday, December 31, 2018 at 9:52:22 AM UTC-8, Gerry Storm wrote:
>
> I have tried to follow instructions in 
> https://wiki.jenkins.io/display/JENKINS/Building+Jenkins:
>
> // check out the workspace
> $ git clone https://github.com/jenkinsci/jenkins.git
> // Download dependencies and build with Maven
> // Note: mvn install may be a prerequisite for other mvn targets
> $ cd jenkins
> $ mvn -Plight-test install
>
> All went fine.
>
> After that I followed instructions in 
> https://wiki.jenkins.io/display/JENKINS/Setting+up+Eclipse+to+build+Jenkins.
>
>
> I tried several times and Eclipse ALWAYS finds errors after it imports the 
> projects. (see attached screenshot).
> I am a newbie so maybe the instructions imply stuff I am not familiar with.
>
> My goals are:
>
>    1. Build Jenkins from source in Eclipse
>    2. Run it under a debugger so that I can make myself familiar with the 
>    flow.
>    
>
> Please help.
>

-- 
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/80162766-4058-45e2-9266-136a167c9c09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to