answer found Groovy is fantastic! Since I use the groovyConsole for my teaching scripts I created a subclass of groovy console then modified the CompilerConfiguration to accept an importCustomizer that aliases import! fun!
----- member of Grumpy Old Programmers -- View this message in context: http://groovy.329449.n5.nabble.com/changing-dynamically-the-name-of-classes-in-a-source-code-tp5732080p5732103.html Sent from the Groovy Users mailing list archive at Nabble.com.