Getting started is not so easy..

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting started is not so easy..

coxfrederic
Hi,

After going through a though process the past hours I am stuck with Apache Royale.
I first tried getting it to work in VSCode but got the error:

/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/src/HelloRoyale.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"

^


So then I decided to give it a try through Flash Builder 4.7. After finally being able to get it running (updating Java 8 etc..) I am getting the same error when building:


Using Royale Compiler codebase: /Users/frederic/ApacheFlex/sdk/apache-royale-0.9.0-bin/royale-asjs/js/bin/../..

Using Royale SDK: /Users/frederic/ApacheFlex/sdk/apache-royale-0.9.0-bin/royale-asjs/js/bin/../..

MXMLJSC

+royalelib=/Users/frederic/ApacheFlex/sdk/apache-royale-0.9.0-bin/royale-asjs/js/bin/../../frameworks

-js-output-type=jsc

+configname=js

-debug=true

-fb

/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale

using FlashBuilder Project Files

FlashBuilder settings:

    -source-path+=/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/src

    -compiler.accessible=true

    -output=/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/bin-debug/HelloRoyale.swf

    -library-path+=/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/libs

    -locale

    en_US

    +royalelib=/Users/frederic/ApacheFlex/sdk/apache-royale-0.9.0-bin/royale-asjs/js/bin/../../frameworks

    -js-output-type=jsc

    +configname=js

    -debug=true

    -fb

    /Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/src/HelloRoyale.mxml

using FlashBuilder Project Files

FlashBuilder settings:

    -source-path+=/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/src

    -compiler.accessible=true

    -output=/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/bin-debug/HelloRoyale.swf

    -library-path+=/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/libs

    -locale

    en_US

    +royalelib=/Users/frederic/ApacheFlex/sdk/apache-royale-0.9.0-bin/royale-asjs/js/bin/../../frameworks

    -js-output-type=jsc

    +configname=js

    -debug=true

    -fb

    /Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/src/HelloRoyale.mxml

/Users/frederic/Desktop/Personal/Web Projects/HelloRoyale/src/HelloRoyale.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"

^


0.741273555 seconds


Can anyone help me out here? Would love to start experimenting with this technology but I do not understand what I'm doing wrong. I followed the instructions on the website..


Thanks in advance for the help!


Best regards,


Fréderic

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

coxfrederic
I am using Apache Royale 0.9.0 with AIR 14.0 (I downloaded the latest though
as per instructions .. version name not updated probably?)



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

coxfrederic
Strange, the build actually succeeded. Seems to be a minor warning instead of an actual error?

On Fri, Jan 12, 2018 at 2:39 AM, coxfrederic <[hidden email]> wrote:
I am using Apache Royale 0.9.0 with AIR 14.0 (I downloaded the latest though
as per instructions .. version name not updated probably?)



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

Piotr Zarzycki
Hi Frederic,

Josh stated that support for Royale in VSCode will be added once we officially release first official version of Royale 0.9.0. [1] Did you able to build finally in the FB or you still have problems from the first email ? 

Did you follow instruction from "Getting Started" ? [2]


Thanks for trying Royale!
Piotr

2018-01-12 2:43 GMT+01:00 Fréderic Cox <[hidden email]>:
Strange, the build actually succeeded. Seems to be a minor warning instead of an actual error?

On Fri, Jan 12, 2018 at 2:39 AM, coxfrederic <[hidden email]> wrote:
I am using Apache Royale 0.9.0 with AIR 14.0 (I downloaded the latest though
as per instructions .. version name not updated probably?)



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

Olaf Krueger
In reply to this post by coxfrederic
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf




--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

coxfrederic
Gave it another try tonight but giving up as this is taking too much time. Please help me in getting Apache Royale to work with VSCode.

I'm getting a lot of errors and don"t know how to fix them.

I needed to download playerglobal myself and place it in frameworks/libs/player/11.1

I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk
Workspace settings are:
{
"nextgenas.sdk.searchPaths": [
"/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf"
],
"nextgenas.java": "/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java",
"nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf/royale-asjs"
}

But I'm still getting the error that I need Java 1.8 or newer...

And my simple HelloWorld.mxml gives the following error:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>

This tag could not be resolved to an ActionScript class. It will be ignored. => on the js:Application line

ASConfig.json is:

