Closed Bug 1119167 Opened 8 years ago Closed 8 years ago
J support in build message
In the same way that we currently have a message advertising Eclipse support whilst running ./mach build, we should advertise IntelliJ support
nalexander, can this be a mentor bug?
Yes! Great idea. I think what we should do is replace the Android Eclipse messaging with Android IntelliJ messaging. To address this ticket, rename the relevant message at  to something more generic (say, ANDROID_IDE_ADVERTISEMENT) and update the message to say something like: ''' ============= ADVERTISEMENT You are building Firefox for Android. After your build completes, you should run `mach gradle-install` to prepare Gradle and IntelliJ/Android Studio integration. Then import the Gradle project at $OBJDIR/mobile/android/gradle into the IDE of your choice. PLEASE BE AWARE THAT GRADLE AND INTELLIJ/ANDROID STUDIO SUPPORT IS EXPERIMENTAL. You should verify any changes using |mach build|. ============= '''  https://dxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/config_status.py#29
Whiteboard: [lang=python][good first bug]
Does the patch do what's required or does it require some other changes as well? Please tell me if there's any changes to be made!
Attachment #8546436 - Flags: feedback?(nalexander)
Comment on attachment 8546436 [details] [diff] [review] Changes advertising IntelliJ nit: Line wrap the long line to 70 or 78 characters. nit: format the commit message like Bug 1119167 - Advertise IntelliJ support in build-backend message. r=nalexander And you'll need to update the reference to ANDROID_ECLIPSE_ADVERTISEMENT below, where it is used. Looks like you haven't tested with your changes: to do so, run ./mach build-backend with a Fennec mozconfig in place (see https://wiki.mozilla.org/Mobile/Fennec/Android#Building_Fennec for how to get such a configuration set up). First cut is looking hopeful.
Attachment #8546436 - Flags: feedback?(nalexander) → feedback+
:-) Sorry that was a stupid mistake to make. I have corrected the nits. My android device had trouble mounting. So couldn't check it last time. I managed to get it mounted, now will build fennec and check. Thank You!
Hey Nick, I've made the changes the new patch, but I'm not able to check it out by building. My fennec build is running into some problems, so I havent been able to build as yet. But I'm working on configuring it out properly ASAP. Sorry! Anything I should do?
I set up my fennec and ran ./mach build-backend and the advertisement did appear.
Comment on attachment 8547004 [details] [diff] [review] Bug-1119167.diff(Changes added) Review of attachment 8547004 [details] [diff] [review]: ----------------------------------------------------------------- Looking good! Just one small nit. When you upload the new patch, carry-over the r+ and set the "checkin-needed" flag in Bugzilla. That'll get a sheriff to land your patch for you. Sheriff: this patch doesn't need a try run. ::: python/mozbuild/mozbuild/config_status.py @@ +30,4 @@ > ============= > ADVERTISEMENT > > +You are building Firefox for Android. After your build completes, you nit: delete trailing whitespace throughout.
Assignee: nobody → prathikcoding167
Status: NEW → ASSIGNED
White space nits removed. Thank You for the opportunity!!
Sorry, the previous uploaded was an obsolete one. This is the correct one.
can we get a try run to make sure nothing brakes etc ? Thanks!
Yeah I tried another run and it's working fine. Did you mean I should try running it someplace else online? Sorry cause I'm new to this. Ping me if there's something I must do. :)
He was referring to a Tryserver run: https://wiki.mozilla.org/ReleaseEngineering/TryServer Basically, it gives us a chance to run your patch through an environment configured exactly like our production automation before landing to ensure that nothing will break when it's pushed. That said, this looks like trivial enough that I'm going to go ahead and push it without one this time.
https://hg.mozilla.org/integration/mozilla-inbound/rev/d171761d10c6 Thanks for the patch!
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 38 → mozilla38
You need to log in before you can comment on or make changes to this bug.