PiyushKhandelwal / myschedule

Automatically exported from code.google.com/p/myschedule
0 stars 0 forks source link

Make AppConfig configurable by a Properties file #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently user can not customize settings for MySchedule by config file on 
things such as the configs storage directory, or use different storage 
implementation all together.

Original issue reported on code.google.com by saltnlight5 on 18 Nov 2011 at 8:01

GoogleCodeExporter commented 9 years ago

Original comment by saltnlight5 on 18 Nov 2011 at 8:02

GoogleCodeExporter commented 9 years ago
We will need to swap a different config storage impl in order to be able to 
deploy into cloud platform such as Heroku. They don't let you write to disk.

Original comment by saltnlight5 on 18 Nov 2011 at 8:07

GoogleCodeExporter commented 9 years ago
This feature will only go into 2.4.0 release.

Original comment by saltnlight5 on 19 Nov 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Done on bfc788867bf2

You may now start myschedule.war with any config using sys props:

-Dmyschedule.config=classpath:myschedule/myschedule-config.mem.properties

You may also use any other URL protocol such as file:// or http:// or just 
relative file location in local file system 

Original comment by saltnlight5 on 19 Nov 2011 at 5:31

GoogleCodeExporter commented 9 years ago

Original comment by saltnlight5 on 20 Nov 2011 at 2:36