[
https://jira.codehaus.org/browse/ARCHETYPE-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed ARCHETYPE-367.
------------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> boolean requiredProperty used in archetype ressource doesn't work as expected
> -----------------------------------------------------------------------------
>
> Key: ARCHETYPE-367
> URL: https://jira.codehaus.org/browse/ARCHETYPE-367
> Project: Maven Archetype
> Issue Type: Bug
> Components: Archetypes
> Affects Versions: 2.0
> Reporter: Björn Mahler
> Priority: Minor
>
> I created a custom Property like ${isCXF} to enable cxf-functionality in our
> archetype. In a resource file (web.xml) I've something like this:
> #if($isCXF)
> <!-- CXF SOAP servlet -->
> <servlet>
> [...]
> #end
> and this doesn't work. isCXF is always true! and the code in the if-block is
> always rendered consequently. So I modified it to: ($isCXF == true). And that
> worked, but it's more verbose and error-prone.
> maybe the Object generated for the variable doesn't overwrite toString
> correctly?
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)