I've never had to do anything like that for netbeans. Do you have the
Jenkins plugin installed? Not sure if that makes a difference, but it
might. The files get generated and compiled automatically for me.


On Tue, Aug 12, 2014 at 3:08 PM, Karthik V S <karthik.tec...@gmail.com>
wrote:

> Can anyone let me know how to achieve this without manually copying the
> Messages.Java file to the src/main/java folder?
>
> I am using NETBEANS IDE and have added the following to my POM file
>
> <build>
>         <plugins>
>         <plugin>
>         <groupId>org.jvnet.localizer</groupId>
>         <artifactId>maven-localizer-plugin</artifactId>
>         <!-- version specified in grandparent pom -->
>         <executions>
>           <execution>
>             <goals>
>               <goal>generate</goal>
>             </goals>
>               <configuration>
>               <fileMask>Messages.properties</fileMask>
>
> <outputDirectory>target/generated-sources/localizer</outputDirectory>
>             </configuration>
>           </execution>
>         </executions>
>       </plugin>
>       </plugins>
>     </build>
>
> Is there a mistake in this?
>
> On Tuesday, 12 August 2014 13:38:27 UTC-7, Karthik V S wrote:
>>
>> After manually copying it, the error message got resolved, but the
>> Messages are not read at runtime!!
>>
>> On Tuesday, 12 August 2014 13:13:26 UTC-7, Karthik V S wrote:
>>>
>>> Does that mean manually copying the Messages.java file that is generated
>>> to src/main/java/<<myPackage>>
>>>
>>> After doing this it works.
>>>
>>> On Tuesday, 12 August 2014 11:19:38 UTC-7, Daniel Beck wrote:
>>>>
>>>>
>>>> On 12.08.2014, at 19:50, Karthik V S <karthik...@gmail.com> wrote:
>>>>
>>>> > found.How can I overcome the error?
>>>>
>>>> If your IDE fails to find these classes, manually add
>>>> "target/generated-sources/localizer" directory to your source root.
>>>
>>>  --
> 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.
>



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