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 66987 - I18N - missed I18N property file when importing J2EE app
Summary: I18N - missed I18N property file when importing J2EE app
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-10-17 18:50 UTC by sherrys
Modified: 2007-10-01 12:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sherrys 2005-10-17 18:50:16 UTC
The I18N property file, e.g.
samples/ejb/cmp/apps/cmpcustomer/cmpcustomer-war/src/conf/LocalStrings.properties
is missed when importing J2EE app.
See details in Issue 66870.
Comment 1 Vince Kraemer 2005-10-18 20:11:20 UTC
What do you mean by missed?

Where do you expect to see this file?
Comment 2 sherrys 2005-10-18 21:56:15 UTC
I noticed that JSP pages have incorrect text display.
I did not find I18N property file in the project dir
in NetBeans or deployed app dir in AS.
After I manualy copied the property file from original 
sample to the deployed app dir, restart AS, the JSP
pages have correct text display.
Comment 3 Marek Fukala 2005-11-01 14:11:40 UTC
I think this is not ear specific problem. The import of the ear comprises from
imports of its modules => reassigning to web project. Anyway, during web project
import the src/conf folder is not "imported" so the new web project conf folder
doesn't contain the files from the imported project.
Comment 4 Radko Najman 2005-11-25 14:23:51 UTC
I'm little confused from this issue. How can I repruduce it? Where can I get
mentioned samples/ejb/.../Local.properties?
Comment 5 sherrys 2005-11-30 20:00:03 UTC
1. The samples directory is in Sun Application Server 8.2 UR2 
installation.
2. I saw the issue when I followed the instruction in
http://www.netbeans.org/kb/50/import_j2ee.html 
3. Please see issue 66870 with my description and attchment
25976 for details.
Comment 6 Jaroslav Pospisil 2006-03-13 13:42:55 UTC
TM 5.0->TBD
Comment 7 Radko Najman 2006-07-31 15:56:13 UTC
The problem is that project with existing souces doesn't care about
configuration files directory. The wizard should try to detect this directory or
there should be an UI to specify it.

You can try to edit project.properties file and set "conf.dir" property there.
Comment 8 Radko Najman 2007-01-10 14:59:04 UTC
Will be solved by issue #89479.
Comment 9 David Konecny 2007-10-01 12:44:15 UTC
I believe that this was fixed because referred tutorial now says that LocalStrings.properties needs to be copied to java
folder. Also examples since j2ee5 have NetBeans project files.