hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject cvs commit: jakarta-hivemind/src/documentation/content/xdocs groovy.xml
Date Mon, 28 Feb 2005 12:21:28 GMT
jcarman     2005/02/28 04:21:28

  Modified:    src/documentation/content/xdocs groovy.xml
  Log:
  Added addDefaultModuleDescriptorProvider() convenience method.
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-hivemind/src/documentation/content/xdocs/groovy.xml
  
  Index: groovy.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/src/documentation/content/xdocs/groovy.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- groovy.xml	5 Jan 2005 21:53:31 -0000	1.4
  +++ groovy.xml	28 Feb 2005 12:21:28 -0000	1.5
  @@ -106,11 +106,11 @@
   
           RegistryBuilder builder = new RegistryBuilder();
   
  -        ClassResolver resolver = new DefaultClassResolver();
  -
           // we have to add the default provider to load HiveMind's own modules
  -        builder.addModuleDescriptorProvider(new XmlModuleDescriptorProvider(resolver));
  +        builder.addDefaultModuleDescriptorProvider();
   
  +        ClassResolver resolver = new DefaultClassResolver();
  +        
           Resource groovyScript = new ClasspathResource(resolver,
                   "/META-INF/hivemind.examples.groovy");
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org


Mime
View raw message