Skip to content

dturanski/groovy-beans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groovy Beans

This project contains some simple examples of creating a Spring Application Context using the Groovy Bean Builder from Java, exposed via the GenericGroovyApplicationContext introduced to the Spring framework in version 4.0.

Running the examples

All the examples are run from a JUnit test, GroovyBeanBuilderTests. Each test initializes and verifies one of the Application Contexts found in the config directory.

This may be run in gradle:

 $gradle test

Or from Intellij or Eclipse, e.g. run one of these gradle tasks before importing the project.

$gradle idea

or

$gradle eclipse

Note: When running from Intellij, I have found it necessary to exclude groovy from the resource path:

  File->Preferences->Compiler

then add ;!?*.groovy to Resource patterns

About

GroovyBeanBuilder Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published