release handler and behaviour

Suresh S sureshsaragadam@REDACTED
Sat Dec 28 16:04:26 CET 2002


Hi Uffe Wiger,

I have not used any behaviour in my application,
i am getting confused to make user of behaviour
and all the stuff related to call_back  

Where do i get more info on behaviours and is
supervisor module is necessery for a release ?
i really want to include this module in my
application,
because i want to make a fault taularent applicatin

very first statement of my .app file is throughing a
parse error 

Thanking u

with regards
s suresh


> Hi Suresh,
> 
> The parser most likely stumbles on the 'modules'
> list in your app file. The
> modules are given as authentication.erl, which is
> not a valid atom. You
> should remove the ".erl" part from the module names.
> You can check your .app
> file from an erlang shell by calling
> file:consult("roamapp.app").
> 
> /Uffe
> 
> ----- Original Message -----
> From: "Suresh S" <sureshsaragadam@REDACTED>
> To: <erlang-questions@REDACTED>
> Cc: "Ulf Wiger" <etxuwig@REDACTED>
> Sent: den 24 december 2002 06:55
> 
> 
> > Hi Ulf Wiger,
> > After Going Through ur work "OTP Release Handling
> > Tutorial" i tried to work on packaging of my
> > application,
> >
> > while making  script it is giving the error for
> very
> > first erlang term in the .app file,
> >
> > what may be the problem .
> >
> > Eshell V5.0.1.1  (abort with ^G)
> > 1> Dir = "/home/suresh/InRoam-1.0/RoamApp".
> > "/home/suresh/InRoam-1.0/RoamApp"
> > 2> Path = [Dir ++ "/lib/*/ebin"].
> > ["/home/suresh/InRoam-1.0/RoamApp/lib/*/ebin"]
> > 3>  Var = {"RoamApp", Dir}.
> > {"RoamApp","/home/suresh/InRoam-1.0/RoamApp"}
> > 4>
> >
>
systools:make_script("start_roamapp",[{path,Path},{variables,[Var]}]).
> > roamapp: Parse error in file:
> >
>
"/home/suresh/InRoam-1.0/RoamApp/lib/roamapp-1.0.1/ebin/roamapp.app".
> >  Line: 1  Error: "bad term";
> >
> > error
> > 5>
> >
> > This is my app file
> > -------------------
> >
> > {application, roamapp,
> >  [{description, "Application for Call Processing
> of a
> > Roamer"},
> >   {vsn, "1.0.1"},
> >   {modules,   [ authentication,
> >                 inroam_trigger,
> >                 timefun,
> >                 importdata,
		    	
> >                 roamapp]},
> >   {registered,[ transceiver,
> >                 keepaliveagent,
> >                 keepalivemanager,
> >                 supervise_process,
> >                 Table_name,
> >                 manager,
> >                 agent,
> >                 recTrigMsg,
> >                 trap_msg]},
> >   {applications, [kernel,stdlib]},
> >   {mod, {roamapp,[]}}]}.
> >
> > Thanking u
> >
> > suresh s
> >
> >
> >
> >
>
________________________________________________________________________
> > Missed your favourite TV serial last night? Try
> the new, Yahoo! TV.
> >        visit http://in.tv.yahoo.com
>  

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com



More information about the erlang-questions mailing list