[ 
https://issues.apache.org/jira/browse/LUCENE-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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: https://issues.apache.org/jira/browse/LUCENE-3337
>             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, 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: http://www.atlassian.com/software/jira

        

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

Reply via email to