~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/reltool/doc/src/reltool_examples.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    its server can be obtained with <c>reltool:get_server/1</c></p>
46
46
    
47
47
    <pre>
48
 
Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [kernel-poll:false]
 
48
Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:4:4] [rq:4]
 
49
                           [async-threads:0] [kernel-poll:false]
49
50
 
50
51
Eshell V5.7.3  (abort with ^G)
51
52
1&gt; {ok, Win} = reltool:start([]).
72
73
    <title>Inspecting the configuration</title>
73
74
 
74
75
    <pre>
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]
76
78
 
77
79
Eshell V5.7.3  (abort with ^G)
78
 
1&gt; Config = {sys, [{escript, "examples/display_args", [{incl_cond, include}]},
 
80
1&gt; 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>
245
249
    <pre>
246
250
5&gt; {ok, Server} = reltool:start_server([{config, {sys, [{boot_rel, "NAME"},
247
 
                                                        {rel, "NAME", "VSN", [kernel, stdlib, sasl]}]}}]).
 
251
                                                        {rel, "NAME", "VSN",
 
252
                                                        [kernel, stdlib, sasl]}]}}]).
248
253
{ok,&lt;0.1288.0&gt;}
249
254
6&gt;  reltool:get_config(Server).
250
255
{ok,{sys,[{boot_rel,"NAME"},
297
302
  <section>
298
303
    <title>Create a target system</title>
299
304
    <pre>
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]
301
307
 
302
308
Eshell V5.7.3  (abort with ^G)
303
 
1&gt; Config = {sys, [{escript, "examples/display_args", [{incl_cond, include}]},
 
309
1&gt; 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
 
                                           &lt;&lt;131,104,3,100,0,6,115,99,114,105,112,116,...&gt;&gt;},
 
335
                                           &lt;&lt;131,104,3,100,0,6,115,99,114,...&gt;&gt;},
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",
409
417
                                                      {copy_file,...},
410
418
                                                      {...}|...]},
411
419
                                         {create_dir,"src",
412
 
                                                     [{copy_file,[...]},{copy_file,...},{...}|...]}]}]},
 
420
                                                     [{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,...},{...}|...]},
 
425
                                                     [{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",