{
"config": "royale",
"compilerOptions": {
"source-map": true,
     "targets": [
         "JSFlex"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}


Please help, this is frustrating..

On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <[hidden email]> wrote:
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

Piotr Zarzycki
Hi Frederic,

First of all if you use JS only Royale you won't have to download anything. The second thing is that there is no anymore targets JSFlex. [1] - My config looks like that.


2018-02-14 21:54 GMT+01:00 Fréderic Cox <[hidden email]>:
Gave it another try tonight but giving up as this is taking too much time. Please help me in getting Apache Royale to work with VSCode.

I'm getting a lot of errors and don"t know how to fix them.

I needed to download playerglobal myself and place it in frameworks/libs/player/11.1

I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk
Workspace settings are:
{
"nextgenas.sdk.searchPaths": [
"/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf"
],
"nextgenas.java": "/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java",
"nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf/royale-asjs"
}

But I'm still getting the error that I need Java 1.8 or newer...

And my simple HelloWorld.mxml gives the following error:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>

This tag could not be resolved to an ActionScript class. It will be ignored. => on the js:Application line

ASConfig.json is:

{
"config": "royale",
"compilerOptions": {
"source-map": true,
     "targets": [
         "JSFlex"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}


Please help, this is frustrating..

On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <[hidden email]> wrote:
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

Piotr Zarzycki
I don't know whether Josh's plugin was tested with Java 9, so better use 8.

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
Hi Frederic,

First of all if you use JS only Royale you won't have to download anything. The second thing is that there is no anymore targets JSFlex. [1] - My config looks like that.


2018-02-14 21:54 GMT+01:00 Fréderic Cox <[hidden email]>:
Gave it another try tonight but giving up as this is taking too much time. Please help me in getting Apache Royale to work with VSCode.

I'm getting a lot of errors and don"t know how to fix them.

I needed to download playerglobal myself and place it in frameworks/libs/player/11.1

I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk
Workspace settings are:
{
"nextgenas.sdk.searchPaths": [
"/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf"
],
"nextgenas.java": "/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java",
"nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf/royale-asjs"
}

But I'm still getting the error that I need Java 1.8 or newer...

And my simple HelloWorld.mxml gives the following error:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>

This tag could not be resolved to an ActionScript class. It will be ignored. => on the js:Application line

ASConfig.json is:

{
"config": "royale",
"compilerOptions": {
"source-map": true,
     "targets": [
         "JSFlex"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}


Please help, this is frustrating..

On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <[hidden email]> wrote:
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

Piotr Zarzycki
And Again you are using some old code. There is not anymore flexjs namespaces. Take a look into the Royale blog post Hello World -> http://royale.apache.org/creating-a-hello-world-in-apache-royale/

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
I don't know whether Josh's plugin was tested with Java 9, so better use 8.

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
Hi Frederic,

First of all if you use JS only Royale you won't have to download anything. The second thing is that there is no anymore targets JSFlex. [1] - My config looks like that.


2018-02-14 21:54 GMT+01:00 Fréderic Cox <[hidden email]>:
Gave it another try tonight but giving up as this is taking too much time. Please help me in getting Apache Royale to work with VSCode.

I'm getting a lot of errors and don"t know how to fix them.

I needed to download playerglobal myself and place it in frameworks/libs/player/11.1

I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk
Workspace settings are:
{
"nextgenas.sdk.searchPaths": [
"/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf"
],
"nextgenas.java": "/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java",
"nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf/royale-asjs"
}

But I'm still getting the error that I need Java 1.8 or newer...

And my simple HelloWorld.mxml gives the following error:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>

This tag could not be resolved to an ActionScript class. It will be ignored. => on the js:Application line

ASConfig.json is:

{
"config": "royale",
"compilerOptions": {
"source-map": true,
     "targets": [
         "JSFlex"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}


Please help, this is frustrating..

On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <[hidden email]> wrote:
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

coxfrederic
Hi Piotr, 

Thanks for helping out! I did the changes you proposed and now am able to get a build done!
Is there any other way in VSCode then going to Tasks->Run build task->... to view the output? Looking for something like the "Play" icon in Flash Builder. Now I need to build manually and then refresh the page in Chrome. Is this the preferred way?

Thanks for any feedback, eager to explore Royale further.

On Wed, Feb 14, 2018 at 10:07 PM, Piotr Zarzycki <[hidden email]> wrote:
And Again you are using some old code. There is not anymore flexjs namespaces. Take a look into the Royale blog post Hello World -> http://royale.apache.org/creating-a-hello-world-in-apache-royale/

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
I don't know whether Josh's plugin was tested with Java 9, so better use 8.

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
Hi Frederic,

First of all if you use JS only Royale you won't have to download anything. The second thing is that there is no anymore targets JSFlex. [1] - My config looks like that.


2018-02-14 21:54 GMT+01:00 Fréderic Cox <[hidden email]>:
Gave it another try tonight but giving up as this is taking too much time. Please help me in getting Apache Royale to work with VSCode.

I'm getting a lot of errors and don"t know how to fix them.

I needed to download playerglobal myself and place it in frameworks/libs/player/11.1

I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk
Workspace settings are:
{
"nextgenas.sdk.searchPaths": [
"/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf"
],
"nextgenas.java": "/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java",
"nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf/royale-asjs"
}

But I'm still getting the error that I need Java 1.8 or newer...

And my simple HelloWorld.mxml gives the following error:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>

This tag could not be resolved to an ActionScript class. It will be ignored. => on the js:Application line

ASConfig.json is:

{
"config": "royale",
"compilerOptions": {
"source-map": true,
     "targets": [
         "JSFlex"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}


Please help, this is frustrating..

On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <[hidden email]> wrote:
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

Piotr Zarzycki
Frederic,

Are you Windows user. There is shortcut CTRL + SHIFT + B - it builds automatically. I think you should also explore Josh's Wiki [1] - he have really good documentation! 

Glad you make some progress! Keep moving forward :) 


Thanks, Piotr



2018-02-15 11:34 GMT+01:00 Fréderic Cox <[hidden email]>:
Hi Piotr, 

Thanks for helping out! I did the changes you proposed and now am able to get a build done!
Is there any other way in VSCode then going to Tasks->Run build task->... to view the output? Looking for something like the "Play" icon in Flash Builder. Now I need to build manually and then refresh the page in Chrome. Is this the preferred way?

Thanks for any feedback, eager to explore Royale further.

On Wed, Feb 14, 2018 at 10:07 PM, Piotr Zarzycki <[hidden email]> wrote:
And Again you are using some old code. There is not anymore flexjs namespaces. Take a look into the Royale blog post Hello World -> http://royale.apache.org/creating-a-hello-world-in-apache-royale/

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
I don't know whether Josh's plugin was tested with Java 9, so better use 8.

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
Hi Frederic,

First of all if you use JS only Royale you won't have to download anything. The second thing is that there is no anymore targets JSFlex. [1] - My config looks like that.


2018-02-14 21:54 GMT+01:00 Fréderic Cox <[hidden email]>:
Gave it another try tonight but giving up as this is taking too much time. Please help me in getting Apache Royale to work with VSCode.

I'm getting a lot of errors and don"t know how to fix them.

I needed to download playerglobal myself and place it in frameworks/libs/player/11.1

I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk
Workspace settings are:
{
"nextgenas.sdk.searchPaths": [
"/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf"
],
"nextgenas.java": "/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java",
"nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf/royale-asjs"
}

But I'm still getting the error that I need Java 1.8 or newer...

And my simple HelloWorld.mxml gives the following error:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>

This tag could not be resolved to an ActionScript class. It will be ignored. => on the js:Application line

ASConfig.json is:

{
"config": "royale",
"compilerOptions": {
"source-map": true,
     "targets": [
         "JSFlex"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}


Please help, this is frustrating..

On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <[hidden email]> wrote:
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki

Reply | Threaded
Open this post in threaded view
|

Re: Getting started is not so easy..

Gabe Harbs
In reply to this post by coxfrederic
Great!

Is there any other way in VSCode then going to Tasks->Run build task->... to view the output? Looking for something like the "Play" icon in Flash Builder. Now I need to build manually and then refresh the page in Chrome. Is this the preferred way?

Set a keyboard shortcut for building because you’re going to be doing that a lot! ;-)

Om just created a npm cli tool which can automatically rebuild and refresh the browser.

I have not yet even had a chance to try it.

Take a look at the discussion on the dev list.

Harbs

On Feb 15, 2018, at 12:34 PM, Fréderic Cox <[hidden email]> wrote:

Hi Piotr, 

Thanks for helping out! I did the changes you proposed and now am able to get a build done!
Is there any other way in VSCode then going to Tasks->Run build task->... to view the output? Looking for something like the "Play" icon in Flash Builder. Now I need to build manually and then refresh the page in Chrome. Is this the preferred way?

Thanks for any feedback, eager to explore Royale further.

On Wed, Feb 14, 2018 at 10:07 PM, Piotr Zarzycki <[hidden email]> wrote:
And Again you are using some old code. There is not anymore flexjs namespaces. Take a look into the Royale blog post Hello World -> http://royale.apache.org/creating-a-hello-world-in-apache-royale/

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
I don't know whether Josh's plugin was tested with Java 9, so better use 8.

2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <[hidden email]>:
Hi Frederic,

First of all if you use JS only Royale you won't have to download anything. The second thing is that there is no anymore targets JSFlex. [1] - My config looks like that.


2018-02-14 21:54 GMT+01:00 Fréderic Cox <[hidden email]>:
Gave it another try tonight but giving up as this is taking too much time. Please help me in getting Apache Royale to work with VSCode.

I'm getting a lot of errors and don"t know how to fix them.

I needed to download playerglobal myself and place it in frameworks/libs/player/11.1

I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk
Workspace settings are:
{
"nextgenas.sdk.searchPaths": [
"/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf"
],
"nextgenas.java": "/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java",
"nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf/royale-asjs"
}

But I'm still getting the error that I need Java 1.8 or newer...

And my simple HelloWorld.mxml gives the following error:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>

This tag could not be resolved to an ActionScript class. It will be ignored. => on the js:Application line

ASConfig.json is:

{
"config": "royale",
"compilerOptions": {
"source-map": true,
     "targets": [
         "JSFlex"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}


Please help, this is frustrating..

On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <[hidden email]> wrote:
Hi,
as long Josh's "VSCode Royale version" isn't released, I guess an easy way
to make Royale work with an IDE in order to experience with the framework,
is by using Moonshine and the Royale JSOnly package.
You just have to install Moonshine, download the JSOnly SDK and update the
Moonshine settings with the SDK path.
This should be done in a couple of minutes...

Hope this helps,
Olaf




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki