You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2009/03/03 00:32:12 UTC
[jira] Closed: (MRESOURCES-54) Define Default values
[ http://jira.codehaus.org/browse/MRESOURCES-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MRESOURCES-54.
----------------------------------
Resolution: Not A Bug
why not using pom properties as default value ??
The others as defined [here|http://maven.apache.org/shared/maven-filtering/] will win if defined and fallback if not found to pom.properties
> Define Default values
> ---------------------
>
> Key: MRESOURCES-54
> URL: http://jira.codehaus.org/browse/MRESOURCES-54
> Project: Maven 2.x Resources Plugin
> Issue Type: New Feature
> Reporter: Andreas Höhmann
>
> i want define a application.properties in /src/main/resources like this:
> application.debug.enabled=${application.debug:true}
> the filter should use the default-value if the property can not found ... so there two possible results:
> a) application.debug.enabled=true (missing property "application.debug")
> b) application.debug.enabled=false (property "application.debug" was set to false)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira