Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New directory layout in mobile/ - Android and XUL both supported

7 views
Skip to first unread message

Staś Małolepszy

unread,
Dec 22, 2011, 9:28:46 AM12/22/11
to dev-...@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/:

mobile/android
mobile/android/base (copied from embedding/android)
mobile/chrome (for region.properties)
mobile/overrides
mobile/profile
mobile/searchplugins
mobile/xul

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

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
-stas

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=708015

Axel Hecht

unread,
Dec 22, 2011, 12:02:34 PM12/22/11
to
FYI, the en-US patch is still on inbound, waiting to get to
mozilla-central. Once there, I'll request approval for aurora, and then
we can get cracking on 11.

Axel
0 new messages