72
73
<title>Inspecting the configuration</title>
75
Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [kernel-poll:false]
76
Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:4:4] [rq:4]
77
[async-threads:0] [kernel-poll:false]
77
79
Eshell V5.7.3 (abort with ^G)
78
1> Config = {sys, [{escript, "examples/display_args", [{incl_cond, include}]},
80
1> Config = {sys, [{escript,
81
"examples/display_args",
82
[{incl_cond, include}]},
79
83
{app, inets, [{incl_cond, include}]},
80
84
{app, mnesia, [{incl_cond, exclude}]},
81
85
{app, ssl, [{incl_cond, exclude}]},
244
248
<title>Generate release and script files</title>
246
250
5> {ok, Server} = reltool:start_server([{config, {sys, [{boot_rel, "NAME"},
247
{rel, "NAME", "VSN", [kernel, stdlib, sasl]}]}}]).
248
253
{ok,<0.1288.0>}
249
254
6> reltool:get_config(Server).
250
255
{ok,{sys,[{boot_rel,"NAME"},
251
{rel,"NAME","VSN",[kernel,stdlib,sasl]}]}}
256
{rel,"NAME","VSN",[sasl]}]}}
252
257
7> reltool:get_rel(Server, "NAME").
253
258
{ok,{release,{"NAME","VSN"},
298
303
<title>Create a target system</title>
300
Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [kernel-poll:false]
305
Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:4:4] [rq:4]
306
[async-threads:0] [kernel-poll:false]
302
308
Eshell V5.7.3 (abort with ^G)
303
1> Config = {sys, [{escript, "examples/display_args", [{incl_cond, include}]},
309
1> Config = {sys, [{escript,
310
"examples/display_args",
311
[{incl_cond, include}]},
304
312
{app, inets, [{incl_cond, include}]},
305
313
{app, mnesia, [{incl_cond, exclude}]},
306
314
{app, ssl, [{incl_cond, exclude}]},
320
328
[{write_file,"start_erl.data","5.7.3 1.0"},
321
329
{create_dir,"1.0",
322
330
[{write_file,"start_clean.rel",
323
[37,37,32,114,101,108,32,103,101,110,101,114,97,116|...]},
331
[37,37,32,114,101,108,32,103,101,110,101|...]},
324
332
{write_file,"start_clean.script",
325
[37,37,32,115,99,114,105,112,116,32,103,101,110|...]},
333
[37,37,32,115,99,114,105,112,116,32|...]},
326
334
{write_file,"start_clean.boot",
327
<<131,104,3,100,0,6,115,99,114,105,112,116,...>>},
335
<<131,104,3,100,0,6,115,99,114,...>>},
328
336
{write_file,"start_sasl.rel",
329
337
[37,37,32,114,101,108,32,103,101,110,101|...]},
330
338
{write_file,"start_sasl.script",
411
419
{create_dir,"src",
412
[{copy_file,[...]},{copy_file,...},{...}|...]}]}]},
421
{copy_file,...},{...}|...]}]}]},
413
422
{archive,"crypto-1.6.1.ez",[],
414
423
[{create_dir,"crypto-1.6.1",
415
424
[{create_dir,"ebin",
416
[{copy_file,[...]},{copy_file,...},{...}|...]},
426
{copy_file,...},{...}|...]},
417
427
{create_dir,"src",[{copy_file,...},{...}|...]}]}]},
418
428
{create_dir,"crypto-1.6.1",
419
429
[{create_dir,"priv",