Managed to get the annotation processor working in Eclipse, but I had to tweak the code very slightly. I'm not sure why?
Firstly, after spending several hours puzzling over how lib-annotation-index could be working, I "cunningly" changed hudson.Extension to be a directory, and took a look at the exception. So, the annotation processor we want is: sezpoz. Next, it still didn't work. A bunch of System.out.printlns later, and it turned out that if the hudson.Extension doesn't already exist, then an 'internal.ResourceException', which is of type IOException, gets thrown, which is not caught by the FileNotFoundException catch on line 181 of Index6.java. I had to catch IOExceptions in Index6, and then the sezpoz annotation processor works perfectly in Eclipse. I'm not sure why I get an IOException from Eclipse here, whereas in maven sezpoz works perfectly? Is there any bad effect of adding a catch for IOException here in production? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
