Moonshine IDE is a free IDE built with Adobe AIR. You can create ActionScript 3, Apache Flex®, Apache Royale® and Feathers projects from Moonshine-IDE. It also provides cloud support.
We want to provide a free IDE to our community for ActionScript projects. An IDE which is cross platform and provides Apache Flex®, Apache Royale®, Feathers and cloud support.
To build Moonshine IDE you need to install Apache Ant. You can also install Apache Ant using npm, chocolatey, etc.
To build Moonshine IDE you need to download:
If you've used Moonshine IDE before and already downloaded these SDKs with Moonshine SDK Installer you can use existing SDKs. By default they're installed in:
C:\MoonshineSDKs\Flex_SDK\Flex_xxx_AIR_xxx
on Windows/Users/$username/Downloads/MoonshineSDKs
on Mac
To build Moonshine IDE you also need Moonshine SDK Installer source code. You can clone Moonshine SDK Installer from: https://github.com/prominic/Moonshine-SDK-Installer.git
.
You should place SDK Installer repository on the same level as Moonshine IDE. So if you have Moonshine IDE in C:\Repos\Moonshine-IDE
you should have SDK Installer in C:\Repos\Moonshine-SDK-Installer
.
These projects are also required:
- Visual Editor (documentation)
- VisualEditorConverterLib - required to build
- MockupVisualEditor - required to build
- Text Editor:
- moonshine-feathersui-text-editor
- Language server integration: moonshine-openfl-language-client
- Debugger: moonshine-openfl-debug-adapter-client
In Moonshine-IDE\ide\MoonshineDESKTOPevolved\build\ApplicationProperties.xml
change:
-
Build version to something newer than already installed eg.
<buildVersion><![CDATA[2.7.0]]></buildVersion>
-
If you have FLEX_HOME set up as environment variable you can skip this step. If not, set one of the following parameters:
On Windows 32-bit:
<winSDKPath><![CDATA[C:\MoonshineSDKs\Flex_SDK\Flex_xxx_AIR_xxx]]></winSDKPath>
On Windows 64-bit:
<winSDKPath64><![CDATA[C:\MoonshineSDKs\Flex_SDK\Flex_xxx_AIR_xxx]]></winSDKPath64>
On Mac and Linux:
<unixSDKPath><![CDATA[path/to/Flex_xxx_AIR_xxx]]></unixSDKPath>
In Moonshine-IDE\ide\MoonshineDESKTOPevolved\src\MoonshineDESKTOP-app.xml
-
By default Moonshine IDE builds with AIR 28.0. If you've installed newer version of AIR SDK on your environment (eg. 32.0) change this parameter accordingly:
<application xmlns="http://ns.adobe.com/air/application/32.0">
If you need to recompile language server, build and deploy codecompletion.jar. If not, you can skip this step.
cd language-server-wrappers/moonshine-as3mxml
ant deploy
To build the application itself, use these commands:
cd ide/MoonshineDESKTOPevolved/build
ant
Find the generated artifacts in ide/MoonshineDESKTOPevolved/build/DEPLOY
To compile the SWF for the web version of Moonshine-IDE, run:
cd ide/MoonshineWEBevolved/build
ant
Find the generated artifacts in ide/MoonshineWEBevolved/build/DEPLOY
NOTE: this part of the project is out of date. The server-side logic needs to be updated before the source can be released.
Moonshine-IDE is licensed under the Apache License 2.0 - see the LICENSE.md file for details