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.
Summary: | VSS: Strange warning from project customizer when META-INF/context.xml is not writable | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Marek Fukala <mfukala> |
Component: | Infrastructure | Assignee: | Sherold Dev <sherold> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | mkuchtiak |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
The dialog screenshot
This is one of possible solutions This is one of possible solutions (cont.) |
Description
Marek Fukala
2004-07-14 13:25:10 UTC
Created attachment 16248 [details]
The dialog screenshot
Pavel, I have fixed saving META-INF/context.xml - it is saved together with whole project configuration only if the context path is modified. The another problem - strange warning when the file is read only - should be fixed in method save() in j2ee.deployment.config.ConfigurationStorage. I think in this case the method should throw IOException with appropriate error message and it should be caught and processed in some of higher levels. As the change could cause unwanted consequences or side-effects please make necessary changes in ConfigurationStorage according to your consideration. Then a shall finish the fix. Created attachment 17705 [details]
This is one of possible solutions
Created attachment 17706 [details]
This is one of possible solutions (cont.)
The problem was caused by apostrophe in message (Can't ...) placed in Bundle.properties that caused improper handling of parameters of the message. Pavle F, it would be more useful if you attached the diff for the solution, not the whole source files. Can you please do that? Thanks. Already fixed Previous message was added by mistake. F. Checking in ConfigSupportImpl.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ConfigSupportImpl.java,v <-- ConfigSupportImpl.java new revision: 1.32; previous revision: 1.31 done Checking in ConfigurationStorage.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ConfigurationStorage.java,v <-- ConfigurationStorage.java new revision: 1.40; previous revision: 1.39 done |