File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717javac.source =1.5
1818
1919lib.version =2.8.0.BUILD-SNAPSHOT
20+
21+ compatibility.baseline.version =2.7.3
22+ url.libbase =http://cloud.github.com/downloads/mongodb
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ See the License for the specific language governing permissions and
1616limitations under the License.
1717-->
1818
19- <project name =" MongoDB Java Driver " default =" compile" basedir =" ." >
19+ <project name =" mongo-java-driver " default =" compile" basedir =" ." >
2020
2121 <taskdef resource =" net/sf/antcontrib/antcontrib.properties" >
2222 <classpath >
@@ -368,6 +368,22 @@ limitations under the License.
368368 <!-- </clover-report>-->
369369 </target >
370370
371+
372+ <target name =" check-binary-compatibility" depends =" jar" >
373+ <taskdef classpathref =" classpath" resource =" clirrtask.properties" />
374+
375+ <property name =" jar.baseline" value =" mongo-${ build.conf.compatibility.baseline.version } .jar" />
376+
377+ <get src =" ${ build.conf.url.libbase } /${ ant.project.name } /${ jar.baseline } " dest =" ${ jar.baseline } "
378+ verbose =" true" usetimestamp =" true" />
379+
380+ <clirr failOnBinError =" no" failOnSrcError =" no" >
381+ <origfiles dir =" ." includes =" ${ jar.baseline } " />
382+ <newfiles dir =" ." includes =" mongo.jar" />
383+ <formatter type =" plain" outfile =" build/clirr.txt" />
384+ </clirr >
385+ </target >
386+
371387 <!-- NOTE: publish-local is now located in maven/ -->
372388
373389</project >
You can’t perform that action at this time.
0 commit comments