This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Version of the configuration artifact

Jan 29th, 2010, 05:09 PM

How the version of configuration artifact is defined?

In the documentation I saw examples of the plan files where the version of configuration artifact is specified, so I thought that the server somehow should be able to determine the version of the actual artifact. But how?

Obviously the "myconfig.properties" file cannot contain the manifest like a bundle, and the documentation says that the name of the artifact is the file name minus ".properties". I tried to put the version in the name, it did not work.

There is currently no way to encode the version of a properties artifact in the name or content of the file. Neither is there a simple way to add a properties file to a repository with a version other than zero, although you can do it programmatically.