custom gii module

i am trying to make a custom gii module that will import a class and then ocverride some methods

im doing as such

Yii::import(‘system.gii.genererators.crud.CrudCode’);

class newCrudCommand extends CrudCode {

}

i am getting the error

include(/var/www/framework/gii/genererators/crud/CrudCode.php): failed to open stream: No such file or directory

is there a way to include a bass class like i am trying to do?

i also tried copying the CrudCode.php file to the generators directory and calling it like

Yii::import(‘system.gii.genererators.mygenerator.CrudCode’);

also

Yii::import(‘CrudCode’);

and

Yii::import(‘CrudCode.php’);

all give the same error

try

Yii::import(‘system.gii.generators.model.ModelCode’);

like in

http://code.google.com/p/gii-template-collection/source/browse/trunk/gtc/fullModel/FullModelCode.php

or

Yii::import(‘system.gii.generators.crud.CrudCode’);

like in

http://code.google.com/p/gii-template-collection/source/browse/trunk/gtc/fullCrud/FullCrudCode.php

this worked fine and out-of-the-box for me :)