You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/02/28 16:47:12 UTC

[jira] [Commented] (LUCENE-1083) JDiff report of changes between different versions of Lucene

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

Robert Muir commented on LUCENE-1083:
-------------------------------------

I think this is pretty relevant. 

Its a compelling alternative to backwards compatibility tests that run with a previous version of lucene (which are costly to maintain)

                
> JDiff report of changes between different versions of Lucene
> ------------------------------------------------------------
>
>                 Key: LUCENE-1083
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1083
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/javadocs
>    Affects Versions: 2.2
>            Reporter: Matt Doar
>         Attachments: 1083_1.patch, 1083_2.patch, core-jdiff.zip, jdiff_lucene_191_220.zip, jdiff_lucene_210_220.zip
>
>
> I think that a helpful addition to the release process for Lucene would be [JDiff|http://www.jdiff.org] reports of the API changes between different versions. I am attaching reports of the differences between 1.9.1 and 2.2.0 and also between 2.1.0 and 2.2.0. The reports could be changed to only show the public methods. The start page is changes.html.
> This is the Ant target I added to the top-level build.xml file in the JDiff directory to produce a report:
> {noformat}
> <target name="lucene" depends="dist">
>   <taskdef name="jdiff" 
>            classname="jdiff.JDiffAntTask" 
>            classpath="${dist.dir}/antjdiff.jar" />
>   <jdiff destdir="${reports.dir}/lucene" 
>          verbose="on"
>          stats="on"
>          docchanges="on">
>     <old name="1.9.1">
>       <dirset dir="${examples.dir}/lucene-1.9.1/src/java" includes="org/**" />
>     </old>
>     <new name="2.2.0">
>       <dirset dir="${examples.dir}/lucene-2.2.0/src/java" includes="org/**" />
>     </new>
>   </jdiff>
> </target>
> {noformat}
> Disclaimer: I'm the author of JDiff

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org