Dany, You want be able to compile Royale examples by FlexJS SDK. Yes you got the correct results, cause you did download FlexJS SDK by Moonshine downloader. However I would like to get back to your issue. I just got my mac and resolve it by different terminal command. I had to add to the mxmlc file permission.
If you go to the folder "*Downloads/apache-royale-jsonly-0.9.0-bin/js/bin/"* and give in the terminal access to the file mxmlc by command "*sudo chmod 755 mxmlc*" - You will be able to build Royale examples. - I will probably add this one to the instruction. I just tried with HelloWorld and it's working. Thanks for your patience, Piotr 2017-12-04 14:23 GMT+01:00 Dany Dhondt <[email protected]>: > Hi Piotr, > > I kept on getting acces denied errors so I decided to start from scratch > with the FlexJS SDK instead of the Royale SDK. > I used the Moonshine Helper app to get the SDK's and Ant. Went well. > Then I've reset Moonshine and tried to compile. This is the output: > > > Compiling NewFlexJSBrowserProject > : SDK path: /Users/dany/Downloads/MoonshineSDKs/FlexJS_SDK/ > FlexJS_0.8.0_AIR_25.0 > : Using Falcon codebase: /Users/dany/Downloads/MoonshineSDKs/FlexJS_SDK/ > FlexJS_0.8.0_AIR_25.0/js/bin/../.. > : Using Flex SDK: /Users/dany/Downloads/MoonshineSDKs/FlexJS_SDK/ > FlexJS_0.8.0_AIR_25.0/js/bin/../.. > : MXMLJSC > : +flexlib=/Users/dany/Downloads/MoonshineSDKs/ > FlexJS_SDK/FlexJS_0.8.0_AIR_25.0/js/bin/../../frameworks > : -js-output-type=FLEXJS > : -sdk-js-lib=/Users/dany/Downloads/MoonshineSDKs/ > FlexJS_SDK/FlexJS_0.8.0_AIR_25.0/js/bin/../../frameworks/ > js/FlexJS/generated-sources > : -load-config+=obj/NewFlexJSBrowserProjectConfig.xml > : -compiler.targets=JSRoyale > : WARNING: An illegal reflective access operation has occurred > : WARNING: Illegal reflective access by > com.google.common.base.internal.Finalizer > (file:/Users/dany/Downloads/MoonshineSDKs/FlexJS_SDK/ > FlexJS_0.8.0_AIR_25.0/js/lib/guava.jar) to field java.lang.Thread. > inheritableThreadLocals > : WARNING: Please consider reporting this to the maintainers of > com.google.common.base.internal.Finalizer > : WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > : WARNING: All illegal access operations will be denied in a future release > : WARNING: An illegal reflective access operation has occurred > : WARNING: Illegal reflective access by > com.google.common.base.internal.Finalizer > (file:/Users/dany/Downloads/MoonshineSDKs/FlexJS_SDK/ > FlexJS_0.8.0_AIR_25.0/js/lib/guava.jar) to field java.lang.Thread. > inheritableThreadLocals > : WARNING: Please consider reporting this to the maintainers of > com.google.common.base.internal.Finalizer > : WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > : WARNING: All illegal access operations will be denied in a future release > : /Users/dany/Downloads/Moonshine > workspace/HelloWorld/src/main/royale/HelloWorld.mxml(20): > col: 1 This tag could not be resolved to an ActionScript class. It will be > ignored. > : <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" > : ^ > : /Users/dany/Downloads/Moonshine > workspace/HelloWorld/src/main/royale/HelloWorld.mxml(20): > col: 1 This tag could not be resolved to an ActionScript class. It will be > ignored. > : <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" > : ^ > : 2.531043138 seconds > > At least, I get an output but no Hello World yet :) > > Thoughts? > > thx, Dany > > Op 4 dec 2017 om 13:17 uur uur schreef Piotr Zarzycki < > [email protected]>: > > Dany, > > I just consulted your issue with the Team and solution is a bit different. > If you download files through the browser they will be under sandbox > restriction on Mac. If you run into permission denied problem you will have > to manually change attributes for the files. Your case is that you don't > have access to js/bin/mxmlc. The safest way is to add for all files in that > folder permission. In order to do that user instruction in terminal: > > xattr -rc path_to_the_folder > > Remove attribute from specifica file: > > xattr -d com.apple.quarantine mxmlc > > Let me know if that helps. I'm sorry for the confusion. I'm not the Mac > power user. :) > > Thanks, Piotr > > > > > 2017-12-04 13:00 GMT+01:00 Piotr Zarzycki <[email protected]>: > > Dany, > > > As for your problem. If you are on Mac you have in Moonshine helper called > > "Access Manager" - It allow omit some restrictions. Once you open some > > project you can go to menu File -> Access Manager - and point there all > > paths. For example path to folder with downloaded SDK. > > > Thanks, Piotr > > > > 2017-12-04 12:41 GMT+01:00 Piotr Zarzycki <[email protected]>: > > > Dany, > > > I see on your screenshot that you are trying to use sources instead of > > binary distribution of Royale SDK. Can you download this one [1]. Once > > again go through the instruction for Moonshine and use examples from that > > package. > > > [1] http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs > > -jsonly/lastSuccessfulBuild/artifact/out/ > > > Thanks, Piotr > > > > 2017-12-04 12:30 GMT+01:00 Dany Dhondt <[email protected]>: > > > Hi Piotr, > > > I did what you said. > > SDK folder and project folder are in my downloads folder. > > When I try to compile I get this permission denied error [1] > > > When creating the project itself I got this console output [2] > > > thx, Dany > > > [1] http://www.archemedia.eu/royale/img2.png > > <http://www.archemedia.eu/royale/img3.png> > > > [2] http://www.archemedia.eu/royale/img3.png > > > > > Op 4 dec 2017 om 10:29 uur uur schreef Piotr Zarzycki < > > [email protected]>: > > > Hi Dany, > > > It should be recognized. Try to reset settings for Moonshine - Go to > > General -> Reset to Default. Moonshine should work with current version > > of > > Royale SDK. - Let me know whether reset helped. > > > In case of opening examples: You need to locate "Main source folder" [1] > > - > > This is the folder where Main file of application is located. If main > > file > > of application is located in "src" folder browse there. For example for > > HelloWorld example you need to point in that section folder > > "HelloWorld\src\main\royale\" > > > [1] https://github.com/apache/royale-asjs/wiki/Moonshine-IDE > > > Thanks, Piotr > > > > 2017-12-04 8:28 GMT+01:00 Dany Dhondt <[email protected]>: > > > Hi Piotr > > > > Thx for the help. I'm looking forward to version 1.7.0. > > > Also, MS doesn't recongnize the Royale SDK as valid [1], so it can't > > > activate code completion for as. Will this be fixed in the next version? > > > > As for the examples, how can I build them in Moonshine? None of the > > > examples has a mxml file in the src folder and Moonshine needs that. Do I > > > have to build them first? And if so, how? > > > > Should I rename this thread to 'Royale setup' or something similar? > > > > thx, > > > Dany > > > > [1] http://www.archemedia.eu/royale/img1.png > > > > > > Op 3 dec 2017 om 11:37 uur uur schreef Piotr Zarzycki < > > > [email protected]>: > > > > Hi Dany, > > > > Thanks for trying Moonshine! We will release 1.7.0 version in the next > > week > > > or so. You will have many useful things. Examples should be available in > > > the downloaded royale-asjs package or on our github [1]. If you will have > > > any problem with recognizing downloaded SDK in Moonshine you can download > > > binary package from following links [2] (js only version) [3] (js and swf > > > version). > > > > [1] https://github.com/apache/royale-asjs/tree/develop/examples/royale > > > [2] > > > http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonly/ > > > lastSuccessfulBuild/artifact/out/ > > > [3] > > > http://apacheflexbuild.cloudapp.net:8080/job/royale- > > > asjs/lastSuccessfulBuild/artifact/out/ > > > > Thanks, Piotr > > > > > 2017-12-03 10:33 GMT+01:00 Dany Dhondt <[email protected]>: > > > > Thanks Piotr, Harbs for your answers. > > > > > I decided to give it a shot during my spare time. > > > > I updated / installed everything I should (maven, node, jdk, …) and > > > > installed Moonshine IDE. I’ll try IntelliJ later because it’s more > > complex > > > > to configure I guess. > > > > > Also I installed royale-compiler, ..asjs and …typedefs through npm. > > > > > Since Moonshine at this point will only be able to start from an existing > > > > project, I’d like to know where to find ready-to-use example projects? > > > > > @harbs: it will be a multipage project! Does Royale support viewstacks? > > Or > > > > how multiple pages would be managed? > > > > > thx, > > > > Dany > > > > > > > > > Op 1 dec. 2017, om 12:47 heeft Piotr Zarzycki < > > [email protected] > > > > > > > > het volgende geschreven: > > > > > > > > > > Hi Dany, > > > > > > > > > > First of all this is wonderful news that you are considering Royale as > > > > one > > > > > of the technology to build your application. Answering to your > > questions > > > > (I > > > > > think others will shot you also with more thoughts) > > > > > > > > > > *- will Royale be production ready by february/march?* > > > > > Apache Royale team is consist with volunteers which in most cases not > > > > > working as a full time developers on framework. In that case it is hard > > > > to > > > > > answer whether we will be ready for the production. - I can say that in > > > > > some way we are now, but there are plenty of things to do to be more > > > > robust > > > > > and easy to use as Flex framework was. The more people and projects > > will > > > > be > > > > > built with Royale we will be better and better. > > > > > *- is it possible to easily integrate javascript only components into > > > > > Royale? Example: FullCalendar.js* > > > > > The answer is yes. As one of the bigger example is MaterialDesignLite > > [1] > > > > > module which is part of the Royale and this is actually integration of > > > > > existing MDL library. Additionally Harbs wrote awesome article how to > > use > > > > > existing JS library into the project [2] > > > > > -* could anyone provide an IntelliJ template to start with?* > > > > > I can provide you an old instruction how to use Intellij with FlexJS > > [3] > > > > - > > > > > I think instruction wasn't check with Royale yet. I can only tell that > > > > I'm > > > > > using intellij to develop Royale and previously use Intellij for > > > > > development of FlexJS applications itself. You can also work a bit IDE > > > > > agnostic using Maven to build your applications and Intellij can be > > used > > > > as > > > > > code assistance only. > > > > > You have also two actively developed IDE which supports Royale VSCode > > > > > [4][6] and Moonshine [5][7]. > > > > > *- I'll definitely need help during the development proces, will this > > be > > > > > available?* > > > > > I can say that definitely anyone who is active on that list and in this > > > > > project will give an hints and help in any kind of way! > > > > > > > > > > Remember that development list is an public one, so avoid to share some > > > > > confident information here, but rather by sending them directly to > > anyone > > > > > interested. > > > > > > > > > > Looking forward to more of your questions and answer from others! :) > > > > > > > > > > [1] > > > > > https://github.com/apache/royale-asjs/tree/develop/framework > > s/projects/ > > > > MaterialDesignLite > > > > > [2] > > > > > https://github.com/ok-at-github/flexjs-docs/wiki/ > > > > Adapting-HTML-CSS-JS-project > > > > > [3] > > > > > https://cwiki.apache.org/confluence/display/FLEX/Using+ > > > > FlexJS+with+IntelliJ+IDEA > > > > > [4] https://nextgenactionscript.com/ > > > > > [5] http://moonshine-ide.com/ > > > > > [6] https://github.com/apache/royale-asjs/wiki/Visual-Studio-Code > > > > > [7] https://github.com/apache/royale-asjs/wiki/Moonshine-IDE > > > > > > > > > > Thanks, Piotr > > > > > > > > > > > > > > > 2017-12-01 12:17 GMT+01:00 Dany Dhondt <[email protected]>: > > > > > > > > > >> Hi all, > > > > >> > > > > >> I'm working for the library department of a big University college in > > > > >> Belgium (+13k students). We have spent a year on making a concept for > > an > > > > >> institutional repository. > > > > >> Now, we're in the phase of making a tender for the backbone software > > > > which > > > > >> will handle storage, DOI's etc. High on our list is figshare [1]. We > > > > would > > > > >> use figshare as a repository backbone and build our own front end > > using > > > > >> figshare's api's. > > > > >> It will be my responsibility to develop, implement and maintain this > > > > front > > > > >> end. I think development will start around february/march 2018 and it > > > > will > > > > >> be up to me to choose a front end technology. So far, choices are > > > > Angular, > > > > >> React or Vue. Since I have quite some experience with Flex, I would > > > > like to > > > > >> add Royale to this list. > > > > >> I have been following the Flex/Royale dev lists very closely and I'm > > > > >> convinced of the quality of the product but: > > > > >> > > > > >> - will Royale be production ready by february/march? > > > > >> - is it possible to easily integrate javascript only components into > > > > >> Royale? Example: FullCalendar.js [2] > > > > >> - could anyone provide an IntelliJ template to start with? > > > > >> - I'll definitely need help during the development proces, will this > > be > > > > >> available? > > > > >> - and last but not least: is Royale the right choice? > > > > >> > > > > >> If it is convenient, I can provide a full front end wireframe (built > > in > > > > >> Adobe XD CC) although that should be treated as highly confidential > > > > >> > > > > >> There is much at stake here so please advise... > > > > >> > > > > >> thanks in advance > > > > >> > > > > >> Dany > > > > >> > > > > >> [1] https://figshare.com/services/institutions > > > > >> [2] https://fullcalendar.io > > > > >> > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Piotr Zarzycki > > > > > > > > > > Patreon: *https://www.patreon.com/piotrzarzycki > > > > > <https://www.patreon.com/piotrzarzycki>* > > > > > > > > -- > > > > Piotr Zarzycki > > > > Patreon: *https://www.patreon.com/piotrzarzycki > > > <https://www.patreon.com/piotrzarzycki>* > > > > > > > -- > > > Piotr Zarzycki > > > Patreon: *https://www.patreon.com/piotrzarzycki > > <https://www.patreon.com/piotrzarzycki>* > > > > > > -- > > > Piotr Zarzycki > > > Patreon: *https://www.patreon.com/piotrzarzycki > > <https://www.patreon.com/piotrzarzycki>* > > > > > > -- > > > Piotr Zarzycki > > > Patreon: *https://www.patreon.com/piotrzarzycki > > <https://www.patreon.com/piotrzarzycki>* > > > > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* > > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
