[[TF-dev]] Re: [[TF-dev]] Re: [[TF-dev]] Community builds available

Masaki Katakai <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.translated-files.devel
Message-ID <[email protected]>
Hi Diego,

09.11.14 3:21 AM, Diego Enrique Silva Límaco wrote:
 > Thanx Petra
 >
 > it's possible download only l10n .jar files?
 >
 > I just downloaded .properties files from mercurial, but these files must
 > be into .jar files. I tried in-jar properties files... but is long..!!
 >
 > bests

Downloading weekly build is the easiest way ;-)

But if you want to build jar files locally, please follow the instruction.
The doc is for 6.7.1 so please use the followings instead.

   % hg clone http://hg.netbeans.org/main
   % cd main
   % hg clone http://hg.netbeans.org/main/l10n

Regards,
Masaki

-------- Original Message --------
Subject: Re: [TF-dev] help building netbeans locales
Date: Thu, 27 Aug 2009 15:19:33 +0900
From: Masaki Katakai <[email protected]>
To: [email protected]

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.


-- 
Masaki Katakai
Sun Microsystems K.K.
http://blogs.sun.com/katakai
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.