thrift/debian
Alex Volanis 7004a61e44 THRIFT-(1418|1507|3983|4120|4178|4259|4294): Multiple issues
Client: java

THRIFT-4294: Java Configure Fails for Ant >= 1.10
THRIFT-4259: Thrift does not compile due to Ant Maven task errors
THRIFT-4178: Java libraries missing from package when using cmake
THRIFT-3983: libthrift is deployed on central with pom packaging
             instead of jar
THRIFT-1507: Maven can't download resource from central when behind
             a proxy and won't use local repository
THRIFT-1418: Compiling Thrift from source: Class
             org.apache.tools.ant.taskdefs.ConditionTask doesn't
             support the nested "typefound" element

Refactor CMake install hook to allow using "sudo make install/fast"
which avoids the THRIFT-1507 and THRIFT-1418 issues.

New Gradle based build system for Thrift Java Library

* Add Gradle 4.4.1 Wrapper artifacts to enable builds
Using the Gradle Wrapper helps normalize the builds on all platforms
so we use a consistent build tool independent of package managers.

The Gradle build logic was partitioned into multiple specific
scripts to simplify understanding and maintenance of the build.

This is now hooked into CMake and Autoconf processing steps
and can build/test/publish to Maven. The README.md was updated
to illustrate the new build options and add some documentation
on the requirements for Maven publication.

Cleaned up the CMake files to reduce reliance on file globbing
which is known to cause confusion when multiple users contribute.

* Fix two minor issues in Javadoc and unit test

Return values were undeclared in Javadoc
Test was asserting on the wrong test object instance

* Create simple runner scripts for cross-check

Using Gradle as a java execution wrapper is too heavy.
I simplified the test client/server execution by using a
three generated scripts in the build directory direcly
callable by the cross-check test harness.

* Cleanup the remaining Ant build scripts

Pulled the Maven Ant task properties out of the Java build
since they are no longer used there.
Deleted the no longer used build.xml and build.properties
files from the Java build.
Made each Ant build own the Maven Ant task details in their
build.properties file.

* Fix the build issue with Java SSL in the ubuntu-trusty container

The latest Trusty JDK7 builds seem to have encountered this issue
because the OpenJDK removed the SunEC algorithms.

* Update the developer info as requested in review

Use the generic Apache Thrift developer list for contact information

* Add Clover Code coverage for easy access by developers

Clover plugin for Gradle was applied and configured which enables
code coverage reports to be available on demand via a command line
option. The documentation in the README.md was enhanced to give
the details of this change and how to take advantage of it.
2018-01-24 12:28:55 -05:00
..
changelog THRIFT-3460 Improve provided Debian packaging solution 2016-01-10 16:25:57 +01:00
compat THRIFT-3460 Improve provided Debian packaging solution 2016-01-10 16:25:57 +01:00
control THRIFT-4110: add libthrift0-dbg debug symbols package to debian build process for symbolic debugging 2017-03-10 06:14:18 -05:00
copyright THRIFT-3460 Improve provided Debian packaging solution 2016-01-10 16:25:57 +01:00
dirs THRIFT-1825 Debian Packaging: cpp libs no longer included since 0.8 2013-01-08 23:12:28 +01:00
docs Thrift-2601:Fix vagrant to work again for builds again 2014-07-09 23:39:34 -04:00
libthrift0.install THRIFT-3460 Improve provided Debian packaging solution 2016-01-10 16:25:57 +01:00
libthrift-dev.install THRIFT-1825 Debian Packaging: cpp libs no longer included since 0.8 2013-01-08 23:12:28 +01:00
php5-thrift.dirs THRIFT-1825 Debian Packaging: cpp libs no longer included since 0.8 2013-01-08 23:12:28 +01:00
README.md THRIFT-3460 Improve provided Debian packaging solution 2016-01-10 16:25:57 +01:00
rules THRIFT-(1418|1507|3983|4120|4178|4259|4294): Multiple issues 2018-01-24 12:28:55 -05:00
substvars THRIFT-3760 Fix install paths etc of debian packages for py and perl 2016-03-29 12:03:34 +09:00
thrift-doc.docs THRIFT-1825 Debian Packaging: cpp libs no longer included since 0.8 2013-01-08 23:12:28 +01:00
thrift-doc.install THRIFT-1825 Debian Packaging: cpp libs no longer included since 0.8 2013-01-08 23:12:28 +01:00

Some tips on Debian Packaging

Build using dpkg-buildpackage:

$ dpkg-buildpackage -d -tc
  -d   # do not check build dependencies and conflicts.
  -tc  # clean source tree when finished.

Update changelog:

$ date -R

One can also install devscripts package and run:

$ dch -i

Check packages:

$ dpkg -c *.deb
$ lintian *.deb

TODO

Make it perfect!