How do I hide a component on certain platforms or not pack it at all?

Answered

Comments

1 comment

  • Avatar
    juanjo

    The <shouldPackRuleList> should not throw any errors but it was not exactly correct. You should use:

    <component>
       ...
       <shouldPackRuleList>
         <compareText text="${platform_name}" logic="equals" value="osx"/>
       </shouldPackRuleList>
       ...
    </component>
    

Please sign in to leave a comment.