SourceForge: erlangweb/erlangweb: changeset 238:063aaa724b8d
last changes before 1.3rc1 eptic-1.3
authormichal.ptaszek
Mon Apr 27 15:33:09 2009 +0200 (7 months ago)
brancheptic-1.3
changeset 238063aaa724b8d
parent 2371643b473570e
child 239ad5a3ba97850
last changes before 1.3rc1
INSTALL
bin/compile.erl
bin/start.erl
lib/eptic-1.3/ebin/eptic.app
lib/eptic_fe-1.0/ebin/eptic_fe.app
lib/wpart-1.3/ebin/wpart.app
lib/wparts-1.3/ebin/wparts.app
     1.1 --- a/INSTALL	Mon Apr 27 12:54:59 2009 +0200
     1.2 +++ b/INSTALL	Mon Apr 27 15:33:09 2009 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4 -ErlangWeb 1.2 Installation Guide
     1.5 +ErlangWeb 1.3RC1 Installation Guide
     1.6  ================================
     1.7  
     1.8  1. Requirements
     1.9  -Erlang/OTP R12B-5 or later
    1.10 --Yaws 1.73 or later (included in the package)
    1.11 +-Yaws 1.80 or later (included in the package)
    1.12  
    1.13  2. Start
    1.14  To start working with ErlangWeb you should compile the three main applications:
    1.15 @@ -11,7 +11,7 @@
    1.16         bin/compile.erl
    1.17  in the root directory of the framework.
    1.18  You will also need one of the supported HTTP servers. To make your life easier,
    1.19 -Yaws server is included in version 1.73 together with pre-compiled beams.
    1.20 +Yaws server is included in version 1.80 together with pre-compiled beams.
    1.21  
    1.22  After that you can either use generic directory builder:
    1.23        bin/start.erl
    1.24 @@ -24,5 +24,5 @@
    1.25      http://localhost:8080/
    1.26  
    1.27  3. Details
    1.28 -More details can be found in doc/tutorial.pdf file.
    1.29 +More details can be found on http://wiki.erlang-web.org/
    1.30  
     2.1 --- a/bin/compile.erl	Mon Apr 27 12:54:59 2009 +0200
     2.2 +++ b/bin/compile.erl	Mon Apr 27 15:33:09 2009 +0200
     2.3 @@ -75,7 +75,10 @@
     2.4  			       [Name | _] = string:tokens(AppName, "-"),
     2.5  			       list_to_atom(Name)
     2.6  		       end, Dir),
     2.7 -    [application:load(App) || App <- ToLoad],
     2.8 +    [application:load(App) || App <- if 
     2.9 +					 Server == inets -> [inets | ToLoad];
    2.10 +					 true -> ToLoad
    2.11 +				     end],
    2.12      
    2.13      Loaded = lists:map(fun({Name, _, Vsn}) ->
    2.14  			       {Name, Vsn}
     3.1 --- a/bin/start.erl	Mon Apr 27 12:54:59 2009 +0200
     3.2 +++ b/bin/start.erl	Mon Apr 27 15:33:09 2009 +0200
     3.3 @@ -521,6 +521,15 @@
     3.4  	false ->
     3.5  	    file:copy(code:priv_dir(eptic) ++ "/inets.conf", InetsConfig),
     3.6  	    confirm_created(InetsConfig)
     3.7 +    end,
     3.8 +    
     3.9 +    ErrorsConfig = "config/errors_description.conf",
    3.10 +    case filelib:is_file(ErrorsConfig) of
    3.11 +	true ->
    3.12 +	    inform_exists(ErrorsConfig);
    3.13 +	false ->
    3.14 +	    file:copy(code:priv_dir(eptic) ++ "/errors.conf", ErrorsConfig),
    3.15 +	    confirm_created(ErrorsConfig)
    3.16      end.
    3.17  
    3.18  create_sys_config_file(yaws) ->
     4.1 --- a/lib/eptic-1.3/ebin/eptic.app	Mon Apr 27 12:54:59 2009 +0200
     4.2 +++ b/lib/eptic-1.3/ebin/eptic.app	Mon Apr 27 15:33:09 2009 +0200
     4.3 @@ -1,6 +1,6 @@
     4.4  {application, eptic, [
     4.5  	{description, "Eptic Erlang Web application"},
     4.6 -	{vsn, "1.3RC1"},
     4.7 +	{vsn, "1.3"},
     4.8  	{modules, [e_cache,e_cluster,e_conf,e_error,
     4.9  		e_db_couchdb,e_db,e_db_mnesia,
    4.10  		e_dict,e_dispatcher,e_file,e_json,e_lang,
     5.1 --- a/lib/eptic_fe-1.0/ebin/eptic_fe.app	Mon Apr 27 12:54:59 2009 +0200
     5.2 +++ b/lib/eptic_fe-1.0/ebin/eptic_fe.app	Mon Apr 27 15:33:09 2009 +0200
     5.3 @@ -4,7 +4,7 @@
     5.4  %%% ===================================================================
     5.5  {application, eptic_fe,
     5.6   [{description, "Frontend Erlang Web application"},
     5.7 -  {vsn, "1.0RC1"},
     5.8 +  {vsn, "1.0"},
     5.9    {modules, [eptic_fe,e_fe_cache,e_fe_gc,e_fe_proxy,e_fe_mod_yaws,e_fe_mod_inets,e_fe_mod_gen,e_fe_cluster]},
    5.10    {registered,[]},
    5.11    {env,[]},
     6.1 --- a/lib/wpart-1.3/ebin/wpart.app	Mon Apr 27 12:54:59 2009 +0200
     6.2 +++ b/lib/wpart-1.3/ebin/wpart.app	Mon Apr 27 15:33:09 2009 +0200
     6.3 @@ -1,6 +1,6 @@
     6.4  {application, wpart, [
     6.5  	{description, "Wpart"},
     6.6 -	{vsn, "1.3RC1"},
     6.7 +	{vsn, "1.3"},
     6.8  	{modules, [wpart_app,wpart_db,wpart,wpartlib,wpart_gen,
     6.9  		   wpart_master,wpart_valid,wpart_xs,wtpl,wtype,utf8,
    6.10  		   utf8_api,wpart_utils,validate_tool,wpart_cache]},
     7.1 --- a/lib/wparts-1.3/ebin/wparts.app	Mon Apr 27 12:54:59 2009 +0200
     7.2 +++ b/lib/wparts-1.3/ebin/wparts.app	Mon Apr 27 15:33:09 2009 +0200
     7.3 @@ -1,6 +1,6 @@
     7.4  {application, wparts,
     7.5   [{description, "Wpart Components"},
     7.6 -  {vsn, "1.3RC1"},
     7.7 +  {vsn, "1.3"},
     7.8    {modules, [wpart_autocomplete,wpart_bool,wpart_choose,wpart_csv,wpart_date,wpart_datetime,wpart_derived,wpart_enum,wpart_form,wpart_include,wpart_input,wpart_integer,wpart_lang,wpart_list,wpart_lookup,wpart_multilist,wpart_password,wpart_string,wpart_text,wpart_time,wpart_upload,wtype_autocomplete,wtype_bool,wtype_csv,wtype_date,wtype_datetime,wtype_enum,wtype_html,wtype_integer,wtype_multilist,wtype_password,wtype_string,wtype_term,wtype_text,wtype_time,wtype_upload,wpart_float,wtype_float,wpart_paginate,wtype_atom,wpart_atom,wpart_collection,wtype_collection]},
     7.9    {registered,[]},
    7.10    {env,[]},