bundling custom app with cean
Posted: 17 July 2007 04:03 AM   [ Ignore ]
Newbie
Rank
Total Posts:  23
Joined  2007-05-06

I am thinking abut the options of bundling a custom app with cean. The custom beams should be upgraded from a private server.

Is there a better way than just wrapping some cean commands with some detection for custom packages and then do a os:putenv with the custom url and after executing the command, reseting CEAN_SERVER to old value ?

regards
Roberto

Profile
 
 
Posted: 18 July 2007 03:27 PM   [ Ignore ]   [ # 1 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

i guess best is to patch cean.erl to make it able to force a server

example:
cean:install(package) uses the default cean server
cean:install({“my_corp”,package}) uses my_corp server

my_corp can be defined into start.sh as this
CEAN_SERVER_my_corp=“http://cean.my-server.com”

Profile