Hi, As correctly pointed out, the file Messages.java gets generated automatically without adding anything to the POM File besides inheriting from the parent.
But however after the file gets generated in* targets/generated-sources/Messages.Java, *if I attempt to invoke the functions in my Action class located in src/main/java/<<MyPackage>>, the Netbeans IDE throws an error while compiling saying *"Unable to resolve symbol Messages".* I read that we have to manually add the class to the source root. What does that mean? This is the final step in my plugin development and I m stuck with it. It would be great if I could get inputs from experts on this. Thanks. On Tuesday, 12 August 2014 15:35:17 UTC-7, Jesse Glick wrote: > > On Tue, Aug 12, 2014 at 6:16 PM, Slide <slide...@gmail.com <javascript:>> > wrote: > > I've never had to do anything like that for netbeans. > > Nor I. > > > Do you have the Jenkins plugin installed? Not sure if that makes a > difference, but it might. > > No, this is not necessary. > > > The files get generated and compiled automatically for me. > > Yes, it is fully automatic; as soon as you build the plugin (F11), > functions generated from Messages.properties should become available > for use from the editor. You need not add anything to your POM besides > inheriting from the standard plugin POM. > -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.