Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  edoc does not find my application

flodis
Posted: Wed Sep 15, 2010 3:58 pm Reply with quote
User Joined: 09 Jul 2008 Posts: 27
I have this nice application named ae.account_server_app.

My application structure is simple

EMakefile
ebin
ebin/ae
src
src/ae
src/ae/account_server_app.erl
src/ae/ account_server_sup.erl
src/ae/account_server.erl
src/ae/mnesia_account.erl

From the application directory I launch
erl -pa ebin

I can without problem start the application using
application:start(ae.account_server_app).

I recently added some edoc tags but when I run edoc it throws me an error:
edoc:application(ae.account_server_app).
edoc: cannot find application directory for 'ae.account_server_app'.
** exception exit: error
in function edoc:application/2

I been trying to make this for for about one hour with limited success, by using the edoc:packages/2 I got edoc to find my ae package in the server, it also manages to generate documentation for all the modules in the package but it fails to link it in the auto generated index.html.

Any ideas?
View user's profile Send private message
flodis
Posted: Thu Sep 16, 2010 9:02 am Reply with quote
User Joined: 09 Jul 2008 Posts: 27
I just found out myself.
It seems I have to call edoc:application/3 to make it work, otherwise it would just throw me that error.

edoc:application(ae.account_server_app, ".", []).
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum