groovy - How to add imports to groovysh on startup? -


I am working on a project where I want users to experiment with Java classes on Grovish. I want to make it convenient for them and by default I want to import some packages, when groovysh is started so that users do not need to import one time each time they start shell. Does anyone know how to accomplish this?

Thanks in advance, igor

you $ HOME / .groovy / Groovysh.rc


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -