systools:make_script

Dietmar Schaefer <>
Mon May 23 14:03:03 CEST 2005


Hi !

For my release I have the following directory structure :

BTW: Yes I read 
http://www.trapexit.org/docs/howto/release_handling_tutorial.html
 but I do not get it :-(




/tmp/ ----|
              |----  releases/1.0/cmmc.rel
              |----  lib/cmmc-1.0 --|
                                               |-- src
                                               |-- ebin/cmmc.app


which - as far as I can see should be ok. (?)


cmmc.rel:

{release, {"cmmc","1.0"}, {erts,"5.4.3"},
 [{kernel,"2.10.6"},
  {stdlib,"1.13.5"},
  {sasl, "2.0.1"},
  {mnesia,"4.2.1"},
  {snmp,"4.1.2"},
{cmmc,"1.0"}]}.


cmmc.app:

{application, cmmc,
 [{description, "CMMC module for 4dp"},
 {vsn,"1.0"},
  
{modules,[cmmc_4d.erl,cmmc_com.erl,cmmc_snmp.erl,cmmc_util.erl,cmmc_4dp.erl,cmmc_config.erl]},
  {registered,[comDecode,sendProc,cmmc_config]},
  {applications,[kernel,mnesia,stdlib,sasl,snmp]}
]}.



calling
systools:make_script("cmmc",[{path,["/tmp/lib/cmmc-1.0/ebin"]}]).

I get:

{{module_not_found,cmmc,'cmmc_4d.erl'},
 {'cmmc_4d.erl','$$ignore$$',cmmc,"1.0","/tmp/lib/cmmc-1.0/ebin"}}
{{module_not_found,cmmc,'cmmc_com.erl'},
 {'cmmc_com.erl','$$ignore$$',cmmc,"1.0","/tmp/lib/cmmc-1.0/ebin"}}
{{module_not_found,cmmc,'cmmc_snmp.erl'},
 {'cmmc_snmp.erl','$$ignore$$',cmmc,"1.0","/tmp/lib/cmmc-1.0/ebin"}}
{{module_not_found,cmmc,'cmmc_util.erl'},
 {'cmmc_util.erl','$$ignore$$',cmmc,"1.0","/tmp/lib/cmmc-1.0/ebin"}}
{{module_not_found,cmmc,'cmmc_4dp.erl'},
 {'cmmc_4dp.erl','$$ignore$$',cmmc,"1.0","/tmp/lib/cmmc-1.0/ebin"}}
{{module_not_found,cmmc,'cmmc_config.erl'},
 {'cmmc_config.erl','$$ignore$$',cmmc,"1.0","/tmp/lib/cmmc-1.0/ebin"}}
error



Can someone please (!) give me some advice ?


regards


Dietmar



More information about the erlang-questions mailing list