Is it possible to remove unsupported platforms from build platforms list so if user runs build with no settings only supported paltforms will be packaged.

asked 17 May '12, 04:52

NicoleH's gravatar image

accept rate: 50%

You could use the below code in your <preBuildActionList> (in the example, just Linux and Windows are supported):

    <throwError text="Unsupported platform ${platform_name}: Only linux and windows are allowed">
                 <compareText text="${platform_name}" logic="does_not_equal" value="linux"/>
                 <compareText text="${platform_name}" logic="does_not_equal" value="windows"/>

answered 17 May '12, 05:06

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 17 May '12, 04:52

Seen: 1,033 times

Last updated: 17 May '12, 05:06