Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for GroovyShell (0.14 sec)

  1. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    bindingMap.put("container", SingletonLaContainerFactory.getContainer());
                    final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
                    try {
                        return groovyShell.evaluate(template);
                    } catch (final JobProcessingException e) {
                        throw e;
                    } catch (final Exception e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

                    bindingMap.put("container", SingletonLaContainerFactory.getContainer());
                    final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
                    try {
                        return groovyShell.evaluate(template);
                    } catch (final JobProcessingException e) {
                        throw e;
                    } catch (final Exception e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/groovy/quickstart/kotlin/src/main/groovy/org/gradle/Person.groovy

                name = str.text.trim()
            }
            getClass().getResourceAsStream('/script.groovy').withStream {InputStream str ->
                def shell = new GroovyShell()
                shell.person = this
                shell.evaluate(str.text)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 420 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/groovy/quickstart/groovy/src/main/groovy/org/gradle/Person.groovy

                name = str.text.trim()
            }
            getClass().getResourceAsStream('/script.groovy').withStream {InputStream str ->
                def shell = new GroovyShell()
                shell.person = this
                shell.evaluate(str.text)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 420 bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/DefaultScriptTest.groovy

            ServiceRegistry serviceRegistryMock = Mock(ServiceRegistry) {
                get(DynamicLookupRoutine) >> new DefaultDynamicLookupRoutine()
            }
    
            when:
            DefaultScript script = new GroovyShell(createBaseCompilerConfiguration()).parse(testScriptText)
            ProjectInternal testProject = TestUtil.create(temporaryFolder).rootProject()
            testProject.ext.custom = 'true'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 19 14:14:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy

        Object evaluate(@GroovyBuildScriptLanguage String script) {
            CompilerConfiguration config = new CompilerConfiguration()
            config.classpath.add("${targetDir}/$lang/$sourceSet".toString())
            new GroovyShell(config).evaluate(script)
        }
    
        void execute(@GroovyBuildScriptLanguage String script) {
            evaluate(script)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top