composer/composer — pull request #422 by simensen (2012-03-10 05:01:40+00:00)
Title: CRITICAL: Include classmap in phar, only require classmap if it exists.

@lsmith reported that composer current ( getcomposer.org/composer.phar ) was not working. Verified. Tracked it down to new classmap changes. Specifically, `autoload_classmap.php` was not included in the phar and the autoloader was requiring it. I've fixed this in two ways, ensure that the classmap is included in the phar (even though this probably isn't required since composer likely will never use it) and check to see if autoload_classmap.php exists before requiring it.

In any event, this should fix the immediate problem of the compiled phar not working.