mthiede/rgen

$VERBOSE could conflict with other modules

Opened this issue · 0 comments

Hi,
using RGen in a small script I found out that it is influenced by $VERBOSE.
I think this is a bad idea because that name could be potentially be used for something else (as it was in my case). I would suggest to rename it to $RGEN_VERBOSE.

In my case I got tons of lines like these:

[code]
/home/federico/.rvm/gems/jruby-1.7.4/gems/rgen-0.6.5/lib/rgen/metamodel_builder/builder_extensions.rb:265 warning: instance variable @abstract not initialized
(eval):8 warning: instance variable @name not initialized
(eval):7 warning: instance variable @abstract not initialized
(eval):7 warning: instance variable @interface not initialized
(eval):4 warning: instance variable @eStructuralFeatures not initialized
(eval):3 warning: instance variable @eStructuralFeatures not initialized
(eval):19 warning: instance variable @eContainingClass not initialized
(eval):19 warning: instance variable @eContainingClass not initialized
(eval):19 warning: instance variable @eContainingClass not initialized
(eval):19 warning: instance variable @eContainingClass not initialized
(eval):19 warning: instance variable @eContainingClass not initialized
(eval):19 warning: instance variable @eContainingClass not initialized
(eval):7 warning: instance variable @ePackage not initialized
(eval):4 warning: instance variable @eSuperTypes not initialized
(eval):3 warning: instance variable @eSuperTypes not initialized
(eval):7 warning: instance variable @instanceClassName not initialized
(eval):4 warning: instance variable @eAnnotations not initialized
(eval):7 warning: instance variable @changeable not initialized
(eval):7 warning: instance variable @defaultValueLiteral not initialized
(eval):7 warning: instance variable @derived not initialized
(eval):7 warning: instance variable @lowerbound not initialized
(eval):8 warning: instance variable @name not initialized
(eval):7 warning: instance variable @ordered not initialized
(eval):7 warning: instance variable @transient not initialized

[/code]