Closed Bug 1014247 Opened 7 years ago Closed 6 years ago

Configure Eclipse to allow editing and building mobile/android/{chrome,modules} and friends

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla33

People

(Reporter: nalexander, Assigned: nalexander)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

I'm finding that new contributors are picking up the Eclipse build integration for Java (which is excellent!  yay!) but are not being served by the awkward transition between Eclipse and console/text editors for editing JavaScript and chrome resources.

This ticket tracks making that better.
These experimental patches add two new Eclipse projects -- Fennec{Libraries,Omnijar} which allow to edit .js, .jsm, and chrome resources from Eclipse, rebuild the omnijar, and then deploy the omnijar to the device independently.  (For good measure, the libraries are shipped independently too, which speeds up the deploy cycle.)

I just wanted a place to put these; they're not even close to shippable yet.
Building Fennec with an Eclipse plugin means we have better control
over rebuilds, and lets us do expensive things like packaging less
frequently.

This works as follows:

- new FennecOmnijar project with mobile/android/{chrome,modules,...} resources
- FennecOmnijar only gets built when said resources change
- FennecOmnijar build process writes new omni.ja (hacky Make hacking, yay!)
- Fennec project includes FennecOmnijar

It's working well for me locally; screencast coming up!
Attachment #8445595 - Flags: review?(rnewman)
Depends on: 1029232
Attachment #8426572 - Attachment is obsolete: true
Attachment #8426573 - Attachment is obsolete: true
Comment on attachment 8445595 [details] [diff] [review]
Build omni.ja from within Eclipse. r=rnewman

lgtm.
Attachment #8445595 - Flags: review?(rnewman) → review+
https://hg.mozilla.org/integration/fx-team/rev/e37a137812f5
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/e37a137812f5
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 33 → mozilla33
You need to log in before you can comment on or make changes to this bug.