airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [1/2] git commit: edits to thrift script
Date Fri, 07 Feb 2014 19:54:49 GMT
Updated Branches:
  refs/heads/master 6282fa367 -> 8697b2dff


edits to thrift script


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/fac34c0a
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/fac34c0a
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/fac34c0a

Branch: refs/heads/master
Commit: fac34c0aa820e7c2d08df5dbd56aa731b53cef51
Parents: 6282fa3
Author: Suresh Marru <smarru@apache.org>
Authored: Fri Feb 7 14:29:03 2014 -0500
Committer: Suresh Marru <smarru@apache.org>
Committed: Fri Feb 7 14:29:03 2014 -0500

----------------------------------------------------------------------
 airavata-api/generate-thrift-files.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/fac34c0a/airavata-api/generate-thrift-files.sh
----------------------------------------------------------------------
diff --git a/airavata-api/generate-thrift-files.sh b/airavata-api/generate-thrift-files.sh
index f47eccc..40b13fc 100644
--- a/airavata-api/generate-thrift-files.sh
+++ b/airavata-api/generate-thrift-files.sh
@@ -21,7 +21,8 @@
 
 # ========================================================================================================================
 REQUIRED_THRIFT_VERSION='0.9'
-BASE_OUTPUT_PACKAGE='org.apache.airavata.api'
+BASE_OUTPUT_PACKAGE='org.apache.airavata'
+THRIFT_IDL_DIR='thrift-interface-descriptions'
 PACKAGES_TO_GENERATE=(gc master tabletserver security client.impl data)
 BUILD_DIR='target'
 FINAL_DIR='src/main/java'
@@ -43,8 +44,9 @@ if [ "$VERSION" -ne 1 ] ; then
   fail "****************************************************"
 fi
 
-# Initialize the thrift arguements
-THRIFT_ARGS=''
+# Initialize the thrift arguements.
+#  Since most of the Airavata API and Data Models have includes, use recursive option by
defualt.
+THRIFT_ARGS='-r'
 # Ensure output directories are created
 THRIFT_ARGS="${THRIFT_ARGS} -o $BUILD_DIR"
 mkdir -p $BUILD_DIR


Mime
View raw message