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

Steven Rowe commented on LUCENE-3774:
-------------------------------------

bq. I know whom to blame. I used ant 1.7.1 and the result is: [...] 4.44s.

Cool, glad you tracked it down.

bq. Try with the latest Ant (1.8.2). I'll try to see what's causing such a huge 
speed difference, but maybe we should just enforce Ant 1.8.+? :)

I recall there being problems with Ant 1.8 in some parts of the build - sorry, 
I don't remember the details.  I'm sure we could work through those issues, 
whatever they are, though, so +1 from me to require Ant 1.8+.

With Ant 1.8.2, I get:

{noformat}
[license-check] Scanned 82 JAR file(s) for licenses (in 0.21s.), 0 error(s).
{noformat}

So yeah, Ant 1.7.1 is the culprit.
                
> check-legal isn't doing its job
> -------------------------------
>
>                 Key: LUCENE-3774
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3774
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: general/build
>    Affects Versions: 3.6, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>         Attachments: LUCENE-3774.patch, LUCENE-3774.patch, LUCENE-3774.patch, 
> LUCENE-3774.patch
>
>
> In trunk, the {{check-legal-lucene}} ant target is not checking any 
> {{lucene/contrib/\*\*/lib/}} directories; the {{modules/**/lib/}} directories 
> are not being checked; and {{check-legal-solr}} can't be checking 
> {{solr/example/lib/\*\*/\*.jar}}, because there are currently {{.jar}} files 
> in there that don't have a license.
> These targets are set up to take in a full list of {{lib/}} directories in 
> which to check, but modules move around, and these lists are not being kept 
> up-to-date.
> Instead, {{check-legal-\*}} should run for each module, if the module has a 
> {{lib/}} directory, and it should be specialized for modules that have more 
> than one ({{solr/core/}}) or that have a {{lib/}} directory in a non-standard 
> place ({{lucene/core/}}).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to