This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently in the 8.0 beta there are view Composer features implemented. While Add dependencies currently not really working, i miss a small feature which is used often. "composer dumpautoload [-o]" to update the classmap without updating the dependencies
(In reply to BlackScorp from comment #0) > While Add dependencies currently not really working, i miss a small feature > which is used often. Not working? Please report it as a new issue with exact steps to reproduce. > "composer dumpautoload [-o]" to update the classmap without updating the > dependencies What is the use case for calling this command manually? Sorry for asking, just need to be sure that it will be helpful for most users. Thanks.
composer dumpautoload updates the classloader file without updating the dependencies. composer updates the classloader after each composer update call, but sometimes you dont want to check if there is a new version of a dependency avaliable, you just want to update the classloader composer dumpautoload -o put all classnames in a classmap file(-o means optimized) this option is usefull for production enviroment. the autoload of composer checks specific directories for files, but before he walk throught directory, composer search first if the classname exists in classmap file.
The use case is when you actually use the class map, and when you change the file structure while actively working on a private project. It would be extremely convenient to have.