I have solved the issue. Apparently, my Messages.Properies was under the 
default package in target/generated-sources. It should have been under the 
package name of my project. Solved the issue. Thanks. :)

On Friday, 15 August 2014 13:41:49 UTC-7, Karthik V S wrote:
>
> Hi,
>
> I have attached my POM.xml and I have not done any additions to it.
>
> On Friday, 15 August 2014 13:35:15 UTC-7, slide wrote:
>>
>> I have NEVER had to add anything manually for the Messages stuff. It 
>> sounds like something is incorrect in your setup. Can you post your pom.xml 
>> so it can be looked over?
>>
>>
>> On Fri, Aug 15, 2014 at 1:27 PM, Karthik V S <karthik...@gmail.com> 
>> wrote:
>>
>>> 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> 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-de...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Website: http://earl-of-code.com 
>>
>

-- 
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