<div dir="ltr">Hi there,<br><br>I have an OTP app with the following simpledb.rel file:<br><br><i>{release, {"simpledb", "1.0"}, {erts, "5.5.5"}, <br> [{simpledb, "1.0"},<br> {kernel, "2.11.5"},<br>
{stdlib, "1.14.5"}]}.</i><br><br>And the following simpledb.app file:<br><br><i>{application, simpledb, <br> [{description, "Stores Key, Value pairs."},<br> {id, "simpledb"},<br>
{vsn, "1.0"},<br> {modules, [simpledb_app, simpledb_sup, simpledb_svr]},<br> {mod, {simpledb_app, []}},<br> {registered, [simpledb_svr]},<br> {applications, [kernel, stdlib]}]}.</i><br><br>When I run `systools:make_tar("simpledb", [{path, ["ebin"]}])` I get the following error:<br>
<br><i>{{case_clause,<br> {'EXIT',<br> {function_clause,<br> [{filename,join,[[]]},<br> {systools_make,add_appl,7},<br> {systools_make,'-add_applications/5-fun-0-',6},<br>
{lists,foldl,3},<br> {systools_make,add_applications,5},<br> {systools_make,mk_tar,6},<br> {systools_make,mk_tar,5},<br> {systools_make,make_tar,2}]}}},<br>
[{systools_make,'-add_applications/5-fun-0-',6},<br> {lists,foldl,3},<br> {systools_make,add_applications,5},<br> {systools_make,mk_tar,6},<br> {systools_make,mk_tar,5},<br> {systools_make,make_tar,2},<br> {erl_eval,do_apply,5},<br>
{escript,code_handler,4}]}</i><br><br>`systools:make_script("simpledb", [{path, ["ebin"]}])` works fine.<br><br>Also if you know why I get the following junk, it would be forever thankful:<br><br><i>*WARNING* kernel: Object code (application) out of date<br>
*WARNING* kernel: Object code (application_controller) out of date<br>*WARNING* kernel: Object code (application_master) out of date<br>*WARNING* kernel: Object code (application_starter) out of date<br>*WARNING* kernel: Object code (auth) out of date<br>
*WARNING* kernel: Object code (code) out of date<br>*WARNING* kernel: Object code (code_aux) out of date<br>*WARNING* kernel: Object code (packages) out of date<br>*WARNING* kernel: Object code (code_server) out of date<br>
*WARNING* kernel: Object code (dist_util) out of date<br>*WARNING* kernel: Object code (erl_boot_server) out of date<br>*WARNING* kernel: Object code (erl_distribution) out of date<br>*WARNING* kernel: Object code (erl_prim_loader) out of date<br>
*WARNING* kernel: Object code (erl_reply) out of date<br>*WARNING* kernel: Object code (erlang) out of date<br>*WARNING* kernel: Object code (error_handler) out of date<br>*WARNING* kernel: Object code (error_logger) out of date<br>
*WARNING* kernel: Object code (file) out of date<br>*WARNING* kernel: Object code (file_server) out of date<br>*WARNING* kernel: Object code (file_io_server) out of date<br>*WARNING* kernel: Object code (prim_file) out of date<br>
*WARNING* kernel: Object code (global) out of date<br>*WARNING* kernel: Object code (global_group) out of date<br>*WARNING* kernel: Object code (global_search) out of date<br>*WARNING* kernel: Object code (group) out of date<br>
*WARNING* kernel: Object code (heart) out of date<br>*WARNING* kernel: Object code (hipe_unified_loader) out of date<br>*WARNING* kernel: Object code (inet6_tcp) out of date<br>*WARNING* kernel: Object code (inet6_tcp_dist) out of date<br>
*WARNING* kernel: Object code (inet6_udp) out of date<br>*WARNING* kernel: Object code (inet_config) out of date<br>*WARNING* kernel: Object code (inet_hosts) out of date<br>*WARNING* kernel: Object code (inet_gethost_native) out of date<br>
*WARNING* kernel: Object code (inet_tcp_dist) out of date<br>*WARNING* kernel: Object code (init) out of date<br>*WARNING* kernel: Object code (kernel) out of date<br>*WARNING* kernel: Object code (kernel_config) out of date<br>
*WARNING* kernel: Object code (net) out of date<br>*WARNING* kernel: Object code (net_adm) out of date<br>*WARNING* kernel: Object code (net_kernel) out of date<br>*WARNING* kernel: Object code (os) out of date<br>*WARNING* kernel: Object code (ram_file) out of date<br>
*WARNING* kernel: Object code (rpc) out of date<br>*WARNING* kernel: Object code (user) out of date<br>*WARNING* kernel: Object code (user_drv) out of date<br>*WARNING* kernel: Object code (user_sup) out of date<br>*WARNING* kernel: Object code (disk_log) out of date<br>
*WARNING* kernel: Object code (disk_log_1) out of date<br>*WARNING* kernel: Object code (disk_log_server) out of date<br>*WARNING* kernel: Object code (disk_log_sup) out of date<br>*WARNING* kernel: Object code (dist_ac) out of date<br>
*WARNING* kernel: Object code (erl_ddll) out of date<br>*WARNING* kernel: Object code (erl_epmd) out of date<br>*WARNING* kernel: Object code (erts_debug) out of date<br>*WARNING* kernel: Object code (gen_tcp) out of date<br>
*WARNING* kernel: Object code (gen_udp) out of date<br>*WARNING* kernel: Object code (gen_sctp) out of date<br>*WARNING* kernel: Object code (prim_inet) out of date<br>*WARNING* kernel: Object code (inet) out of date<br>*WARNING* kernel: Object code (inet_db) out of date<br>
*WARNING* kernel: Object code (inet_dns) out of date<br>*WARNING* kernel: Object code (inet_parse) out of date<br>*WARNING* kernel: Object code (inet_res) out of date<br>*WARNING* kernel: Object code (inet_tcp) out of date<br>
*WARNING* kernel: Object code (inet_udp) out of date<br>*WARNING* kernel: Object code (inet_sctp) out of date<br>*WARNING* kernel: Object code (pg2) out of date<br>*WARNING* kernel: Object code (seq_trace) out of date<br>
*WARNING* kernel: Object code (wrap_log_reader) out of date<br>*WARNING* kernel: Object code (zlib) out of date<br>*WARNING* kernel: Object code (otp_ring0) out of date<br>*WARNING* stdlib: Object code (base64) out of date<br>
*WARNING* stdlib: Object code (beam_lib) out of date<br>*WARNING* stdlib: Object code (c) out of date<br>*WARNING* stdlib: Object code (calendar) out of date<br>*WARNING* stdlib: Object code (dets) out of date<br>*WARNING* stdlib: Object code (dets_server) out of date<br>
*WARNING* stdlib: Object code (dets_sup) out of date<br>*WARNING* stdlib: Object code (dets_utils) out of date<br>*WARNING* stdlib: Object code (dets_v8) out of date<br>*WARNING* stdlib: Object code (dets_v9) out of date<br>
*WARNING* stdlib: Object code (dict) out of date<br>*WARNING* stdlib: Object code (digraph) out of date<br>*WARNING* stdlib: Object code (digraph_utils) out of date<br>*WARNING* stdlib: Object code (edlin) out of date<br>
*WARNING* stdlib: Object code (edlin_expand) out of date<br>*WARNING* stdlib: Object code (epp) out of date<br>*WARNING* stdlib: Object code (eval_bits) out of date<br>*WARNING* stdlib: Object code (erl_bits) out of date<br>
*WARNING* stdlib: Object code (erl_compile) out of date<br>*WARNING* stdlib: Object code (erl_eval) out of date<br>*WARNING* stdlib: Object code (erl_expand_records) out of date<br>*WARNING* stdlib: Object code (erl_internal) out of date<br>
*WARNING* stdlib: Object code (erl_lint) out of date<br>*WARNING* stdlib: Object code (erl_parse) out of date<br>*WARNING* stdlib: Object code (erl_posix_msg) out of date<br>*WARNING* stdlib: Object code (erl_pp) out of date<br>
*WARNING* stdlib: Object code (erl_scan) out of date<br>*WARNING* stdlib: Object code (erl_tar) out of date<br>*WARNING* stdlib: Object code (error_logger_file_h) out of date<br>*WARNING* stdlib: Object code (error_logger_tty_h) out of date<br>
*WARNING* stdlib: Object code (escript) out of date<br>*WARNING* stdlib: Object code (ets) out of date<br>*WARNING* stdlib: Object code (file_sorter) out of date<br>*WARNING* stdlib: Object code (filelib) out of date<br>*WARNING* stdlib: Object code (filename) out of date<br>
*WARNING* stdlib: Object code (gb_trees) out of date<br>*WARNING* stdlib: Object code (gb_sets) out of date<br>*WARNING* stdlib: Object code (gen) out of date<br>*WARNING* stdlib: Object code (gen_event) out of date<br>*WARNING* stdlib: Object code (gen_fsm) out of date<br>
*WARNING* stdlib: Object code (gen_server) out of date<br>*WARNING* stdlib: Object code (io) out of date<br>*WARNING* stdlib: Object code (io_lib) out of date<br>*WARNING* stdlib: Object code (io_lib_format) out of date<br>
*WARNING* stdlib: Object code (io_lib_fread) out of date<br>*WARNING* stdlib: Object code (io_lib_pretty) out of date<br>*WARNING* stdlib: Object code (lib) out of date<br>*WARNING* stdlib: Object code (lists) out of date<br>
*WARNING* stdlib: Object code (log_mf_h) out of date<br>*WARNING* stdlib: Object code (math) out of date<br>*WARNING* stdlib: Object code (ms_transform) out of date<br>*WARNING* stdlib: Object code (orddict) out of date<br>
*WARNING* stdlib: Object code (ordsets) out of date<br>*WARNING* stdlib: Object code (otp_internal) out of date<br>*WARNING* stdlib: Object code (pg) out of date<br>*WARNING* stdlib: Object code (pool) out of date<br>*WARNING* stdlib: Object code (proc_lib) out of date<br>
*WARNING* stdlib: Object code (proplists) out of date<br>*WARNING* stdlib: Object code (qlc) out of date<br>*WARNING* stdlib: Object code (qlc_pt) out of date<br>*WARNING* stdlib: Object code (queue) out of date<br>*WARNING* stdlib: Object code (random) out of date<br>
*WARNING* stdlib: Object code (regexp) out of date<br>*WARNING* stdlib: Object code (sets) out of date<br>*WARNING* stdlib: Object code (shell) out of date<br>*WARNING* stdlib: Object code (shell_default) out of date<br>*WARNING* stdlib: Object code (slave) out of date<br>
*WARNING* stdlib: Object code (sofs) out of date<br>*WARNING* stdlib: Object code (string) out of date<br>*WARNING* stdlib: Object code (supervisor) out of date<br>*WARNING* stdlib: Object code (supervisor_bridge) out of date<br>
*WARNING* stdlib: Object code (sys) out of date<br>*WARNING* stdlib: Object code (timer) out of date<br>*WARNING* stdlib: Object code (win32reg) out of date<br>*WARNING* stdlib: Object code (zip) out of date</i><br><br><br>
Thanks a lot!<br><br>Matt<br></div>