See <http://hudson.magnolia-cms.com/job/magnolia-module-groovy/121/changes>
Changes: [fgrilli] minor fixes [gjoseph] back to 4.3-snapshot dependency [gjoseph] [maven-release-plugin] prepare for next development iteration [gjoseph] [maven-release-plugin] prepare release magnolia-module-groovy-1.0-m2 [gjoseph] will release 1.0-m2 against 4.3-m2 [fgrilli] removed deprecated class [fgrilli] tab [fgrilli] MGNLGROOVY-16: moved setting of MgnlGroovyContext in evaluate method so that also scripts run from the console can take advantage of it. [fgrilli] deprecated (could we remove that class altogether, as it was only released in milestone1 ?) [fgrilli] MGNLGROOVY-7: script checkbox [fgrilli] MGNLGROOVY-16: get the node data without the @ sign [fgrilli] removed meta-inf folder [fgrilli] unused package [fgrilli] MGNLGROOVY-16: darn tabs [fgrilli] MGNLGROOVY-16: avoid warning when setting strategy as session attribute in context [fgrilli] MGNLGROOVY-16: cleaned up and refactored MgnlGroovyNode [fgrilli] MGNLGROOVY-16: use generics and save some casts [fgrilli] MGNLGROOVY-16: removed useless protected constructor [fgrilli] MGNLGROOVY-16: refactoring - cleaner implementation which delegates most of its work to ContentWrapper and Groovy's DelegatingMetaClass [pbaerfuss] MGNLGROOVY-16: wrap the returned content into a groovy node [pbaerfuss] MGNLGROOVY-16: first quick hack to keep the jcr sessions alive. [fgrilli] fixed wrong package import [fgrilli] refactoring: moved tests to the appropriate packages [fgrilli] MGNLGROOVY-7: info log message whether source has changed or not [fgrilli] MGNLGROOVY-7: made protected method recompileIfNeeded(..) private as it is basically an implementation detail. Go through re-compilation only if it is a Groovy object. [fgrilli] MGNLGROOVY-7: skip only module's compilation checks if it is a script [fgrilli] MGNLGROOVY-7: skip compilation if it is a script [fgrilli] MGNLGROOVY-7: message [fgrilli] MGNLGROOVY-7: refactored isSourceNewer(..) [fgrilli] MGNLGROOVY-7: source comes from a file: force recompilation otherwise the caller gets the old class in the current classloader which might be the compiled script from the repository if the latter (the script, I mean) was just disabled. [fgrilli] commented out language column [fgrilli] MGNLGROOVY-13 [fgrilli] MGNLGROOVY-7: hopefully clearer javadoc [fgrilli] MGNLGROOVY-7: check for null argument [fgrilli] MGNLGROOVY-7: overridden isSourceNewer instead of isRecompilable [fgrilli] declared base test case class as abstract [fgrilli] MGNLGROOVY-7: check that package declaration and path in scripts repo match. Refactoring: enforce package consistency check only if asked explicitely, else the groovy classloader fails with when it needs to compile a class which is not in the repository. Common base class for tests. [fgrilli] MGNLGROOVY-7: leave description empty for the moment [fgrilli] messages [fgrilli] refactoring: improved (hopefully) source code organisation. Created new package 'support' + some subpackages and moved there classes as it seemed fit to my autocratic judgement. Renamed MagnoliaGroovyResourceLoader to Mgnl... for the sake of consistency. [fgrilli] @Override annotation [fgrilli] MGNLGROOVY-7: new test class for MgnlGroovyClassLoader + necessary fixes to make tests pass again after refactoring [fgrilli] MGNLGROOVY-7: messages + package declaration in fake module otherwise groovy compilation fails [fgrilli] MGNLGROOVY-7: added checkbox control and jcr browser for scripts [fgrilli] MGNLGROOVY-7: added enabled column [fgrilli] MGNLGROOVY-7: ovverriden validate() method to check that compilation goes well before saving. [fgrilli] MGNLGROOVY-7: refactoring - removed no longer valid javadoc [fgrilli] MGNLGROOVY-7: refactoring - used our custom groovy classloader [fgrilli] MGNLGROOVY-7: refactoring - moved class recompilation logic out from this factory into our own groovy class loader. [fgrilli] MGNLGROOVY-7: created groovy classloader (which extends groovy classloader) specific to Magnolia as we need to hook into groovy compiling phases to add default imports, check that classes which are to act as model classes have declared a package, etc. etc. Overidden isRecompilable(..) method so to move this logic out from our groovy class factory into a more apt place. [pbaerfuss] getNodeData(name,type) doesn't exist any longer [fgrilli] MGNLGROOVY-14: webkit browsers currently don't support codepress, so don't call CodePress#getCode() function in that case else it will fail. [fgrilli] refactoring: got rid of deprecated groovy methods and of useless method overriding [fgrilli] dont print the full stack trace but log it somewhere [fgrilli] made log field final [fgrilli] dont print the full stack trace [gjoseph] [maven-release-plugin] prepare for next development iteration [gjoseph] [maven-release-plugin] prepare release magnolia-module-groovy-1.0-m1 [gjoseph] MGNLGROOVY-3 skipping array or nested classes [gjoseph] MGNLGROOVY-3 skipping array or nested classes [gjoseph] exception message [gjoseph] unused import [gjoseph] MGNLGROOVY-3 Use a HierarchyManagerProvider to defer the retrieval of the HierarchyManager [gjoseph] MGNLGROOVY-3 We don't need our ParentIgnoringGroovyClassLoader anymore MGNLGROOVY-6 Added javadoc - needs to be validated !? [gjoseph] renamed mockCF to defaultCF, assertMethodCall to assertMethodCallOnNewInstance, shuffle some variables around [gjoseph] MGNLGROOVY-3 inverted classloading order: first from default/delegate classfactory, then using GroovyClassLoader. Adapted tests accordingly. [fgrilli] MGNLGROOVY-3 / MGNLGROOVY-6: use Object(s) no need to cast to String [gjoseph] MGNLGROOVY-3 factored recompileClassIfNeeded() out [fgrilli] MGNLGROOVY-3 / MGNLGROOVY-6: logged msg at debug level [fgrilli] MGNLGROOVY-3 / MGNLGROOVY-6: recompile if script in repo was modified + some clean up. [gjoseph] codestyle (restoring previous style;)) [fgrilli] MGNLGROOVY-3: look for scripts in repo only if the enabled flag is true + Groovy class factory tests [gjoseph] PropertiesImportExport now supports dates [gjoseph] PropertiesImportExport now supports dates [gjoseph] MGNLGROOVY-3 implemented new ClassFactory method and introduced generics [gjoseph] documented test groovy classes [gjoseph] IOException(String, Throwable) is @since 1.6 [gjoseph] GroovyCL does not set the package according to the source's location, only via the actual package declaration in the source [gjoseph] MGNLGROOVY-3 / MGNLGROOVY-6 * implemented a custom GroovyResourceLoader than can read sources from the repo * extracted ParentIgnoringGroovyClassLoader (yes, it needs renaming/better naming or possibly complete removal) ------------------------------------------ A SCM change trigger started this job Updating http://svn.magnolia-cms.com/svn/community/modules/magnolia-module-groovy/trunk D src/test/java/info/magnolia/module/groovy/GroovyClassFactoryTest.java D src/test/java/info/magnolia/module/groovy/GroovyModuleTest.java A src/test/java/info/magnolia/module/groovy/GroovyBaseTestCase.java A src/test/java/info/magnolia/module/groovy/support A src/test/java/info/magnolia/module/groovy/support/classes A src/test/java/info/magnolia/module/groovy/support/classes/MgnlGroovyClassLoaderTest.java A src/test/java/info/magnolia/module/groovy/support/classes/GroovyClassFactoryTest.java A src/test/java/info/magnolia/module/groovy/support/classes/GroovyModuleTest.java A src/test/resources/info/magnolia/module/groovy/test/Dummy.groovy U src/test/resources/info/magnolia/module/groovy/test/Buggy.groovy U src/test/resources/info/magnolia/module/groovy/test/DummyGroovifiedModule.groovy A src/test/resources/info/magnolia/module/groovy/test/Duplicate.groovy D src/main/java/info/magnolia/module/groovy/MgnlGroovySupport.java D src/main/java/info/magnolia/module/groovy/GroovyClassFactory.java D src/main/java/info/magnolia/module/groovy/MgnlGroovyNodeList.java D src/main/java/info/magnolia/module/groovy/MgnlGroovyNode.java U src/main/java/info/magnolia/module/groovy/console/MgnlGroovyInteractiveConsole.java U src/main/java/info/magnolia/module/groovy/console/MgnlGroovyConsole.java AU src/main/java/info/magnolia/module/groovy/console/MgnlGroovyConsoleContext.java U src/main/java/info/magnolia/module/groovy/dialogs/MgnlGroovyDialog.java U src/main/java/info/magnolia/module/groovy/trees/ScriptsAdminTreeConfig.java A src/main/java/info/magnolia/module/groovy/support A src/main/java/info/magnolia/module/groovy/support/HierarchyManagerProvider.java A src/main/java/info/magnolia/module/groovy/support/nodes A src/main/java/info/magnolia/module/groovy/support/nodes/MgnlGroovyNode.java A src/main/java/info/magnolia/module/groovy/support/classes A src/main/java/info/magnolia/module/groovy/support/classes/MgnlGroovyClassLoader.java A src/main/java/info/magnolia/module/groovy/support/classes/MgnlGroovyResourceLoader.java A src/main/java/info/magnolia/module/groovy/support/classes/GroovyClassFactory.java U src/main/resources/META-INF/magnolia/groovy.xml U src/main/resources/mgnl-resources/js/MgnlGroovy.js A src/main/resources/mgnl-bootstrap/groovy/config.modules.adminInterface.config.menu.tools.scripts.xml U src/main/resources/mgnl-bootstrap/groovy/config.modules.groovy.xml U src/main/resources/info/magnolia/module/groovy/GroovyModule.groovy U src/main/resources/info/magnolia/module/groovy/messages_en.properties U pom.xml At revision 32066 Parsing POMs [trunk] $ java -cp /usr/local/hudson/data/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.324.jar:/usr/local/hudson/maven/apache-maven-2.0.10/boot/classworlds-1.1.jar hudson.maven.agent.Main /usr/local/hudson/maven/apache-maven-2.0.10 /Library/Tomcat/work/Catalina/hudson.magnolia-cms.com/_/WEB-INF/lib/remoting-1.324.jar /usr/local/hudson/data/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.324.jar 38096 <===[HUDSON REMOTING CAPACITY]===> channel started Executing Maven: -B -f <http://hudson.magnolia-cms.com/job/magnolia-module-groovy/ws/trunk/pom.xml> clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building magnolia-module-groovy [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-remote-resources-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Thu Feb 18 15:51:17 UTC 2010 [INFO] Final Memory: 9M/111M [INFO] ------------------------------------------------------------------------ channel stopped Failed to send e-mail to pbaerfuss because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to fgrilli because no e-mail address is known, and no default e-mail domain is configured ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
