You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (Jira)" <ji...@apache.org> on 2020/02/20 19:16:00 UTC

[jira] [Commented] (FC-276) Correct ant config processing of conditionals like enable ssl or rbac accelerator

    [ https://issues.apache.org/jira/browse/FC-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041250#comment-17041250 ] 

Shawn McKinney commented on FC-276:
-----------------------------------

For further details on conditional ant syntax:

https://ant.apache.org/manual/properties.html#if+unless

> Correct ant config processing of conditionals like enable ssl or rbac accelerator
> ---------------------------------------------------------------------------------
>
>                 Key: FC-276
>                 URL: https://issues.apache.org/jira/browse/FC-276
>             Project: FORTRESS
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>            Reporter: Shawn McKinney
>            Assignee: Shawn McKinney
>            Priority: Major
>             Fix For: 3.0.0-RC1
>
>
> This problem came up working on rbac accelerator enablement / disablement.  The conditional:
>  
> <target name="enable-rbac-accelerator" depends="init" if="rbac.accelerator">
>  
> This target would execute if this variable was set in the .properties file:
> rbac.accelerator=anything
>  
> Correct to only fire when condition is true:
> <target name="enable-rbac-accelerator" depends="init" if="${rbac.accelerator}">
> rbac.accelerator=true
>  
> Also made same change for enable.ssl
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org