I have a Spring WebApp which I'd like to deploy / package up as an artifact. My spring app deploys / uses .groovy scripts that are loaded at runtime via Spring's script refresh-check-delay capability and are NOT deployed as .class files.
My question is as follows:
- When I first created my project / groovy for the first time, the groovy sdk uses all jars under groovy_home/lib
- For my webapp artifact
- do I add the entire groovy sdk to my artificat (WEB-INF/lib)?
- However, I'd prefer to just add groovy-all-XXX.jar(I'm using latest groovy, 1.7.2) to my artifact. If I do this, can I change my groovy sdk / global libraries to use groovy-all.jar instead of all jars under groovy_home/lib? Is there a reason why IntelliJ takes all jars under groovy_home/lib?
Would appreciate any input / recommended IntelliJ way to set Groovy SDK jars in IntelliJ + which jars to deploy.