Closed Bug 1006209 Opened 7 years ago Closed 7 years ago

Remove mistakenly referenced projects from Android Eclipse projects

Categories

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

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla32

People

(Reporter: nalexander, Assigned: nalexander)

Details

(Whiteboard: [mentor=nalexander][lang=python][good first bug])

Attachments

(1 file)

This is an error in the Eclipse project configurations.  You'll need to have Eclipse configured; see http://www.ncalexander.net/blog/2014/02/14/getting-started-with-the-android-eclipse-build-backend-for-fennec/ for how to do that.

Some of the generated libraries are marked as referenced when they should only be included.

The libraries are FennecResources, FennecResourcesBranding, FennecResourcesGenerated, and FennecResourcesCrashReporter.

You can see the lines where they are marked as "referenced" by the main Fennec project around

http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/moz.build#561

You'll need to remove the bad referenced_projects there.  When you've done that, the lines that say

[2014-05-05 17:31:41 - FennecResources] Could not find FennecResources.apk!
[2014-05-05 17:31:41 - FennecResourcesBranding] Could not find FennecResourcesBranding.apk!
[2014-05-05 17:31:41 - FennecResourcesGenerated] Could not find FennecResourcesGenerated.apk!

in Eclipse will have gone away!
Whiteboard: [mentor=nalexander][lang=python][good first bug]
(In reply to Nick Alexander :nalexander from comment #0)
> This is an error in the Eclipse project configurations.  You'll need to have
> Eclipse configured; see
> http://www.ncalexander.net/blog/2014/02/14/getting-started-with-the-android-
> eclipse-build-backend-for-fennec/ for how to do that.
> 
> Some of the generated libraries are marked as referenced when they should
> only be included.
> 
> The libraries are FennecResources, FennecResourcesBranding,
> FennecResourcesGenerated, and FennecResourcesCrashReporter.
> 
> You can see the lines where they are marked as "referenced" by the main
> Fennec project around
> 
> http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/moz.
> build#561
> 
> You'll need to remove the bad referenced_projects there.  When you've done
> that, the lines that say

... and regenerated with |mach build-backend -b=AndroidEclipse|, and refreshed and cleaned the build in Fennec, and re-launched Fennec from Eclipse...
Hi Nick,

Can I work on this bug ?
(In reply to Srikar Ananthula [:srikar] from comment #2)
> Hi Nick,
> 
> Can I work on this bug ?

Absolutely!  First steps are to get Fennec building and get Eclipse configured.  See https://wiki.mozilla.org/Mobile/Fennec/Android#Building_Fennec for the first part and the blog post linked above for the second.
Summary: Remove project → Remove mistakenly referenced projects from Android Eclipse projects
Hi Nick , I am working on other bug !! may be u can assign this to others !! Thanks !
This bug is open to anyone.
Hi,Can i work on this bug.
Hi, Varun - you certainly can. Have you got an Eclipse environment set up to build Firefox?
Dear Mike i tried  setting up the Eclipse environment was unable to do it due to slow net speed. So i am sorry i wont be able to work on this.
I'm sorry to hear that, though I certainly understand. Eclipse can be a beast.

We have a few other bugs that are relatively lightweight, but also good starting points. Please take a look at bug 994651, bug 1005910 and bug 1008626 - they're well-scoped and should be easy to get started on.
bnicholson, I know you were using Eclipse for a while.  Feel free to
rubber-stamp or redirect (to liuche?) if you don't want to review.
Attachment #8430342 - Flags: review?(bnicholson)
Attachment #8430342 - Flags: review?(bnicholson) → review+
https://hg.mozilla.org/integration/fx-team/rev/d4e013191816
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/d4e013191816
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 32 → mozilla32
You need to log in before you can comment on or make changes to this bug.