Can’t we just add another tag to flex-sdk-description.xml?  Like
<flexjs>true</flexjs>?

-Alex

On 9/9/15, 3:32 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:

>Hi,
>
>The IntelliJ Flex Plugin makes decisions based on the
>air-sdk-description.xml / flex-sdk-description.xml <version> tag.
>At the moment, Flex and FlexJS share the same version and the xml files
>containing that info have the same name: flex-sdk-description.xml
>
>I need to be able to differentiate easily and early what kind of SDK the
>module (project in Eclipse terminology) is using as dependency.
>
>I wonder what are the solutions, here some I was thinking about:
>
>1- Rename flex-sdk-description.xml to flexjs-sdk-description.xml and set
>to true a new SDK property.
>
>A bit of work in IJ but not sure it won't break other IDEs.
>
>2- In IntelliJ only, set to true a new SDK property whenever I detect
>some hard coded dependencies specific to FlexJS.
>
>I don't like much to rely on hard-coded things like that generally though
>but there will be nothing to do at SDK level except keep this dependency
>name.
>
>3- Change the version number from 4.x.x to 5.x.x
>
>The easiest for IJ, it is already how things work, comparing the version
>numbers but once again, not sure it won't break other IDEs.
>
>Any thoughts ?
>
>Thanks,
>Frédéric THOMAS                                          

Reply via email to