You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2017/05/09 09:06:57 UTC
deltaspike git commit: DELTASPIKE-1253 add new features to our
documentation
Repository: deltaspike
Updated Branches:
refs/heads/master 270f3d0bb -> e7fce70c2
DELTASPIKE-1253 add new features to our documentation
Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/e7fce70c
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/e7fce70c
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/e7fce70c
Branch: refs/heads/master
Commit: e7fce70c2d70ed3825119d6852110ef0dc8f4ad9
Parents: 270f3d0
Author: Mark Struberg <st...@apache.org>
Authored: Tue May 9 11:05:58 2017 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Tue May 9 11:05:58 2017 +0200
----------------------------------------------------------------------
documentation/src/main/asciidoc/configuration.adoc | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e7fce70c/documentation/src/main/asciidoc/configuration.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/configuration.adoc b/documentation/src/main/asciidoc/configuration.adoc
index 688f944..15a7473 100644
--- a/documentation/src/main/asciidoc/configuration.adoc
+++ b/documentation/src/main/asciidoc/configuration.adoc
@@ -529,6 +529,9 @@ For registering all your own property files of a certain name in your
classpath to get picked up as ConfigSources you can also provide a
class which implements the `PropertyFileConfig` interface.
+If `getPropertyFileName()` returns an URL, e.g. `file:///var/opt/myapp/my.properties"` then this will be used to pick up the configured values.
+In other words: with using `file://` you can specify a file on the file system.
+
The method `isOptional` indicates whether your custom property file is mandatory.
If a mandatory property file is not found during deployment, DeltaSpike throws
an `IllegalStateException` and stops the deployment.