Re: [TF-dev] help building netbeans locales

stan ioan-eugen <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.translated-files.devel
Message-ID <[email protected]>
În data de Jo, 27-08-2009 la 15:19 +0900, Masaki Katakai a scris:
> Hi Eugen,
> 
> Actually we don't need to build entire NetBeans when we
> want to build just localized jar files. I noticed that
> ant in l10n/ requires just nbbuild/nbantext.jar.
> 
> I assume you already built it so you can stop building NetBeans ;-)
> Instead, please download NetBeans 6.7.1.
> 
> Regards,
> Masaki
> 
> ----
> GET SOURCES:
> 
>    % hg clone http://hg.netbeans.org/release67_fixes
>    % cd release67_fixes
>    % hg clone http://hg.netbeans.org/release67_fixes/l10n
> 
> PREPARATION:
> 
>    % cd nbbuild
>    % mkdir nbms
>      Make dummy directory
> 
> BUILD JUST nbantext.jar:
> 
>    % ant
> 
>    You don't need to build entire NetBeans. When nbbuild/nbantext.jar
>    is created and it starts building NetBeans modules, Ctrl+C to quit the build.
>    l10n build will requires the jar file below.
> 
> 	[jar] Building jar: /..../nbbuild/nbantext.jar
> 
> PREPARATION OF L10N FILES:
> 
>    % cd ../l10n
> 
>    Put your localized files into l10n/src/<lang> e.g. l10n/src/ja for Japanese.
> 
> BUILD LOCALIZED JAR FILES:
> 
>    % ant -Dlocales=<lang>
> 
>    For example ant -Dlocales=ja for Japanese
> 
>    You can find localized jar files under
> 
>    l10n/dist/
> 
> TRY IT:
> 
>    Download NetBeans 6.7.1 and install it
> 
>    Copy localized files of l10n/dist to installation directory of NetBeans 6.7.1
> 
>    % netbeans/bin/netbeans
> 
>    If your system is not set to correct locale, you can use --locale option e.g.
> 
>    % netbeans/bin/netbeans --locale zh:TW
> 
>    It's better to remove cache (e.g. ~/.netbeans/6.7/var/cache) before you start
>    NetBeans when you rebuild jars.
> 


I'll give it a try. Thank you all for your help. I'll keep you posted on
my progress.

Best regards,

-- ioan-eugen stan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.