lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3337) avoid building jar files unless necessary in build
Date Wed, 27 Jul 2011 07:02:09 GMT


Steven Rowe updated LUCENE-3337:

    Attachment: LUCENE-3337.patch

This version of the patch moves uptodate checks and targets to build jars for other modules
to {{lucene/contrib/contrib-build.xml}}.  All Solr & Lucene modules are now covered. 
The Lucene core build now has a {{jar-core}} specialization that avoids creating the jar when
it's already up-to-date - previously when running {{ant test}} from {{solr/}}, the Lucene
core jar was built 41 times, because the manifest was newer each time...

My build times now:

||task||trunk||Robert's patch||My patch w/property passing optimizations||
|ant example (clean checkout)|180s|119s|52s|
|ant example (already compiled)|132s|61s|27s|

I think this should be committed; further changes can be made with more patches.

> avoid building jar files unless necessary in build
> --------------------------------------------------
>                 Key: LUCENE-3337
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/build
>    Affects Versions: 3.4, 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3337.patch, LUCENE-3337.patch, LUCENE-3337.patch, LUCENE-3337.patch,
> This causes the build to be slow, we can avoid it in lots of cases (e.g. ant test)

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message