summaryrefslogtreecommitdiff
path: root/tutorial/java
Commit message (Collapse)AuthorAgeFilesLines
* fixing missing EXTRA_DISTsv0.17.0Jens Geyer2022-08-311-0/+1
|
* Remove execute bit from plain text files in git (#2611)Christopher Tubbs2022-05-241-0/+0
| | | | | | | Trivially change file mode from 755 to 644 for files in git that shouldn't be marked as executable. These were probably marked as executable due to some contributors developing on Windows using a filesystem that doesn't support POSIX file modes, or aggressively marks everything as executable.
* THRIFT-5553: use newer gradle API (#2561)Jiayu Liu2022-05-084-13/+57
| | | | Prepare for moving to Gradle 7 by removing use of older Gradle directives (except the use of maven; the transition to maven-publish is not included here)
* THRIFT-(1418|1507|3983|4120|4178|4259|4294): Multiple issuesAlex Volanis2018-01-241-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Build fails using Java 1.8 with Ant < 1.9James E. King, III2017-01-251-2/+2
| | | | | | | Client: Java Patch: Adinata <mail.dieend@gmail.com> This closes #1060
* THRIFT-727 - C++: what() method of generated exceptions will provide more ↵Konrad Grochowski2015-05-181-2/+2
| | | | | | | | | information Patch: Anna Dymek <aadymek@gmail.com> Client: C++ This closes #469
* THRIFT-2830:clean up ant tutorial warningsRandy Abernethy2014-11-151-2/+2
| | | | | | | Client: Tutorial Patch: Randy Abernethy supress spurious ant warnings
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-10/+10
| | | | | | | Client: General (Makefile.am) Patch: Jens Geyer Reverted makefile.am - tabs are not optional there
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-10/+10
| | | | | | | Client: General (Makefile.am, *.thrift) Patch: Jens Geyer DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
* THRIFT-2602:Fix missing dist filesjfarrell2014-07-101-1/+2
| | | | | | | Client: build process Patch: jfarrell Add all missing files to the dist package.
* format tutorial Java README.mdHenrique Mendonça2014-06-241-7/+11
|
* THRIFT-2407 use markdown (rename README => README.md)Roger Meier2014-03-191-0/+0
| | | | Patch: Roger Meier
* Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test ↵jfarrell2013-08-151-1/+5
| | | | | | | | | and lib/cpp when making DIST Client: build Patch: jfarrell Fixing all the missing files and dist build issues that have been ignored.
* THRIFT-1735 integrate tutorial into regular buildRoger Meier2012-10-242-0/+4
| | | | | | | | - cpp support - cleanup stuff git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401818 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1735 integrate tutorial into regular build Roger Meier2012-10-224-60/+89
| | | | | | | Patch: Roger Meier git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401032 13f79535-47bb-0310-9956-ffa450edef68
* updating java tutorial readmeJake Farrell2011-07-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1150692 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1133 Java and JavaScript tutorial is broken since we have Java maven ↵Roger Meier2011-04-083-10/+7
| | | | | | deployment git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090454 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1084 Typo fixesRoger Meier2011-03-041-1/+1
| | | | | | | Patch: Bruce Mitchener git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1077939 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-969 Java Tutorial broken, move CalculatorHandler to a separate fileRoger Meier2010-10-272-69/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1028079 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-106. java: TSSLServerSocketBryan Duxbury2010-10-194-69/+149
| | | | | | | | This patch adds support for SSL-encrypted client and server sockets. Patch: Nirmal Ranganathan git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1024328 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-890. java: Add README missing from previous commitTodd Lipcon2010-09-281-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001970 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-890. java: Fix tutorial to build and run in trunkTodd Lipcon2010-09-274-11/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001856 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-387. Add appropriate Apache header to all code filesBryan Duxbury2009-04-082-0/+40
| | | | | | | | This hits all the documentation and some misc code files that have avoided the license up to this point. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763048 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-387. Add license headers to a bunch of filesDavid Reiss2009-03-303-0/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-34 Java libraries should be namespaced under org.apache.thrift, not ↵Bryan Duxbury2009-01-152-13/+13
| | | | | | | | | | com.facebook.thrift Library classes and tests have been moved to the proper package and directory structure, and references to com.facebook.thrift where replaced with org.apache.thrift throughout the code. The fb303 contrib project still contains com.facebook packages. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734855 13f79535-47bb-0310-9956-ffa450edef68
* Thrift: Whitespace cleanup.David Reiss2008-02-061-4/+4
| | | | | | | | | | | | | | | | | Summary: - Expanded tabs to spaces where spaces were the norm. - Deleted almost all trailing whitespace. - Added newlines to the ends of a few files. - Ran dos2unix on one file or two. Reviewed By: mcslee Test Plan: git diff -b Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add Java tutorials to thriftMark Slee2007-04-105-0/+199
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665090 13f79535-47bb-0310-9956-ffa450edef68