You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by mo...@apache.org on 2012/02/22 20:33:43 UTC
svn commit: r1292466 - in /thrift/trunk/lib/erl/src: ./ thrift.app.src
thrift.app.src.in
Author: molinaro
Date: Wed Feb 22 19:33:43 2012
New Revision: 1292466
URL: http://svn.apache.org/viewvc?rev=1292466&view=rev
Log:
THRIFT-1520 : embed version number in .app file for easier integration with rebar
Added:
thrift/trunk/lib/erl/src/thrift.app.src
Removed:
thrift/trunk/lib/erl/src/thrift.app.src.in
Modified:
thrift/trunk/lib/erl/src/ (props changed)
Propchange: thrift/trunk/lib/erl/src/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Feb 22 19:33:43 2012
@@ -1,3 +1 @@
-thrift.app.src
-Makefile.in
-Makefile
+
Added: thrift/trunk/lib/erl/src/thrift.app.src
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/erl/src/thrift.app.src?rev=1292466&view=auto
==============================================================================
--- thrift/trunk/lib/erl/src/thrift.app.src (added)
+++ thrift/trunk/lib/erl/src/thrift.app.src Wed Feb 22 19:33:43 2012
@@ -0,0 +1,58 @@
+%%
+%% Licensed to the Apache Software Foundation (ASF) under one
+%% or more contributor license agreements. See the NOTICE file
+%% distributed with this work for additional information
+%% regarding copyright ownership. The ASF licenses this file
+%% to you under the Apache License, Version 2.0 (the
+%% "License"); you may not use this file except in compliance
+%% with the License. You may obtain a copy of the License at
+%%
+%% http://www.apache.org/licenses/LICENSE-2.0
+%%
+%% Unless required by applicable law or agreed to in writing,
+%% software distributed under the License is distributed on an
+%% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+%% KIND, either express or implied. See the License for the
+%% specific language governing permissions and limitations
+%% under the License.
+%%
+%%% -*- mode:erlang -*-
+{application, thrift,
+ [
+ % A quick description of the application.
+ {description, "Thrift bindings"},
+
+ % The version of the applicaton
+ {vsn, "0.9.0-dev"},
+
+ % All modules used by the application.
+ {modules, [
+ ]},
+
+ % All of the registered names the application uses. This can be ignored.
+ {registered, []},
+
+ % Applications that are to be started prior to this one. This can be ignored
+ % leave it alone unless you understand it well and let the .rel files in
+ % your release handle this.
+ {applications,
+ [
+ kernel,
+ stdlib
+ ]},
+
+ % OTP application loader will load, but not start, included apps. Again
+ % this can be ignored as well. To load but not start an application it
+ % is easier to include it in the .rel file followed by the atom 'none'
+ {included_applications, []},
+
+ % configuration parameters similar to those in the config file specified
+ % on the command line. can be fetched with gas:get_env
+ {env, [
+ % If an error/crash occurs during processing of a function,
+ % should the TApplicationException serialized back to the client
+ % include the erlang backtrace?
+ {exceptions_include_traces, true}
+ ]}
+ ]
+}.