Configuration Properties Screencast |

In Rob's dm Server Roadmap blog entry, last April, we introduced two new artefact types: “plan” and “configuration file”.
Here is a short screencast demonstrating configuration files, in particular we show how to reference them from a plan.
First, a small web application picks up properties from a configuration properties file—deployed separately from the application. Second, the application and the properties are placed in the repository and a plan is constructed and deployed which installs and starts both the web application and its properties in one step.
Configuration Properties (5:59)
- QuickTime Screencast (42.9 MB)
Source Code
The repository configuration-properties in the samples project contains all the code shown in the demonstration.
Git – git://git.springsource.org/dm-server-samples/configuration-properties.git
Similar Posts
- dm Admin Console Demo Screencast
- Slices Menu Bar Screencast
- dm Server 2.0.0.M5
- dm Server 2.0 M4
- The dm Shell




Marc says:
Added on September 11th, 2009 at 9:32 amNice, I'd love to see a versioning feature of the hot deployed properties file. As far as I can see the properties definition in the plan specifies any version (version="0").
spowell (blog author) says:
Added on September 11th, 2009 at 11:37 am@Marc, this would indeed be nice. Since the artefact meta-data is discovered (when dropping the properties file into pickup or into the watched repository) at present the version defaults to zero. There is no standard unintrusive place to put meta-data in the properties file at the moment. There is no reason why more detailed meta-data (including version information) cannot be associated with the artefact when being placed in a repository programmatically, and publish and retract interfaces are under discussion.
Extensions to artefact references in plans are being designed as we type and we should see some further possibilities soon. If you have good ideas in this area, we would be delighted to hear your contributions.
jack says:
Added on September 12th, 2009 at 5:06 amVery informative post. Thanks for the Configuration Properties Screencast.
ccna practice exams