maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MRESOURCES-54) Define Default values
Date Mon, 02 Mar 2009 23:32:12 GMT

     [ 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

       

Mime
View raw message