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

Steven Rowe commented on LUCENE-3754:
-------------------------------------

My motivation for this issue was to try to get the jar produced by {{ant 
generate-maven-artifacts}} be the exact same as that produced by {{ant dist}}, 
but it is not, even though all file contents, including the manifest, are 
identical.  The metadata in the jar must be different, because the jars 
produced by these two are the same size, and all their files' contents are 
identical.  I tried adding {{update="true"}} to the {{<jar>}} task used to 
build the jars, so that the files inside would be updated instead of completely 
regenerated, and 
while the jar file was successfully updated, the two jars still were not 
identical.

So I'm not sure whether this should be committed.  {{ant 
generate-maven-artifacts}} will have to take another tack to enable its jars to 
be identical to those produced by {{ant dist}}.
                
> Store generated archive manifests in per-module output directories
> ------------------------------------------------------------------
>
>                 Key: LUCENE-3754
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3754
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>            Priority: Minor
>         Attachments: LUCENE-3754.patch
>
>
> Currently, generated archive manifests are all stored in the same location, 
> so each module's build overwrites the previously built module's manifest.  
> Locating these files in the per-module build dirs will allow them to be 
> rebuilt only when necessary, rather than every time a module's {{jar}} target 
> is called.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to