This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182337

Summary: Not refreshing .properties files when cleaning and building project
Product: serverplugins Reporter: the008
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: pjiricka
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description the008 2010-03-18 21:50:30 UTC
Hello folks!

I'm updating a JSP project using i18n (JSTL), loading the strings from .properties files. I'm having an issue that doesn't update the .properties files when I clean and build the project (neither when running inside IDE using Tomcat nor when building .war file). The source file is updated, but the copies (run folder and .war) are old files. I tried Netbeans versions 6.8 and 6.9 (dev).

My OS config is:
Product Version = NetBeans IDE Dev (Build 201003180200)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_16
Runtime = Java HotSpot(TM) Client VM 14.2-b01
Comment 1 Petr Jiricka 2010-03-24 16:51:28 UTC
Looks like another incarnation of bug 167170. Can I ask: 
- Is your project Ant-based or Maven-based?
- Can you try if this works if you change the server to GlassFish?
- Is the Deploy on Save checkbox in your project's properties dialog turned on?
- Where are the .properties files located? Are they under the Java sources?

Thanks.
Comment 2 Petr Jiricka 2010-04-08 08:26:55 UTC
Waiting for more information - incomplete for now.
Comment 3 Martin Schovanek 2010-05-17 11:40:55 UTC
Was trying to reproduce on JSTExaple project without success.