[ 
https://issues.apache.org/jira/browse/LUCENE-5213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767457#comment-13767457
 ] 

ASF subversion and git services commented on LUCENE-5213:
---------------------------------------------------------

Commit 1523215 from [~thetaphi] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1523215 ]

Merged revision(s) 1523214 from lucene/dev/trunk:
LUCENE-5213: Use <groovy/> instead <script/> ant task
                
> Use <groovy/> instead <script/> ant task
> ----------------------------------------
>
>                 Key: LUCENE-5213
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5213
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.6
>
>         Attachments: LUCENE-5213.patch
>
>
> We currently use the <script/> task to execute groovy script while building 
> (SVN working copy tests, determining javadocs URL,...), which works perfectly 
> fine.
> The backside is that the groovy classpath is passed as separate classpath to 
> ANT every time a <script/> task is executed. This leads to the problem that 
> we get the usual ANT permgen problems, especially when we execute such tasks 
> on sub.modules (we currently don't do this).
> This is one reason why I did not yet port over the "svnversion" calls to 
> svnkit, because its executed on every module. The license checker may have 
> the same problem, once I port it over to be a simple groovy macro (see 
> LUCENE-5210).
> This patch uses the <groovy/> taskdef. The taskdef is only loaded once and 
> can be inherited to subants.
> There is currently one task/macro that does not use the <groovy/> task: 
> pegdown, because its implemented as a <scriptfilter/>: It is used to filter 
> the markdown and convert to HTML when copying the main web page. There is no 
> replacement with groovy's taskdef unless I refactor it to not be a <filter/> 
> inside a <copy/> task.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to