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 123515 - blueprints module localization for update center module
Summary: blueprints module localization for update center module
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: AU Masters (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 21:11 UTC by Nitya Doraisamy
Modified: 2007-12-14 03:45 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
build log attached (723.35 KB, text/plain)
2007-12-14 03:43 UTC, Nitya Doraisamy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nitya Doraisamy 2007-12-05 21:11:40 UTC
Localized blueprints zip from bp cvs needs to be added to translatedfiles/src/j2ee/blueprints/external

Also, blueprints module build.xml needs to be updated to include 'netbeans-extra-ml' target
Comment 1 Nitya Doraisamy 2007-12-05 22:41:25 UTC
Fixed in release60. This is L10N fix, but affects 2 files in blueprints module j2ee/blueprints

/cvs/j2ee/blueprints/build.xml,v  <--  build.xml
new revision: 1.18.4.1; previous revision: 1.18
done
Checking in l10n.list;
/cvs/j2ee/blueprints/l10n.list,v  <--  l10n.list
new revision: 1.1.12.1; previous revision: 1.1
Comment 2 rbalada 2007-12-06 11:00:04 UTC
Nityad,

I'm 99% sure that the change done in build.xml is no-op. I could recognize code I made for ide/branding/build.xml. Blind
copy pasting and path update is not enough in this case, because the copy-pasted code does handle different problem than
copying a file from the "external" subdirectory. The code is actually for "release" subdirectory, which is not present
neither under j2ee/blueprints nor under translatedfiles/src/j2ee/blueprints.

The netbeans-extra-ml target should copy localized blueprints zipfile according to locale into appropriate location. I
haven't seen such a code in j2ee/blueprints/build.xml rev. 1.18.4.1

Before closing this issue again, please attach verbose build log from the test build.

$ cd j2ee/blueprints
$ ant -l build_log_123515.txt -v -Dlocales="ja,zh_CN,pt_BR" netbeans-extra-ml

The logfile should mention that it copied at lease the translatedfiles/src/j2ee/blueprints/external/blueprints_ja.zip
file to directory nbbuild/netbeans/extra/modules/ext/locale .

Current code can be re-used for this purpose, because you still need to use the <repeat> task. However I would be a bit
reluctant to keep the targets named "*release*", as it should do nothing with release subdirectories.

Do not hesitate to contact NetBeans Build Engineering to seek an advice.
Comment 3 Nitya Doraisamy 2007-12-14 03:43:51 UTC
Created attachment 54245 [details]
build log attached
Comment 4 Nitya Doraisamy 2007-12-14 03:45:07 UTC
Checking in build.xml;
/cvs/j2ee/blueprints/build.xml,v  <--  build.xml
new revision: 1.18.4.2; previous revision: 1.18.4.1
done

Fixed build.xml to generate localized jar for Blueprints