Hi Jesse,

The Messages.java file is getting generated in target/generated-sources 
folder automatically as you said without any addition to the POM File.

However, when in my class when I called Messages.MyFunctionName() my 
NetBeans IDE throws up an error saying that *cannot find symbol messages*.


How do I resolve that? Been blocked with this for a long time!

If I ignore the error and generate the hpi file would Jenkins find it at 
run time?

Thanks,
Karthik

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.

Reply via email to