Closed Bug 899781 Opened 12 years ago Closed 12 years ago

Give the start-msvc*.bat files clearer names

Categories

(Firefox Build System :: MozillaBuild, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: botond, Assigned: emorley)

References

Details

Attachments

(2 files)

I think the names of the start-msvc*.bat files are misleading. I would expect a batch file named start-msvc11.bat to, well, start MSVC 11, but it doesn't do that - it opens up a /terminal/, with some environment variables related to MSVC 11 set. In fact, having assumed that start-msvc11.bat starts MSVC 11 itself, I spent a good bit of time looking for something that would start a terminal with an appropriate environment set up... How about start-msvc11-terminal.bar or start-msvc11-shell.bat instead?
Ryan, do you have a preference for the naming? Either: start-shell-FOO.bat or start-FOO-shell.bat Where FOO is {msvc11,msvc10,...}
Flags: needinfo?(ryanvm)
start-shell-FOO.bat
Flags: needinfo?(ryanvm)
Renamed as follows: guess-msvc.bat -> start-shell-autodetect-msvc.bat start-l10n.bat -> start-shell-l10n.bat start-msvc10.bat -> start-shell-msvc10.bat start-msvc10-x64.bat -> start-shell-msvc10-x64.bat start-msvc11.bat -> start-shell-msvc11.bat start-msvc11-x64.bat -> start-shell-msvc11-x64.bat start-msvc12.bat -> start-shell-msvc12.bat start-msvc12-x64.bat -> start-shell-msvc12-x64.bat Will update wiki etc for build l10n stuff once the new version of mozilla-build that includes this is released.
Attachment #829267 - Flags: review?(ryanvm)
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Attachment #829267 - Flags: review?(ryanvm) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Is it too late to ask that we rename the scripts to have the user-facing product versions in them instead of the internal version identifier? e.g. "2012"
(In reply to Gregory Szorc [:gps] from comment #5) > Is it too late to ask that we rename the scripts to have the user-facing > product versions in them instead of the internal version identifier? e.g. > "2012" Ryan, this sound ok to you?
Flags: needinfo?(ryanvm)
Fine by me.
Flags: needinfo?(ryanvm)
Please don't rename the guess-msvc.bat script. It doesn't actually set up your environment, it just does detection and sets some environment variables for the start-* scripts to use.
Also, this changeset is broken because you didn't rename the calls to guess-msvc.bat in the start scripts: https://hg.mozilla.org/mozilla-build/file/1c39b251a654/start-shell-msvc12.bat#l11
Ah I thought the file were totally independent. They're even more of a mess than I thought then (given the sheer number of lines, even with calling the guess-msvc.bat file at the start). We really need to just consolidate them all and provide an option to manually override the choice of VS version used.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Have restored guess-msvc.bat's original name (left the others), which fixes comment 9 too: https://hg.mozilla.org/mozilla-build/rev/02db92a7f797
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
This uses the more friendly names suggested by gps in comment 5.
https://hg.mozilla.org/mozilla-build/rev/eae291fcd120 Net effects of the various landings in this bug are: start-l10n.bat -> start-shell-l10n.bat start-msvc10.bat -> start-shell-msvc2010.bat start-msvc10-x64.bat -> start-shell-msvc2010-x64.bat start-msvc11.bat -> start-shell-msvc2012.bat start-msvc11-x64.bat -> start-shell-msvc2012-x64.bat start-msvc12.bat -> start-shell-msvc2013.bat start-msvc12-x64.bat -> start-shell-msvc2013-x64.bat
How to please use files for compile Windows 603 version from https://hg.mozilla.org/mozilla-build/file/eae291fcd120 ??? Or (better) what time finished MozillaBuildSetup-1.9.0.exe in http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/ ??? Thang You (and Sorry for O.T.)
The above changes are not reflected in http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/ MozillaBuildSetup-Latest.exe 29-Aug-2013 13:38 85M We are currently at VERSION 1.8. We are looking forward to a revision bump to VERSION 1.9. (In reply to Sladky Vladimir from comment #14) > How to please use files for compile Windows 603 version from > https://hg.mozilla.org/mozilla-build/file/eae291fcd120 ??? > > Or (better) what time finished MozillaBuildSetup-1.9.0.exe in > http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/ ??? > > Thang You (and Sorry for O.T.)
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: