[ https://issues.apache.org/jira/browse/GROOVY-8962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun updated GROOVY-8962: ------------------------------- Description: The option to enable generating Java stubs in memory is {{memStub}}, which is one of {{jointCompilationOptions}}: {code:java} def config = new CompilerConfiguration() config.jointCompilationOptions = [memStub: true] {code} See the discussion in the dev mailing list: http://groovy.329449.n5.nabble.com/PROPOSAL-Provide-an-option-to-generate-stubs-in-in-momery-file-system-for-better-compiling-performane-tt5756151.html P.S. A better implementation is found, so no 3rd-party lib is required. was: The option to enable generating Java stubs in memory is {{memStub}}, which is one of {{jointCompilationOptions}}: {code:java} def config = new CompilerConfiguration() config.with { targetDirectory = createTempDir() jointCompilationOptions = [memStub: true] } {code} See the discussion in the dev mailing list: http://groovy.329449.n5.nabble.com/PROPOSAL-Provide-an-option-to-generate-stubs-in-in-momery-file-system-for-better-compiling-performane-tt5756151.html P.S. A better implementation is found, so no 3rd-party lib is required. > Provide an option to generate Java stubs in memory for better compilation > performance > ------------------------------------------------------------------------------------- > > Key: GROOVY-8962 > URL: https://issues.apache.org/jira/browse/GROOVY-8962 > Project: Groovy > Issue Type: Improvement > Reporter: Daniel Sun > Assignee: Daniel Sun > Priority: Major > Fix For: 3.0.0-alpha-5 > > Time Spent: 0.5h > Remaining Estimate: 0h > > The option to enable generating Java stubs in memory is {{memStub}}, which is > one of {{jointCompilationOptions}}: > {code:java} > def config = new CompilerConfiguration() > config.jointCompilationOptions = [memStub: true] > {code} > See the discussion in the dev mailing list: > http://groovy.329449.n5.nabble.com/PROPOSAL-Provide-an-option-to-generate-stubs-in-in-momery-file-system-for-better-compiling-performane-tt5756151.html > P.S. A better implementation is found, so no 3rd-party lib is required. -- This message was sent by Atlassian JIRA (v7.6.3#76005)