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 31314

Summary: I18N - PVCS, LIST_PROJECT does not work with localized profile.
Product: obsolete Reporter: Keiichi Oono <keiichio>
Component: vcsgenericAssignee: Martin Entlicher <mentlicher>
Status: CLOSED WORKSFORME    
Severity: blocker CC: jf4jbug
Priority: P2 Keywords: I18N
Version: -S1S-   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: localized profile. Only XMLs are included.

Description Keiichi Oono 2003-02-21 13:48:56 UTC
To reproduce:
    - create pvcsWinLoc_ja.jar,
pvcsWin98Loc_ja.jar, and pvcsUnixLoc_ja.jar by
copying pvcs*Loc_XX.jar
    - run build.xml and create pvcs-profile_ja.jar
    - copy pvcs-profile_ja.jar in modules/locale,
and execute IDE
    - Select "PVCS - Localized" profile, and mount

If mounted directory has some nested directories,
file status is always "Local" because LIST_PROJECT
command failed.

      /checkers    
      TestFile.java  <--- work (status is correct)
          /client
              TestFile.java  <--- does not work
(status is always "Local")
              
Here is a information about LIST_PROJECT.

cmd /X /C " pcli list -pr\"C:\home\oono\vmdb\"
-pp\"//client\" -l -a  * "

[ERROR] Entity "*" can not be loaded.

I guess //client should be //checkers/client.
Please try to use attached pvcs-profile_ja.jar in
test environment. Since nothing has been
translated in Japanese, that profile can be used
with PVCS English version.

If I don`t use localized PVCS profile, the
executed command is:

cmd /X /C " pcli list -pr\"C:\home\oono\vmdb\"
-pp\"//checkers/client\" -l -a  * 
"

Why executed command is different between profile
and localized profile?

Keiichi
Comment 1 Keiichi Oono 2003-02-21 13:50:36 UTC
Created attachment 9075 [details]
localized profile. Only XMLs are included.
Comment 2 Martin Entlicher 2003-03-03 10:26:25 UTC
Starting to work in this...
Comment 3 Martin Entlicher 2003-03-03 12:10:41 UTC
Well, where did you get the pvcs*Loc_XX.xml from? They seems to be
quite outdated.

The Japanese files, that are in translatedfiles
translatedfiles/src/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcs*_ja.xml
are newer and should work almost without problems. Although also in
these files are differences with respect to the original _XX.xml files
at
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcs*_XX.xml

Comment 4 jf4jbug 2003-03-04 13:40:08 UTC
Thank you for your clarification, and sorry for my confusion. The
attached profile was built in release34 branch. So as you mentioned,
it must be outdated.
I've re-verified with the latest profile, and Japanese s1stuido build.
LIST_PROJECT works file.

Thank you.
Keiichi