Julian Posted October 27, 2013 Share Posted October 27, 2013 You can download SpellJS at http://spelljs.com/download Release Notes for Version 0.9.1 Fixed BugsFixed Flash compiler on Mac OS X Fixed a bug that caused faulty removal of input listeners SPELLJS-1498 - Animated appearances playing = false malfunctions SPELLJS-1495 - Spell throws exception on entityTemplate with a children based on another template without a overloaded config SPELLJS-1499 - Adding multiple dependencies won't work on some special crafted templates SPELLJS-1494 - Adding a component should update all entity composite nodes/templates with this instanceNew FeaturesFully integrated the Android build option in the desktop version for Mac OS X, Linux & Windows There is now a new event available: eventManager.EVENT.DEVICE_ORIENTATION_CHANGED. You can register for it to detect device orientation changes. It will carry a string payload which will be one of the follow three values: 'portrait', 'landscapeRotatedRight', 'landscapeRotatedLeft' The entityManager.triggerEvent : function( entityId, eventId, eventArguments, timerInMs, timerCondition ) now has two additional optional parameter timerInMs & timerCondition which can be used to defer events. The SceneManager will automatically take care of removing all deferred events that didn't occur yet if you change a scene SpellCli is now doing a prerequisites check before it tries to trigger a build. We also added very verbose error messages if a requirement is not yet installed.Known issuesSpellEd will display the wrong error message "Cannot connect to Build-Server" if a build fails. The correct error message is currently not exposed to the frontend. To see the error message you have to run spellcli on the command line. To do an android debug build run: spellcli build android -d in your spell project directory. The spellcli tool can be found in /Applications/SpellJS.app/Contents/Frameworks/node-webkit\ Helper.app/Contents/spellCli/spellcli on OS X, or in C:\Program Files (x86)\SpellJS\spellCli\spellcli.exe on Windows or in spellCli/spellcli on Linux. The Show Result function does nothing at the moment if you trigger an android build from SpellEd. You can find the .apk file in build/debug/android in your project directory. You can only do release builds if you provide correct signing information in your project settings. If you upgraded SpellJS from a 0.8.x version to a 0.9.x version you need to manually delete your old spellConfig.json file and run SpellEd to create a new one. You can find the spellConfig.json file at /Users/YOURUSERNAME/Library/Application Support/SpellJS/spellConfig.json on OS X, C:\Users\YOURUSERNAME\AppData\Roaming\SpellJS\spellConfig.json on Windows and /home/YOURUSERNAME/.config/SpellJS/spellConfig.json on Linux The paths to the JDK and android-sdk are not auto-detected, you have to specify them yourself. To find out your JAVA_HOME path on OS X run/usr/libexec/java_homein the Terminal. On Windows chances are high that your JDK is installed in C:\Program Files (x86)\Java\jdk_xxx. Linux users please note: You need to use the Sun JDK (not OpenJDK) and download and extract it yourself. If you don't have a Sun JDK installed yet, you can download it from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html You also need to download the Android SDK from Google. You can find it at http://developer.android.com/sdk/index.htmlScroll down to Download for other platforms and download the SDK Tools Only bundle. You don't need the ADT bundle. After that you need to run the Android SDK Manager (as Administrator) on Windows or the android-sdk/tools/android tool on OS X or Linux. A note for OS X users: if you cannot run this tool, chances are high that GateKeeper is preventing you from launching this file. Go to your System Preferences Menu and open the Security Menu and allow the android tool to run. You need to install Android SDK Build-tools, Android SDK Platform-tools, and Android 4.0.3 (API15).If you're on a headless installation you can install these packages on the command line usingandroid update sdk -u -a --filter android-15,platform-tools,build-tools-18.1.1 You can download SpellJS at http://spelljs.com/download Quote Link to comment Share on other sites More sharing options...
Julian Posted October 28, 2013 Author Share Posted October 28, 2013 The error message [spellcli] Missing file C:\Program Files (x86)\SpellJS\spellCli\AndroidManifest.xsl means that the path to the spellAndroid directory is not correct. Either delete your spellConfig.json file and run SpellEd to create a new one (as described above) or manually correct the path. This is how my spellConfig.json looks like :{ "spellFlashPath": "../spellFlash", "spellCorePath": "../spellCore", "spellCliPath": "../spellCli", "spellAndroidPath": "../spellAndroid", "jdkPath": "/opt/jdk1.7.0_21", "androidSdkPath": "/opt/android-sdk", "workspacePath": "/home/julian/spellWorkspace"} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.