Todd Lipcon | 53ae9f3 | 2009-12-07 00:42:38 +0000 | [diff] [blame] | 1 | %% |
| 2 | %% Licensed to the Apache Software Foundation (ASF) under one |
| 3 | %% or more contributor license agreements. See the NOTICE file |
| 4 | %% distributed with this work for additional information |
| 5 | %% regarding copyright ownership. The ASF licenses this file |
| 6 | %% to you under the Apache License, Version 2.0 (the |
| 7 | %% "License"); you may not use this file except in compliance |
| 8 | %% with the License. You may obtain a copy of the License at |
| 9 | %% |
| 10 | %% http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | %% |
| 12 | %% Unless required by applicable law or agreed to in writing, |
| 13 | %% software distributed under the License is distributed on an |
| 14 | %% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | %% KIND, either express or implied. See the License for the |
| 16 | %% specific language governing permissions and limitations |
| 17 | %% under the License. |
| 18 | %% |
David Reiss | ae756f4 | 2008-06-10 22:57:11 +0000 | [diff] [blame] | 19 | %%% -*- mode:erlang -*- |
| 20 | {application, %APP_NAME%, |
| 21 | [ |
| 22 | % A quick description of the application. |
| 23 | {description, "Thrift bindings"}, |
| 24 | |
| 25 | % The version of the applicaton |
| 26 | {vsn, "%VSN%"}, |
| 27 | |
| 28 | % All modules used by the application. |
| 29 | {modules, [ |
| 30 | %MODULES% |
| 31 | ]}, |
| 32 | |
| 33 | % All of the registered names the application uses. This can be ignored. |
| 34 | {registered, []}, |
| 35 | |
| 36 | % Applications that are to be started prior to this one. This can be ignored |
| 37 | % leave it alone unless you understand it well and let the .rel files in |
| 38 | % your release handle this. |
| 39 | {applications, |
| 40 | [ |
| 41 | kernel, |
| 42 | stdlib |
| 43 | ]}, |
| 44 | |
| 45 | % OTP application loader will load, but not start, included apps. Again |
| 46 | % this can be ignored as well. To load but not start an application it |
| 47 | % is easier to include it in the .rel file followed by the atom 'none' |
| 48 | {included_applications, []}, |
| 49 | |
| 50 | % configuration parameters similar to those in the config file specified |
| 51 | % on the command line. can be fetched with gas:get_env |
| 52 | {env, [ |
David Reiss | 920959a | 2008-06-11 00:56:35 +0000 | [diff] [blame] | 53 | % If an error/crash occurs during processing of a function, |
| 54 | % should the TApplicationException serialized back to the client |
| 55 | % include the erlang backtrace? |
| 56 | {exceptions_include_traces, true} |
David Reiss | ae756f4 | 2008-06-10 22:57:11 +0000 | [diff] [blame] | 57 | ]}, |
| 58 | |
| 59 | % The Module and Args used to start this application. |
| 60 | {mod, {thrift_app, []}} |
| 61 | ] |
| 62 | }. |