parse error in using make_script

Suresh S sureshsaragadam@REDACTED
Thu Dec 26 05:41:04 CET 2002


Hi Ulff,

this point which i neglected seams to be simple issue,
but very important point i mistakenly did 
Even after going through OTP Relaese Handling Tutorial


thanking u

suresh 

--- Wiger Ulf <ulf.wiger@REDACTED> wrote: > 
> 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.erl,
> >                 inroam_trigger.erl,
> >                 timefun.erl,
> >                 importdata.erl,
> >                 roamapp.erl]},
> >   {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