saulhoward / haddock-cms

Automatically exported from code.google.com/p/haddock-cms
0 stars 0 forks source link

Helper creation CLI script fails if there is no classes directory for a module. #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. You run ObjectOrientation_CreateHelperCLIScript.php from the bin
directory to create a new helper class.
2. The module for which you want to create the helper class does not have a
classes directory.

What is the expected output? What do you see instead?

The script throws an exception and does not create the class.

The user has to create a directory called 'classes' in the module directory.

The script should create that directory automatically and silently, if the
classes directory is not present.

Original issue reported on code.google.com by robert.i...@gmail.com on 8 Feb 2009 at 3:55