Skip to content

Conversation

@peteshand
Copy link

No description provided.

@SlavaRa
Copy link

SlavaRa commented Mar 3, 2018

@peteshand It isn't works as is, but don't worry :)
@jgranick Hi, Can you update https://gist.github.com/1763850 for AIR target or can you give new link to a full description of the project file?

@peteshand
Copy link
Author

What error are you getting?

@SlavaRa
Copy link

SlavaRa commented Mar 3, 2018

Building OpenFLTestProject
Running Pre-Build Command Line...
cmd: "C:\HaxeToolkit_3.4.7\haxe/haxelib" run lime build "project.xml" air -release -Dfdb
�[31;1mError:�[0m �[1mYou must define AIR_SDK with the path to your AIR SDK�[0m
Build halted with errors.
Done(1)

@peteshand
Copy link
Author

Ar yes, good point. I've added the following line to the openfl project.xml template.

This will still require the end user to have AIR_SDK set in their system path

<!-- optimize output
<haxeflag name="-dce full" /> -->

<define name="AIR_SDK" value="${AIR_SDK}"></define>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<!-- Support for Adobe AIR: http://community.openfl.org/t/official-support-for-adobe-air/9468 -->
<!--<define name="AIR_SDK" value="path/to/your/air/sdk" if="air" /> -->

I think that true way is edit ~/.lime/config.xml and add the following:
<set name="AIR_SDK" value="path/to/your/air/sdk" />

SlavaRa pushed a commit to SlavaRa/flashdevelop that referenced this pull request Jun 11, 2018
@SlavaRa SlavaRa closed this in 6604674 Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants