[Mozilla] Fwd: New directory layout in mobile/ - Android and XUL both supported

Toni Hermoso Pulido toniher a softcatala.cat
dij des 22 15:39:26 CET 2011

---------- Forwarded message ----------
From: Staś Małolepszy <stas a mozilla.com>
Date: 2011/12/22
Subject: New directory layout in mobile/ - Android and XUL both supported
To: dev-l10n a lists.mozilla.org

Hi all,

   The scoop:  the files in mobile/ need to move around.  You can use
   a script to do it yourself or file a bug to have us help you out.

As you probably know, a lot of time and effort has been invested into
porting Firefox Mobile's interface to the native Java UI.  The goal is
to reduce the startup time and the responsiveness of the browser.

We will be using the same file formats of the localization files for
the native Android builds as we are right now for the XUL builds, i.e.
DTD and .properties.

Instead of a single mobile/ directory, there will be mobile/android
and mobile/xul.  Additionally, the files that are shared between the
two builds, like search engines, bookmarks and region.properties will
stay in mobile/. See bug 708015 [1] for details.

In the end, you will end up with the following directory layout inside

   mobile/android/base (copied from embedding/android)
   mobile/chrome (for region.properties)

In order to create the new directory structure, you can follow two

 1. download the script from https://gist.github.com/1500954 and run
    it in your releases/l10n/mozilla-aurora clone, or

 2. file a bug at http://bit.ly/viHvop and let us migrate your
    directories for you;  all you'll have to do in this scenario is to
    hg pull and hg update your local clone when we're done.

If you work on central, then run the script before you migrate to
aurora for best results.

Once you have the new directory layout, the dashboard will start to
make sense again for all repositories (central and aurora).

Feel free to ping us in #l10n or reply here if you have questions.

Good luck, and happ

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=708015
dev-l10n mailing list
dev-l10n a lists.mozilla.org

Toni Hermoso Pulido

Més informació sobre la llista de correu Mozilla