Skip to Content
0
Former Member
Dec 15, 2003 at 05:51 PM

Eclipse Plugin deletes localization.properties file upon deployment

40 Views

hello,

i am using PDK 5.0.5.0 and Eclipse plugin. i am trying to use the internalization services of the enterprise portal. as instructed by the portal documentation, i place my language-specific strings in /private/classes/localization.properties and /private/classes/localization_en.properties files. in my java code (that extends the JSPDynPage class), i do request.getResourceBundle() etc.

the problem is, whenever i deploy the eclipse project, it deletes my localization.properties files. as a result, my .par file doesn't contain the localization.properties files.this causes the loading of my iView to fail, at the lline where it tries to retrieve the resource bundle.

how do i get the eclipse plugin to stop deleting the localization.properties files? or alternatively, how do i add the localization.properties files including the /private/classes/ path to the .par file and then somehow deploy the .par file from the PDK itself? any thoughts would be greatly appreciated.