Hi Piotr,

I found the answer from Apache Royale Github page at the "Additional
Prerequisites For SWF Output" section.

Just sharing a little bit my experience using Royale at the first time, I
am a self taught developer came from designer background, I used to use
Adobe products that came with friendly user interface to create and output
projects, setting up a project like this is quite a challenge to developers
like me, anyway, I am learning it now. Even today we use any of the JS
frameworks out there in the market such as VueJS, ReactJS and etc. are
having the same challenge to install and setup via npm, webpack and etc.. I
find it more difficult to get started from Apache Royale compare to others
is that there are not enough documentation and user guide available,
initially I tried to setup using Moonshine IDE, but I didn't manage to get
it work, when I Google search I found Josh's video at FlexJS conference,
finally I mange to get my project setup from Josh's video.

I have tried Apache Royale, it's really great! I just can't wait to use it,
but I can't move on from this point because there is no sufficient
documentation to guide me to go further, and found that there are still
many bugs (It's okay, we understand). There is a lots of great stuff in
Apache Royale, but the treasure is hidden, not many people are able to find
it as there is no sufficient documentation and example page to bring it
out. Just my opinion, I feel that the documentation is really an important
one to get more people to try Apache Royale especially for the Get Started
section, creating some simple apps to let people to get stuck and addicted
with Apache Royale, it will also help to get more people not only to try
out but also to be interested to contribute to the platform and build up
the ecosystem.

Beside that, I am using IntelliJ Idea, is there anyway to use Royale in
IntelliJ?

I hope my above sharing is constructive to you guys.


- Joel





On Sun, Apr 1, 2018 at 11:00 PM, Piotr Zarzycki <[email protected]>
wrote:

> Joel,
>
> Can you share how did you fix the issue ?
>
> Carlos,
>
> I see following repeating issue. Someone downloading JS, SWF version of
> Royale - Creating Hello World and getting error as Joel. SWF version needs
> additional dependency - playerglobal.swc to work. - That is information
> which should be on Download page I think.
>
> Thanks,
> Piotr
>
> 2018-04-01 16:55 GMT+02:00 Carlos Rovira <[email protected]>:
>
> > Hi Piotr,
> >
> > reading the thread, but doesn't understand but is not ok with
> instructions.
> > My understanding is that if SDK needs something more that would be inside
> > SDK, but download instructions are only to download...in the other hand,
> > Joel reports that its a false alarm. Please explain and propose what
> needs
> > to be covered in order to see if we need to change something
> >
> > thanks!
> >
> >
> >
> > 2018-04-01 12:32 GMT+02:00 Piotr Zarzycki <[email protected]>:
> >
> > > Joel,
> > >
> > > I'm glad that it's working. :)
> > >
> > > Team,
> > >
> > > It looks like our instruction in case of SWF version is not enough
> > > transparent. We need to thing to have such instructions straight on the
> > > download page of Royale.
> > >
> > > Thoughts ?
> > >
> > > Thanks,
> > > Piotr
> > >
> > > 2018-04-01 12:14 GMT+02:00 Joel Tan <[email protected]>:
> > >
> > > > Hi Piotr,
> > > >
> > > > Please ignore my previous email, it works perfect now for the swf-js
> > > > version!
> > > >
> > > > Thanks!
> > > >
> > > > Joel
> > > >
> > > > On Sun, Apr 1, 2018 at 5:58 PM, Joel Tan <[email protected]>
> wrote:
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > Thank you for your reply. I have tried to download the js-only SDK,
> > and
> > > > it
> > > > > works! But still can't get the swf-js SDK, I don't understand what
> > you
> > > > mean
> > > > > putting the playerglobal in the folder which is in the stacktrace?
> > Can
> > > > you
> > > > > provide an example of the folder path?
> > > > >
> > > > > Thanks again!
> > > > >
> > > > > Joel
> > > > >
> > > > > On Sun, Apr 1, 2018 at 3:37 PM, Piotr Zarzycki <
> > > > [email protected]>
> > > > > wrote:
> > > > >
> > > > >> Hi Joel,
> > > > >>
> > > > >> Great that you are trying! Because you are using swf,js version of
> > > > >> framework you simply need to download dependencies. In that case
> > > > >> playerglobal.swc.
> > > > >>
> > > > >> Put playerglobal in the folder which is in the stacktrace.
> > > > >>
> > > > >> If you don't need to build your app to swf download JS only
> version.
> > > > >>
> > > > >> Thanks,
> > > > >> Piotr
> > > > >>
> > > > >> On Sun, Apr 1, 2018, 06:43 Joel Tan <[email protected]> wrote:
> > > > >>
> > > > >> > Hello All,
> > > > >> >
> > > > >> > This is my first time trying to setup Apache Royale project, I
> am
> > > > using
> > > > >> > Visual Studio Code and follow all the instructions given. I got
> > the
> > > > >> > following errors, not sure what was wrong, can anyone advice?
> > > > >> >
> > > > >> > The SDK I am using: *apache-royale-0.9.3-bin-js-swf.tar.gz*
> > > > >> >
> > > > >> >
> > > > >> > Compilation Error:
> > > > >> >
> > > > >> > ------------------------------------------------------------
> > > > >> ------------------------------------------------------------
> > > -----------
> > > > >> > > Executing task: asconfigc --debug=true
> > > > >> > --flexHome=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3 <
> > > > >> >
> > > > >> > MXMLJSC
> > > > >> >
> > > > >> > +royalelib=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/
> > > > >> royale-asjs/frameworks
> > > > >> > --debug=true
> > > > >> > --source-map=false
> > > > >> > --targets=JSRoyale
> > > > >> > src/HelloRoyale.mxml
> > > > >> >
> > > > >> > /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/royale-config.xml(74):
> > > > >> > col: 0 Error: unable to open
> > > > >> >
> > > > >> > '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/libs/player/11.7/playerglobal.swc'.
> > > > >> >
> > > > >> > /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/royale-config.xml
> > > > >> > (line: 74)
> > > > >> >
> > > > >> >       </external-library-path>
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/royale-config.xml(98):
> > > > >> > col: 0 Error: unable to open
> > > > >> >
> > > > >> > '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/libs/player/11.7'.
> > > > >> >
> > > > >> > /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/royale-config.xml
> > > > >> > (line: 98)
> > > > >> >
> > > > >> >       </library-path>
> > > > >> >
> > > > >> >
> > > > >> > 1.027796141 seconds
> > > > >> > The terminal process terminated with exit code: 5
> > > > >> >
> > > > >> > Terminal will be reused by tasks, press any key to close it.
> > > > >> >
> > > > >> > ------------------------------------------------------------
> > > > >> ------------------------------------------------------------
> > > -----------
> > > > >> > Error: unable to open
> > > > >> >
> > > > >> > '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/libs/player/11.7/playerglobal.swc'.
> > > > >> > Error: unable to open
> > > > >> >
> > > > >> > '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/
> > > > >> frameworks/libs/player/11.7'.
> > > > >> >
> > > > >> > tasks.json:
> > > > >> > The property isShellCommand is deprecated. Use the type property
> > of
> > > > the
> > > > >> > task and the shell property in the options instead. See also the
> > > 1.14
> > > > >> > release notes.
> > > > >> > The property showOutput is deprecated. Use the reveal property
> > > inside
> > > > >> the
> > > > >> > presentation property instead. See also the 1.14 release notes.
> > > > >> >
> > > > >> > ------------------------------------------------------------
> > > > >> ------------------------------------------------------------
> > > -----------
> > > > >> > tasks.json file content:
> > > > >> >
> > > > >> > {
> > > > >> > "version": "2.0.0",
> > > > >> > "command": "asconfigc",
> > > > >> > "isShellCommand": true,
> > > > >> > "args": [
> > > > >> > "--debug=true",
> > > > >> > "--flexHome=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3"
> > > > >> > ],
> > > > >> > "showOutput": "always",
> > > > >> > "problemMatchers": [
> > > > >> > "$royale"
> > > > >> > ]
> > > > >> > }
> > > > >> >
> > > > >> >
> > > > >> > ------------------------------------------------------------
> > > > >> ------------------------------------------------------------
> > > -----------
> > > > >> > asconfig.json file content:
> > > > >> >
> > > > >> > {
> > > > >> > "compilerOptions": {
> > > > >> > "source-map": false,
> > > > >> >      "targets": [
> > > > >> >          "JSRoyale"
> > > > >> >      ]
> > > > >> > },
> > > > >> > "files": [
> > > > >> >      "src/HelloRoyale.mxml"
> > > > >> > ]
> > > > >> > }
> > > > >> >
> > > > >> >
> > > > >> > ------------------------------------------------------------
> > > > >> ------------------------------------------------------------
> > > -----------
> > > > >> >
> > > > >> > It also appeared this error message in Visual Studio Code:
> > > > >> > *Could not locate valid Java executable. To configure Java
> > manually,
> > > > use
> > > > >> > the nextgenas.java setting.*
> > > > >> >
> > > > >> > What is the value for { "nextgenas.java": "???????" }, can show
> an
> > > > >> example?
> > > > >> >
> > > > >> > Thank you!
> > > > >> >
> > > > >> >
> > > > >> > Joel
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>

Reply via email to