Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated .app files and renamed a variable, after a report from J. Lou…

…is Andersen
  • Loading branch information...
commit c0ee76e8ab376d604f57d3483dfb67cf739bea20 1 parent 87be6d2
@richcarl richcarl authored
View
2  chapter_04/tcp_rpc/ebin/tcp_rpc.app
@@ -6,7 +6,7 @@
{modules, [tr_app,
tr_sup,
tr_server]},
- {registered, [tr_sup]},
+ {registered, [tr_sup, tr_server]},
{applications, [kernel, stdlib]},
{mod, {tr_app, []}}
]}.
View
2  chapter_07/simple_cache/ebin/simple_cache.app
@@ -9,7 +9,7 @@
sc_element,
sc_event,
sc_event_logger]},
- {registered, [sc_sup]},
+ {registered, [sc_sup, sc_element_sup, sc_event]},
{applications, [kernel, sasl, stdlib]},
{mod, {sc_app, []}}
]}.
View
2  chapter_09/resource_discovery/ebin/resource_discovery.app
@@ -5,7 +5,7 @@
rd_app,
rd_sup,
rd_server]},
- {registered, [rd_sup]},
+ {registered, [rd_sup, rd_server]},
{applications, [kernel, stdlib]},
{mod, {rd_app, []}}
]}.
View
2  chapter_09/simple_cache/ebin/simple_cache.app
@@ -9,7 +9,7 @@
sc_element,
sc_event,
sc_event_logger]},
- {registered, [sc_sup]},
+ {registered, [sc_sup, sc_element_sup, sc_event]},
{applications, [kernel, sasl, stdlib, mnesia, resource_discovery]},
{mod, {sc_app, []}}
]}.
View
2  chapter_10/resource_discovery/ebin/resource_discovery.app
@@ -5,7 +5,7 @@
rd_app,
rd_sup,
rd_server]},
- {registered, [rd_sup]},
+ {registered, [rd_sup, rd_server]},
{applications, [kernel, stdlib]},
{mod, {rd_app, []}}
]}.
View
2  chapter_10/simple_cache/ebin/simple_cache.app
@@ -9,7 +9,7 @@
sc_element,
sc_event,
sc_event_logger]},
- {registered, [sc_sup]},
+ {registered, [sc_sup, sc_element_sup, sc_event]},
{applications, [kernel, sasl, stdlib, mnesia, resource_discovery]},
{mod, {sc_app, []}}
]}.
View
4 chapter_11/http_interface/src/hi_sup.erl
@@ -10,8 +10,8 @@
-define(SERVER, ?MODULE).
-start_link(LSock) ->
- supervisor:start_link({local, ?SERVER}, ?MODULE, [LSock]).
+start_link(Port) ->
+ supervisor:start_link({local, ?SERVER}, ?MODULE, [Port]).
start_child() ->
supervisor:start_child(?SERVER, []).
View
2  chapter_11/resource_discovery/ebin/resource_discovery.app
@@ -5,7 +5,7 @@
rd_app,
rd_sup,
rd_server]},
- {registered, [rd_sup]},
+ {registered, [rd_sup, rd_server]},
{applications, [kernel, stdlib]},
{mod, {rd_app, []}}
]}.
View
2  chapter_11/simple_cache/ebin/simple_cache.app
@@ -9,7 +9,7 @@
sc_element,
sc_event,
sc_event_logger]},
- {registered, [sc_sup]},
+ {registered, [sc_sup, sc_element_sup, sc_event]},
{applications, [kernel, sasl, stdlib, mnesia, resource_discovery]},
{mod, {sc_app, []}}
]}.
View
2  chapter_12/plain_port/json_parser/ebin/json_parser.app
@@ -7,7 +7,7 @@
jp_sup,
jp_server,
json_parser]},
- {registered, [jp_sup]},
+ {registered, [jp_sup, jp_server]},
{applications, [kernel, stdlib]},
{mod, {jp_app, []}}
]}.
View
2  chapter_12/port_driver/json_parser/ebin/json_parser.app
@@ -7,7 +7,7 @@
jp_sup,
jp_server,
json_parser]},
- {registered, [jp_sup]},
+ {registered, [jp_sup, jp_server]},
{applications, [kernel, stdlib]},
{mod, {jp_app, []}}
]}.
View
2  chapter_13/resource_discovery/ebin/resource_discovery.app
@@ -5,7 +5,7 @@
rd_app,
rd_sup,
rd_server]},
- {registered, [rd_sup]},
+ {registered, [rd_sup, rd_server]},
{applications, [kernel, stdlib]},
{mod, {rd_app, []}}
]}.
View
2  chapter_13/simple_cache/ebin/simple_cache.app
@@ -10,7 +10,7 @@
sc_event,
sc_event_logger,
sc_hbase]},
- {registered, [sc_sup]},
+ {registered, [sc_sup, sc_element_sup, sc_event]},
{applications, [kernel, sasl, stdlib, mnesia, resource_discovery]},
{mod, {sc_app, []}}
]}.
Please sign in to comment.
Something went wrong with that request. Please try again.