Closed Bug 115334 Opened 24 years ago Closed 16 years ago

A few straggler .mcp files still in the tree

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: hwaara, Assigned: philor)

References

()

Details

Attachments

(3 files, 1 obsolete file)

Here are the ones I found only in mailnews/: mailnews/addrbook/macbuild/msgAddrbook.mcp mailnews/base/macbuild/msgCore.mcp mailnews/base/util/macbuild/msgUtil.mcp mailnews/db/mork/mork/macbuild/mork.mcp mailnews/mime/cthandlers/calendar/macbuild/calendar.mcp mailnews/mime/emitters/macbuild/mimeEmitter.mcp mailnews/mime/macbuild/mimeIDL.mcp mailnews/mime/macbuild/mime.mcp Note that this is only for the mailnews module. I bet there are a bunch of them still alive in other directories!
Over to jj.
Assignee: seawood → jj
I saw someone removing a bunch of these this morning. I forget who but remember them mentioning brade so cc'ing her here.
Priority: -- → P3
Target Milestone: --- → mozilla0.9.8
alecf removed some. but there are still many left.
There are some that were left because they were not referenced by the build scripts in any config. That means they are either dead or not yet working, so they were not converted to XML. If somebody had added a project with the intention of adding it to the build at some point, I'd rather have the file still in the tree than throw away somebody's work. BTW, there are two .mcp files which I can't get rid of in mozilla/xpfe/bootstrap/macbuild because there has been a lock in that directory since I originally landed this stuff. leaf, can you see what's up with this lock?
mozilla/xpfe/bootstrap/macbuild Are you sure that's a CVS lock, and not the Finder showing you the folder as a package?
There's a "waiting for cvs user's lock..." in the log window.
based on email conversation with some Mac engineers, we need to keep these .mcp files around for a while.
Target Milestone: mozilla0.9.8 → Future
isn't it what Conrad said at a recent macdev meeting ? some of the mcp files are not part of the "standard" build and should remain in the tree, that's what I understood. I think he removed the rest. Conrad?
Any .mcp which has a corresponding .xml, needs to be removed. Like I said in comment #4, I couldn't remove some of those at the time due to cvs locks. Others, I may have missed - my bad. Anyway, they should go. Also, there are lots of .mcp files that were not referenced by the build scripts so were not converted. I don't know the status of these projects, but wouldn't delete them without knowing. Somebody should compile a list of orphan .mcp files, circulate it widely, and ask what's still useful.
how many unconverted mcp files are we talking about? if we cvs remove all the remaining .mcp files, doesn't that mean they get put in the attic and can be resurrected if it turns out someone needs them?
since I need to scan the tree for "removable" .mcp files, I might as well collect the list of those which haven't been converted to XML and submit that list for review to macdev/mozilla-mac groups.
Status: NEW → ASSIGNED
Hang on. I've got lists coming up.
Comment on attachment 65634 [details] .mcp files for which there is an .xml file - can be removed scratch this one from the list: >./extensions/xml-rpc/macbuild/_xml-rpcIDL.mcp
Thanks Conrad. The list of "unconverted" .mcp files is pretty long! Simon, can you review attachment #65634 [details] (converted to xml) before I cvs remove them (will do so on the trunk after 0.9.8 branch is cut)
Target Milestone: Future → mozilla0.9.9
--> ccarlen per our aim conversation
Assignee: jj → ccarlen
Status: ASSIGNED → NEW
Comment on attachment 65636 [details] files which were never converted >./extensions/irc/macbuild/irc.mcp >./extensions/irc/macbuild/ircIDL.mcp These are junk, can be cvs removed together with ./extensions/irc/macbuild/ircPrefix.h ./extensions/irc/macbuild/ircPrefixDebug.h >./extensions/p3p/macbuild/p3p.mcp This one is in the wrong list, see http://lxr.mozilla.org/seamonkey/source/extensions/p3p/macbuild/p3p.xml >./intl/uconv/macbuild/ucvmath.mcp http://lxr.mozilla.org/seamonkey/source/intl/uconv/macbuild/ucvmath.xml >./js/macbuild/XPConnect.mcp >./js/macbuild/XPCShell.mcp http://lxr.mozilla.org/seamonkey/source/js/macbuild/XPConnect.xml http://lxr.mozilla.org/seamonkey/source/js/macbuild/XPCShell.xml >./modules/libimg/macbuild/mng.mcp http://lxr.mozilla.org/seamonkey/source/modules/libimg/macbuild/mng.xml I haven't gone through the others, but it seems there's some errors in your lists.
This one looks like junk to me: ./webshell/embed/mac/RaptorShell.mcp And this one too since the cpp files have moved to mozilla/docshell ./webshell/macbuild/webshell.mcp
This list should be accurate. It was made in this way: % find . ! -name "_*" -name "*.mcp" > mcps.txt In mcps.txt, replaced all occurances of ".mcp" with ".xml" % xargs < mcps.txt file > stats.txt In stat.txt, extracted the lines on which the stat succeeded, replaced ".xml" with ".mcp", and cleaned that up
Attachment #65634 - Attachment is obsolete: true
If you search MozillaBuildList.pm, the only .mcps are on commented lines, except for a lib in CodeWarrior which we build, so it's safe to yank them. JJ, Simon, can I get review on removing this list?
JJ, Simon, Can you r/sr removing the list of files in attachment 67444 [details]?
sr=sfraser for removal of all except ./xpfe/bootstrap/macbuild/StaticMerge.mcp, which I will soon need to hack on.
Simon, wouldn't you want to hack on ./xpfe/bootstrap/macbuild/StaticMerge.xml or at least import that into a project, hack on it, and then back to xml?
I guess. nuke the .mcp then.
Comment on attachment 67444 [details] .mcp files for which there is an .xml - take2 r=jj note: /extensions/p3p/macbuild/ checks out empty for me, so I couldn't verify the existence of p3p.xml
Attachment #67444 - Flags: review+
All .mcps for which there's an .xml are removed - except for NSPR20PPC.mcp. As for the remaining 69 .mcp files, I don't think it's my bug.
Target Milestone: mozilla0.9.9 → Future
Product: Browser → Seamonkey
I was *so* expecting to be saying "but over the last seven years, they've finally disappeared." Sadly, not quite - LDAP still has one, and even mozilla-central has one, in what I think is the never-has-been-built /xpcom/tests/StringFactoringTests/
Assignee: ccarlen → philringnalda
Status: NEW → ASSIGNED
Priority: P3 → --
Product: SeaMonkey → Core
QA Contact: granrosebugs → build-config
Hardware: x86 → All
Summary: Lots of .mcp files still in the tree → A few straggler .mcp files still in the tree
Target Milestone: Future → ---
Doesn't look like StringFactoringTests were ever built by default, but they would have stopped working at all between 0.6 and 0.9.4, since that's when half the stuff in the CPPSRCS went away.
Attachment #376786 - Flags: review?
Attachment #376786 - Flags: review? → review?(benjamin)
Attachment #376786 - Flags: review?(benjamin) → review+
Actually, I'll call http://hg.mozilla.org/mozilla-central/rev/445b97593ef7 good enough: LDAP's a world of its own, and that whole directory looks like it's a time capsule of long-dead things.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: