ZF2-250: classmap_generator.php and Windows paths

Description

It seems that bin\classmap_generator.php is not aware of Windows paths.

Running the following command C:\My Projects\Web\test2.local\htdocs\module\Application: php "....\vendor\ZendFramework\bin\classmap_generator.php" --library . --output .\test.php --overwrite

Generates the following line in the output: 'Application\Controller\ContentController' => DIR . '/../C:/My Projects/Web/test2.local/htdocs/module/Application/src/Application/Controller/ContentController.php',

The correct line should be: 'Application\Controller\ContentController' => DIR . '\src\Application\Controller\ContentController.php',

Comments