You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2019/05/27 15:02:37 UTC
New article on how to create a desktop app with Apache Royale and ElectronJS
Hi,
new arcticle from Judah Frangipane is up!
https://twitter.com/ApacheRoyale/status/1133025119075479552
don't forget to share the new tweet please! :)
and enjoy!!
--
Carlos Rovira
http://about.me/carlosrovira
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Carlos Rovira <ca...@apache.org>.
done! :)
El vie., 31 may. 2019 a las 22:50, Carlos Rovira (<ca...@apache.org>)
escribió:
> Hi,
>
> there's a way to make @extern classes (like stubs in AS3 that wraps JS
> code), so you call as3 class with dot notation, not bracketed.
>
> The problem with this is that we actually have a bug that causes
> the @extern works in Royale projects but not in libraries.
> I want to try to fix this in the compiler if possible, or if I can get it
> others like Josh or Alex will need to fix.
>
> So for now it's ok to stick with your current windows bracketed access.
>
> thanks
>
> El vie., 31 may. 2019 a las 21:09, QA (<fl...@gmail.com>)
> escribió:
>
>> I stumbled on Josh's post on How to transpile AS3 to node js here,
>>
>> https://royale.codeoscopic.com/hello-node-how-to-transpile-actionscript-for-node-js/
>> and see he has a config option set to "node". Interestingly, I added
>> this option to the example here and code intelligence was available for
>> node.js variables and classes.
>>
>> But I think they are for the Main process. In the Royale example I use:
>>
>> window["require"] and window["require"]("electron") to get around
>> compiler errors
>>
>> It would be great to add the Renderer process code intelligence to the
>> Royale projects if anyone knows how.
>>
>> Jude
>>
>> On 5/28/19 5:59 AM, Piotr Zarzycki wrote:
>> > Hi Antonis,
>> >
>> > I took some time and I have created this example using Moonshine Jewel
>> > Hello World. Basically I have created new project and added steps
>> related
>> > to Electron and I was able to run it using console window. If you are
>> > interested - Example is here with instruction. [1][2]
>> > Currently for some reason I cannot download Nightly build of Royale
>> cause
>> > Jenkins doesn't work, but I hope Alex launch it today.
>> >
>> > Judah,
>> >
>> > Great work!
>> >
>> > I bump into a small issue - When I copied content of main.js file it
>> failed
>> > launch application initially due to some characters -> () => {
>> >
>> > [1]
>> https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
>> > [2]
>> >
>> https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
>> >
>> > Thanks,
>> > Piotr
>> >
>> >
>> >
>> > pon., 27 maj 2019 o 20:40 Antonis Kalodimos <
>> antonis.kalodimos@gmail.com>
>> > napisał(a):
>> >
>> >> Yes i didn't send you the whole file i was the end part only
>> >> The whole part is from this page
>> >>
>> >>
>> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
>> >> the same as in this page the HelloWorld.mxml and above
>> >> the <js:initialView> tag im inserted the script showed in the same
>> page.
>> >>
>> >> The first error i found during truing to compile is from this line
>> showed
>> >> in the example
>> >>
>> >> <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
>> >> this
>> >> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>> >>
>> >> after the build task know with apache-royale-0.9.4-bin-js usedfor
>> >> building i am receiving this in log shoewd in terminal vscode window
>> >>
>> >> last lines
>> >> using source file:
>> >> c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
>> >> The project 'HelloWorld' has been successfully compiled and optimized.
>> >> Error: File not found:
>> org.apache.royale.events.utils.MouseEventConverter
>> >>
>> >> 90.8037847 seconds
>> >> The terminal process terminated with exit code: 3
>> >>
>> >> Terminal will be reused by tasks, press any key to close it.
>> >>
>> >>
>> >> Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <harbs.lists@gmail.com
>> >
>> >> έγραψε:
>> >>
>> >>> The XML is likely not well formed.
>> >>>
>> >>> Is the opening tag <fx:script> or <fx:Script> ?
>> >>>
>> >>>> On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
>> >>> antonis.kalodimos@gmail.com> wrote:
>> >>>> Yes i had this tag
>> >>>> .
>> >>>> .
>> >>>> .
>> >>>>
>> >>>> </fx:Script>
>> >>>> <js:initialView>
>> >>>> <js:View>
>> >>>> <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
>> >>>> <j:Button id="helloButton" text="Hello" x="20" y="20" click="
>> >>>> clickHandler(event)"/>
>> >>>> </js:View>
>> >>>> </js:initialView>
>> >>>> </js:Application>
>> >>>>
>> >>>> I found that i was trying to compile it with
>> >>> apache-royale-0.9.6-bin-js-swf
>> >>>> when i changed that with apache-royale-0.9.4-bin-js
>> >>>> problem resolved but nothing showed (with
>> >> apache-royale-0.9.6-bin-js-swf
>> >>>> the button and the text was showed.)
>> >>>>
>> >>>>
>> >>>>
>> >>>> Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
>> >>>> carlosrovira@apache.org> έγραψε:
>> >>>>
>> >>>>> Hi Antonis,
>> >>>>>
>> >>>>> are you adding it in the HelloWorld.mxml file
>> >>>>> before <js:initialView>?
>> >>>>> The error seems like you are trying to add it in other part of the
>> >> file
>> >>> or
>> >>>>> in other different file.
>> >>>>>
>> >>>>> Thanks
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
>> >>>>> antonis.kalodimos@gmail.com>) escribió:
>> >>>>>
>> >>>>>> Trying to folow this tutorial have these compile errors after
>> putting
>> >>> the
>> >>>>>> <fx:script> tag
>> >>>>>> col: 1 Error: This tag is unexpected. It will be ignored.
>> >>>>>>
>> >>>>>> <fx:Script>
>> >>>>>> ^
>> >>>>>>
>> >>>>>> My code is the same as in the tutorial and it worked as expected
>> >> until
>> >>>>> the
>> >>>>>> step i n which fx:script tag need to be added
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
>> >>>>>> carlosrovira@apache.org> έγραψε:
>> >>>>>>
>> >>>>>>> Hi,
>> >>>>>>>
>> >>>>>>> new arcticle from Judah Frangipane is up!
>> >>>>>>>
>> >>>>>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
>> >>>>>>>
>> >>>>>>> don't forget to share the new tweet please! :)
>> >>>>>>>
>> >>>>>>> and enjoy!!
>> >>>>>>>
>> >>>>>>> --
>> >>>>>>> Carlos Rovira
>> >>>>>>> http://about.me/carlosrovira
>> >>>>>>>
>> >>>>>
>> >>>>> --
>> >>>>> Carlos Rovira
>> >>>>> http://about.me/carlosrovira
>> >>>>>
>> >>>
>> >
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
there's a way to make @extern classes (like stubs in AS3 that wraps JS
code), so you call as3 class with dot notation, not bracketed.
The problem with this is that we actually have a bug that causes
the @extern works in Royale projects but not in libraries.
I want to try to fix this in the compiler if possible, or if I can get it
others like Josh or Alex will need to fix.
So for now it's ok to stick with your current windows bracketed access.
thanks
El vie., 31 may. 2019 a las 21:09, QA (<fl...@gmail.com>) escribió:
> I stumbled on Josh's post on How to transpile AS3 to node js here,
>
> https://royale.codeoscopic.com/hello-node-how-to-transpile-actionscript-for-node-js/
> and see he has a config option set to "node". Interestingly, I added
> this option to the example here and code intelligence was available for
> node.js variables and classes.
>
> But I think they are for the Main process. In the Royale example I use:
>
> window["require"] and window["require"]("electron") to get around
> compiler errors
>
> It would be great to add the Renderer process code intelligence to the
> Royale projects if anyone knows how.
>
> Jude
>
> On 5/28/19 5:59 AM, Piotr Zarzycki wrote:
> > Hi Antonis,
> >
> > I took some time and I have created this example using Moonshine Jewel
> > Hello World. Basically I have created new project and added steps related
> > to Electron and I was able to run it using console window. If you are
> > interested - Example is here with instruction. [1][2]
> > Currently for some reason I cannot download Nightly build of Royale cause
> > Jenkins doesn't work, but I hope Alex launch it today.
> >
> > Judah,
> >
> > Great work!
> >
> > I bump into a small issue - When I copied content of main.js file it
> failed
> > launch application initially due to some characters -> () => {
> >
> > [1]
> https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
> > [2]
> >
> https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
> >
> > Thanks,
> > Piotr
> >
> >
> >
> > pon., 27 maj 2019 o 20:40 Antonis Kalodimos <antonis.kalodimos@gmail.com
> >
> > napisał(a):
> >
> >> Yes i didn't send you the whole file i was the end part only
> >> The whole part is from this page
> >>
> >>
> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
> >> the same as in this page the HelloWorld.mxml and above
> >> the <js:initialView> tag im inserted the script showed in the same
> page.
> >>
> >> The first error i found during truing to compile is from this line
> showed
> >> in the example
> >>
> >> <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
> >> this
> >> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> >>
> >> after the build task know with apache-royale-0.9.4-bin-js usedfor
> >> building i am receiving this in log shoewd in terminal vscode window
> >>
> >> last lines
> >> using source file:
> >> c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
> >> The project 'HelloWorld' has been successfully compiled and optimized.
> >> Error: File not found:
> org.apache.royale.events.utils.MouseEventConverter
> >>
> >> 90.8037847 seconds
> >> The terminal process terminated with exit code: 3
> >>
> >> Terminal will be reused by tasks, press any key to close it.
> >>
> >>
> >> Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <ha...@gmail.com>
> >> έγραψε:
> >>
> >>> The XML is likely not well formed.
> >>>
> >>> Is the opening tag <fx:script> or <fx:Script> ?
> >>>
> >>>> On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
> >>> antonis.kalodimos@gmail.com> wrote:
> >>>> Yes i had this tag
> >>>> .
> >>>> .
> >>>> .
> >>>>
> >>>> </fx:Script>
> >>>> <js:initialView>
> >>>> <js:View>
> >>>> <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
> >>>> <j:Button id="helloButton" text="Hello" x="20" y="20" click="
> >>>> clickHandler(event)"/>
> >>>> </js:View>
> >>>> </js:initialView>
> >>>> </js:Application>
> >>>>
> >>>> I found that i was trying to compile it with
> >>> apache-royale-0.9.6-bin-js-swf
> >>>> when i changed that with apache-royale-0.9.4-bin-js
> >>>> problem resolved but nothing showed (with
> >> apache-royale-0.9.6-bin-js-swf
> >>>> the button and the text was showed.)
> >>>>
> >>>>
> >>>>
> >>>> Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
> >>>> carlosrovira@apache.org> έγραψε:
> >>>>
> >>>>> Hi Antonis,
> >>>>>
> >>>>> are you adding it in the HelloWorld.mxml file
> >>>>> before <js:initialView>?
> >>>>> The error seems like you are trying to add it in other part of the
> >> file
> >>> or
> >>>>> in other different file.
> >>>>>
> >>>>> Thanks
> >>>>>
> >>>>>
> >>>>>
> >>>>> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
> >>>>> antonis.kalodimos@gmail.com>) escribió:
> >>>>>
> >>>>>> Trying to folow this tutorial have these compile errors after
> putting
> >>> the
> >>>>>> <fx:script> tag
> >>>>>> col: 1 Error: This tag is unexpected. It will be ignored.
> >>>>>>
> >>>>>> <fx:Script>
> >>>>>> ^
> >>>>>>
> >>>>>> My code is the same as in the tutorial and it worked as expected
> >> until
> >>>>> the
> >>>>>> step i n which fx:script tag need to be added
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
> >>>>>> carlosrovira@apache.org> έγραψε:
> >>>>>>
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> new arcticle from Judah Frangipane is up!
> >>>>>>>
> >>>>>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
> >>>>>>>
> >>>>>>> don't forget to share the new tweet please! :)
> >>>>>>>
> >>>>>>> and enjoy!!
> >>>>>>>
> >>>>>>> --
> >>>>>>> Carlos Rovira
> >>>>>>> http://about.me/carlosrovira
> >>>>>>>
> >>>>>
> >>>>> --
> >>>>> Carlos Rovira
> >>>>> http://about.me/carlosrovira
> >>>>>
> >>>
> >
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: New article on how to create a desktop app with Apache Royale and
ElectronJS
Posted by QA <fl...@gmail.com>.
I stumbled on Josh's post on How to transpile AS3 to node js here,
https://royale.codeoscopic.com/hello-node-how-to-transpile-actionscript-for-node-js/
and see he has a config option set to "node". Interestingly, I added
this option to the example here and code intelligence was available for
node.js variables and classes.
But I think they are for the Main process. In the Royale example I use:
window["require"] and window["require"]("electron") to get around
compiler errors
It would be great to add the Renderer process code intelligence to the
Royale projects if anyone knows how.
Jude
On 5/28/19 5:59 AM, Piotr Zarzycki wrote:
> Hi Antonis,
>
> I took some time and I have created this example using Moonshine Jewel
> Hello World. Basically I have created new project and added steps related
> to Electron and I was able to run it using console window. If you are
> interested - Example is here with instruction. [1][2]
> Currently for some reason I cannot download Nightly build of Royale cause
> Jenkins doesn't work, but I hope Alex launch it today.
>
> Judah,
>
> Great work!
>
> I bump into a small issue - When I copied content of main.js file it failed
> launch application initially due to some characters -> () => {
>
> [1] https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
> [2]
> https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
>
> Thanks,
> Piotr
>
>
>
> pon., 27 maj 2019 o 20:40 Antonis Kalodimos <an...@gmail.com>
> napisał(a):
>
>> Yes i didn't send you the whole file i was the end part only
>> The whole part is from this page
>>
>> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
>> the same as in this page the HelloWorld.mxml and above
>> the <js:initialView> tag im inserted the script showed in the same page.
>>
>> The first error i found during truing to compile is from this line showed
>> in the example
>>
>> <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
>> this
>> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>>
>> after the build task know with apache-royale-0.9.4-bin-js usedfor
>> building i am receiving this in log shoewd in terminal vscode window
>>
>> last lines
>> using source file:
>> c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
>> The project 'HelloWorld' has been successfully compiled and optimized.
>> Error: File not found: org.apache.royale.events.utils.MouseEventConverter
>>
>> 90.8037847 seconds
>> The terminal process terminated with exit code: 3
>>
>> Terminal will be reused by tasks, press any key to close it.
>>
>>
>> Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <ha...@gmail.com>
>> έγραψε:
>>
>>> The XML is likely not well formed.
>>>
>>> Is the opening tag <fx:script> or <fx:Script> ?
>>>
>>>> On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
>>> antonis.kalodimos@gmail.com> wrote:
>>>> Yes i had this tag
>>>> .
>>>> .
>>>> .
>>>>
>>>> </fx:Script>
>>>> <js:initialView>
>>>> <js:View>
>>>> <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
>>>> <j:Button id="helloButton" text="Hello" x="20" y="20" click="
>>>> clickHandler(event)"/>
>>>> </js:View>
>>>> </js:initialView>
>>>> </js:Application>
>>>>
>>>> I found that i was trying to compile it with
>>> apache-royale-0.9.6-bin-js-swf
>>>> when i changed that with apache-royale-0.9.4-bin-js
>>>> problem resolved but nothing showed (with
>> apache-royale-0.9.6-bin-js-swf
>>>> the button and the text was showed.)
>>>>
>>>>
>>>>
>>>> Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
>>>> carlosrovira@apache.org> έγραψε:
>>>>
>>>>> Hi Antonis,
>>>>>
>>>>> are you adding it in the HelloWorld.mxml file
>>>>> before <js:initialView>?
>>>>> The error seems like you are trying to add it in other part of the
>> file
>>> or
>>>>> in other different file.
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
>>>>> antonis.kalodimos@gmail.com>) escribió:
>>>>>
>>>>>> Trying to folow this tutorial have these compile errors after putting
>>> the
>>>>>> <fx:script> tag
>>>>>> col: 1 Error: This tag is unexpected. It will be ignored.
>>>>>>
>>>>>> <fx:Script>
>>>>>> ^
>>>>>>
>>>>>> My code is the same as in the tutorial and it worked as expected
>> until
>>>>> the
>>>>>> step i n which fx:script tag need to be added
>>>>>>
>>>>>>
>>>>>>
>>>>>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
>>>>>> carlosrovira@apache.org> έγραψε:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> new arcticle from Judah Frangipane is up!
>>>>>>>
>>>>>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
>>>>>>>
>>>>>>> don't forget to share the new tweet please! :)
>>>>>>>
>>>>>>> and enjoy!!
>>>>>>>
>>>>>>> --
>>>>>>> Carlos Rovira
>>>>>>> http://about.me/carlosrovira
>>>>>>>
>>>>>
>>>>> --
>>>>> Carlos Rovira
>>>>> http://about.me/carlosrovira
>>>>>
>>>
>
Re: New article on how to create a desktop app with Apache Royale and
ElectronJS
Posted by QA <fl...@gmail.com>.
Hi Antonis,
Thanks for your feedback! Glad you got it working. I'll make some
additional notes about these issues in the post. I've added the complete
project as an attachment at the end of the post.
Jude
On 5/28/19 10:56 AM, Antonis Kalodimos wrote:
> Thank you for you spended valuable time to help.
> I finally made it to compile and worked in vscode with Royale 0.9.6-bin-js
> and using hardcoded in asconfig.json for the path for the jewel theme
> pointning to the apache-royale-0.9.6-bin-js-swf
>
> below the asconfig.used
>
> {
> "compilerOptions": {
> "source-map": true,
> "html-template": "index.html",
> "theme":
> "D:/ApacheFlex/apache-royale-0.9.6-bin-js-swf/royale-asjs/frameworks/themes/JewelTheme/src/main/resources/defaults.css"
> },
> "additionalOptions": "-warn-public-vars=false",
> "files": [
> "src/Helloworld.mxml"
> ],
> "targets": [
> "JSRoyale"
> ]
> }
>
>
>
> Στις Τρί, 28 Μαΐ 2019 στις 4:23 μ.μ., ο/η Carlos Rovira <
> carlosrovira@apache.org> έγραψε:
>
>> Thanks for sharing Piotr!
>> Great it working for you too! :)
>>
>> El mar., 28 may. 2019 a las 15:00, Piotr Zarzycki (<
>> piotrzarzycki21@gmail.com>) escribió:
>>
>>> Hi Antonis,
>>>
>>> I took some time and I have created this example using Moonshine Jewel
>>> Hello World. Basically I have created new project and added steps related
>>> to Electron and I was able to run it using console window. If you are
>>> interested - Example is here with instruction. [1][2]
>>> Currently for some reason I cannot download Nightly build of Royale cause
>>> Jenkins doesn't work, but I hope Alex launch it today.
>>>
>>> Judah,
>>>
>>> Great work!
>>>
>>> I bump into a small issue - When I copied content of main.js file it
>> failed
>>> launch application initially due to some characters -> () => {
>>>
>>> [1]
>> https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
>>> [2]
>>>
>>>
>> https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
>>> Thanks,
>>> Piotr
>>>
>>>
>>>
>>> pon., 27 maj 2019 o 20:40 Antonis Kalodimos <antonis.kalodimos@gmail.com
>>>
>>> napisał(a):
>>>
>>>> Yes i didn't send you the whole file i was the end part only
>>>> The whole part is from this page
>>>>
>>>>
>> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
>>>> the same as in this page the HelloWorld.mxml and above
>>>> the <js:initialView> tag im inserted the script showed in the same
>>> page.
>>>> The first error i found during truing to compile is from this line
>> showed
>>>> in the example
>>>>
>>>> <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
>>>> this
>>>> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>>>>
>>>> after the build task know with apache-royale-0.9.4-bin-js usedfor
>>>> building i am receiving this in log shoewd in terminal vscode window
>>>>
>>>> last lines
>>>> using source file:
>>>> c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
>>>> The project 'HelloWorld' has been successfully compiled and optimized.
>>>> Error: File not found:
>> org.apache.royale.events.utils.MouseEventConverter
>>>> 90.8037847 seconds
>>>> The terminal process terminated with exit code: 3
>>>>
>>>> Terminal will be reused by tasks, press any key to close it.
>>>>
>>>>
>>>> Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <harbs.lists@gmail.com
>>>> έγραψε:
>>>>
>>>>> The XML is likely not well formed.
>>>>>
>>>>> Is the opening tag <fx:script> or <fx:Script> ?
>>>>>
>>>>>> On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
>>>>> antonis.kalodimos@gmail.com> wrote:
>>>>>> Yes i had this tag
>>>>>> .
>>>>>> .
>>>>>> .
>>>>>>
>>>>>> </fx:Script>
>>>>>> <js:initialView>
>>>>>> <js:View>
>>>>>> <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
>>>>>> <j:Button id="helloButton" text="Hello" x="20" y="20" click="
>>>>>> clickHandler(event)"/>
>>>>>> </js:View>
>>>>>> </js:initialView>
>>>>>> </js:Application>
>>>>>>
>>>>>> I found that i was trying to compile it with
>>>>> apache-royale-0.9.6-bin-js-swf
>>>>>> when i changed that with apache-royale-0.9.4-bin-js
>>>>>> problem resolved but nothing showed (with
>>>> apache-royale-0.9.6-bin-js-swf
>>>>>> the button and the text was showed.)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
>>>>>> carlosrovira@apache.org> έγραψε:
>>>>>>
>>>>>>> Hi Antonis,
>>>>>>>
>>>>>>> are you adding it in the HelloWorld.mxml file
>>>>>>> before <js:initialView>?
>>>>>>> The error seems like you are trying to add it in other part of the
>>>> file
>>>>> or
>>>>>>> in other different file.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
>>>>>>> antonis.kalodimos@gmail.com>) escribió:
>>>>>>>
>>>>>>>> Trying to folow this tutorial have these compile errors after
>>> putting
>>>>> the
>>>>>>>> <fx:script> tag
>>>>>>>> col: 1 Error: This tag is unexpected. It will be ignored.
>>>>>>>>
>>>>>>>> <fx:Script>
>>>>>>>> ^
>>>>>>>>
>>>>>>>> My code is the same as in the tutorial and it worked as expected
>>>> until
>>>>>>> the
>>>>>>>> step i n which fx:script tag need to be added
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
>>>>>>>> carlosrovira@apache.org> έγραψε:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> new arcticle from Judah Frangipane is up!
>>>>>>>>>
>>>>>>>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
>>>>>>>>>
>>>>>>>>> don't forget to share the new tweet please! :)
>>>>>>>>>
>>>>>>>>> and enjoy!!
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Carlos Rovira
>>>>>>>>> http://about.me/carlosrovira
>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Carlos Rovira
>>>>>>> http://about.me/carlosrovira
>>>>>>>
>>>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Antonis Kalodimos <an...@gmail.com>.
Thank you for you spended valuable time to help.
I finally made it to compile and worked in vscode with Royale 0.9.6-bin-js
and using hardcoded in asconfig.json for the path for the jewel theme
pointning to the apache-royale-0.9.6-bin-js-swf
below the asconfig.used
{
"compilerOptions": {
"source-map": true,
"html-template": "index.html",
"theme":
"D:/ApacheFlex/apache-royale-0.9.6-bin-js-swf/royale-asjs/frameworks/themes/JewelTheme/src/main/resources/defaults.css"
},
"additionalOptions": "-warn-public-vars=false",
"files": [
"src/Helloworld.mxml"
],
"targets": [
"JSRoyale"
]
}
Στις Τρί, 28 Μαΐ 2019 στις 4:23 μ.μ., ο/η Carlos Rovira <
carlosrovira@apache.org> έγραψε:
> Thanks for sharing Piotr!
> Great it working for you too! :)
>
> El mar., 28 may. 2019 a las 15:00, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>) escribió:
>
> > Hi Antonis,
> >
> > I took some time and I have created this example using Moonshine Jewel
> > Hello World. Basically I have created new project and added steps related
> > to Electron and I was able to run it using console window. If you are
> > interested - Example is here with instruction. [1][2]
> > Currently for some reason I cannot download Nightly build of Royale cause
> > Jenkins doesn't work, but I hope Alex launch it today.
> >
> > Judah,
> >
> > Great work!
> >
> > I bump into a small issue - When I copied content of main.js file it
> failed
> > launch application initially due to some characters -> () => {
> >
> > [1]
> https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
> > [2]
> >
> >
> https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
> >
> > Thanks,
> > Piotr
> >
> >
> >
> > pon., 27 maj 2019 o 20:40 Antonis Kalodimos <antonis.kalodimos@gmail.com
> >
> > napisał(a):
> >
> > > Yes i didn't send you the whole file i was the end part only
> > > The whole part is from this page
> > >
> > >
> >
> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
> > > the same as in this page the HelloWorld.mxml and above
> > > the <js:initialView> tag im inserted the script showed in the same
> > page.
> > >
> > > The first error i found during truing to compile is from this line
> showed
> > > in the example
> > >
> > > <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
> > > this
> > > <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> > >
> > > after the build task know with apache-royale-0.9.4-bin-js usedfor
> > > building i am receiving this in log shoewd in terminal vscode window
> > >
> > > last lines
> > > using source file:
> > > c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
> > > The project 'HelloWorld' has been successfully compiled and optimized.
> > > Error: File not found:
> org.apache.royale.events.utils.MouseEventConverter
> > >
> > > 90.8037847 seconds
> > > The terminal process terminated with exit code: 3
> > >
> > > Terminal will be reused by tasks, press any key to close it.
> > >
> > >
> > > Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <harbs.lists@gmail.com
> >
> > > έγραψε:
> > >
> > > > The XML is likely not well formed.
> > > >
> > > > Is the opening tag <fx:script> or <fx:Script> ?
> > > >
> > > > > On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
> > > > antonis.kalodimos@gmail.com> wrote:
> > > > >
> > > > > Yes i had this tag
> > > > > .
> > > > > .
> > > > > .
> > > > >
> > > > > </fx:Script>
> > > > > <js:initialView>
> > > > > <js:View>
> > > > > <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
> > > > > <j:Button id="helloButton" text="Hello" x="20" y="20" click="
> > > > > clickHandler(event)"/>
> > > > > </js:View>
> > > > > </js:initialView>
> > > > > </js:Application>
> > > > >
> > > > > I found that i was trying to compile it with
> > > > apache-royale-0.9.6-bin-js-swf
> > > > > when i changed that with apache-royale-0.9.4-bin-js
> > > > > problem resolved but nothing showed (with
> > > apache-royale-0.9.6-bin-js-swf
> > > > > the button and the text was showed.)
> > > > >
> > > > >
> > > > >
> > > > > Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
> > > > > carlosrovira@apache.org> έγραψε:
> > > > >
> > > > >> Hi Antonis,
> > > > >>
> > > > >> are you adding it in the HelloWorld.mxml file
> > > > >> before <js:initialView>?
> > > > >> The error seems like you are trying to add it in other part of the
> > > file
> > > > or
> > > > >> in other different file.
> > > > >>
> > > > >> Thanks
> > > > >>
> > > > >>
> > > > >>
> > > > >> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
> > > > >> antonis.kalodimos@gmail.com>) escribió:
> > > > >>
> > > > >>> Trying to folow this tutorial have these compile errors after
> > putting
> > > > the
> > > > >>> <fx:script> tag
> > > > >>> col: 1 Error: This tag is unexpected. It will be ignored.
> > > > >>>
> > > > >>> <fx:Script>
> > > > >>> ^
> > > > >>>
> > > > >>> My code is the same as in the tutorial and it worked as expected
> > > until
> > > > >> the
> > > > >>> step i n which fx:script tag need to be added
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
> > > > >>> carlosrovira@apache.org> έγραψε:
> > > > >>>
> > > > >>>> Hi,
> > > > >>>>
> > > > >>>> new arcticle from Judah Frangipane is up!
> > > > >>>>
> > > > >>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
> > > > >>>>
> > > > >>>> don't forget to share the new tweet please! :)
> > > > >>>>
> > > > >>>> and enjoy!!
> > > > >>>>
> > > > >>>> --
> > > > >>>> Carlos Rovira
> > > > >>>> http://about.me/carlosrovira
> > > > >>>>
> > > > >>>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> Carlos Rovira
> > > > >> http://about.me/carlosrovira
> > > > >>
> > > >
> > > >
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Carlos Rovira <ca...@apache.org>.
Thanks for sharing Piotr!
Great it working for you too! :)
El mar., 28 may. 2019 a las 15:00, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:
> Hi Antonis,
>
> I took some time and I have created this example using Moonshine Jewel
> Hello World. Basically I have created new project and added steps related
> to Electron and I was able to run it using console window. If you are
> interested - Example is here with instruction. [1][2]
> Currently for some reason I cannot download Nightly build of Royale cause
> Jenkins doesn't work, but I hope Alex launch it today.
>
> Judah,
>
> Great work!
>
> I bump into a small issue - When I copied content of main.js file it failed
> launch application initially due to some characters -> () => {
>
> [1] https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
> [2]
>
> https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
>
> Thanks,
> Piotr
>
>
>
> pon., 27 maj 2019 o 20:40 Antonis Kalodimos <an...@gmail.com>
> napisał(a):
>
> > Yes i didn't send you the whole file i was the end part only
> > The whole part is from this page
> >
> >
> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
> > the same as in this page the HelloWorld.mxml and above
> > the <js:initialView> tag im inserted the script showed in the same
> page.
> >
> > The first error i found during truing to compile is from this line showed
> > in the example
> >
> > <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
> > this
> > <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> >
> > after the build task know with apache-royale-0.9.4-bin-js usedfor
> > building i am receiving this in log shoewd in terminal vscode window
> >
> > last lines
> > using source file:
> > c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
> > The project 'HelloWorld' has been successfully compiled and optimized.
> > Error: File not found: org.apache.royale.events.utils.MouseEventConverter
> >
> > 90.8037847 seconds
> > The terminal process terminated with exit code: 3
> >
> > Terminal will be reused by tasks, press any key to close it.
> >
> >
> > Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <ha...@gmail.com>
> > έγραψε:
> >
> > > The XML is likely not well formed.
> > >
> > > Is the opening tag <fx:script> or <fx:Script> ?
> > >
> > > > On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
> > > antonis.kalodimos@gmail.com> wrote:
> > > >
> > > > Yes i had this tag
> > > > .
> > > > .
> > > > .
> > > >
> > > > </fx:Script>
> > > > <js:initialView>
> > > > <js:View>
> > > > <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
> > > > <j:Button id="helloButton" text="Hello" x="20" y="20" click="
> > > > clickHandler(event)"/>
> > > > </js:View>
> > > > </js:initialView>
> > > > </js:Application>
> > > >
> > > > I found that i was trying to compile it with
> > > apache-royale-0.9.6-bin-js-swf
> > > > when i changed that with apache-royale-0.9.4-bin-js
> > > > problem resolved but nothing showed (with
> > apache-royale-0.9.6-bin-js-swf
> > > > the button and the text was showed.)
> > > >
> > > >
> > > >
> > > > Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
> > > > carlosrovira@apache.org> έγραψε:
> > > >
> > > >> Hi Antonis,
> > > >>
> > > >> are you adding it in the HelloWorld.mxml file
> > > >> before <js:initialView>?
> > > >> The error seems like you are trying to add it in other part of the
> > file
> > > or
> > > >> in other different file.
> > > >>
> > > >> Thanks
> > > >>
> > > >>
> > > >>
> > > >> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
> > > >> antonis.kalodimos@gmail.com>) escribió:
> > > >>
> > > >>> Trying to folow this tutorial have these compile errors after
> putting
> > > the
> > > >>> <fx:script> tag
> > > >>> col: 1 Error: This tag is unexpected. It will be ignored.
> > > >>>
> > > >>> <fx:Script>
> > > >>> ^
> > > >>>
> > > >>> My code is the same as in the tutorial and it worked as expected
> > until
> > > >> the
> > > >>> step i n which fx:script tag need to be added
> > > >>>
> > > >>>
> > > >>>
> > > >>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
> > > >>> carlosrovira@apache.org> έγραψε:
> > > >>>
> > > >>>> Hi,
> > > >>>>
> > > >>>> new arcticle from Judah Frangipane is up!
> > > >>>>
> > > >>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
> > > >>>>
> > > >>>> don't forget to share the new tweet please! :)
> > > >>>>
> > > >>>> and enjoy!!
> > > >>>>
> > > >>>> --
> > > >>>> Carlos Rovira
> > > >>>> http://about.me/carlosrovira
> > > >>>>
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Carlos Rovira
> > > >> http://about.me/carlosrovira
> > > >>
> > >
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: New article on how to create a desktop app with Apache Royale and
ElectronJS
Posted by QA <fl...@gmail.com>.
Great work Piotr! I'll update the post with a link and add your notes!
Jude
PS (if you see this email twice my original replies were not sent to the
list)
On 5/28/19 5:59 AM, Piotr Zarzycki wrote:
> Hi Antonis,
>
> I took some time and I have created this example using Moonshine Jewel
> Hello World. Basically I have created new project and added steps related
> to Electron and I was able to run it using console window. If you are
> interested - Example is here with instruction. [1][2]
> Currently for some reason I cannot download Nightly build of Royale cause
> Jenkins doesn't work, but I hope Alex launch it today.
>
> Judah,
>
> Great work!
>
> I bump into a small issue - When I copied content of main.js file it failed
> launch application initially due to some characters -> () => {
>
> [1] https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
> [2]
> https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
>
> Thanks,
> Piotr
>
>
>
> pon., 27 maj 2019 o 20:40 Antonis Kalodimos <an...@gmail.com>
> napisał(a):
>
>> Yes i didn't send you the whole file i was the end part only
>> The whole part is from this page
>>
>> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
>> the same as in this page the HelloWorld.mxml and above
>> the <js:initialView> tag im inserted the script showed in the same page.
>>
>> The first error i found during truing to compile is from this line showed
>> in the example
>>
>> <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
>> this
>> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>>
>> after the build task know with apache-royale-0.9.4-bin-js usedfor
>> building i am receiving this in log shoewd in terminal vscode window
>>
>> last lines
>> using source file:
>> c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
>> The project 'HelloWorld' has been successfully compiled and optimized.
>> Error: File not found: org.apache.royale.events.utils.MouseEventConverter
>>
>> 90.8037847 seconds
>> The terminal process terminated with exit code: 3
>>
>> Terminal will be reused by tasks, press any key to close it.
>>
>>
>> Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <ha...@gmail.com>
>> έγραψε:
>>
>>> The XML is likely not well formed.
>>>
>>> Is the opening tag <fx:script> or <fx:Script> ?
>>>
>>>> On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
>>> antonis.kalodimos@gmail.com> wrote:
>>>> Yes i had this tag
>>>> .
>>>> .
>>>> .
>>>>
>>>> </fx:Script>
>>>> <js:initialView>
>>>> <js:View>
>>>> <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
>>>> <j:Button id="helloButton" text="Hello" x="20" y="20" click="
>>>> clickHandler(event)"/>
>>>> </js:View>
>>>> </js:initialView>
>>>> </js:Application>
>>>>
>>>> I found that i was trying to compile it with
>>> apache-royale-0.9.6-bin-js-swf
>>>> when i changed that with apache-royale-0.9.4-bin-js
>>>> problem resolved but nothing showed (with
>> apache-royale-0.9.6-bin-js-swf
>>>> the button and the text was showed.)
>>>>
>>>>
>>>>
>>>> Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
>>>> carlosrovira@apache.org> έγραψε:
>>>>
>>>>> Hi Antonis,
>>>>>
>>>>> are you adding it in the HelloWorld.mxml file
>>>>> before <js:initialView>?
>>>>> The error seems like you are trying to add it in other part of the
>> file
>>> or
>>>>> in other different file.
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
>>>>> antonis.kalodimos@gmail.com>) escribió:
>>>>>
>>>>>> Trying to folow this tutorial have these compile errors after putting
>>> the
>>>>>> <fx:script> tag
>>>>>> col: 1 Error: This tag is unexpected. It will be ignored.
>>>>>>
>>>>>> <fx:Script>
>>>>>> ^
>>>>>>
>>>>>> My code is the same as in the tutorial and it worked as expected
>> until
>>>>> the
>>>>>> step i n which fx:script tag need to be added
>>>>>>
>>>>>>
>>>>>>
>>>>>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
>>>>>> carlosrovira@apache.org> έγραψε:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> new arcticle from Judah Frangipane is up!
>>>>>>>
>>>>>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
>>>>>>>
>>>>>>> don't forget to share the new tweet please! :)
>>>>>>>
>>>>>>> and enjoy!!
>>>>>>>
>>>>>>> --
>>>>>>> Carlos Rovira
>>>>>>> http://about.me/carlosrovira
>>>>>>>
>>>>>
>>>>> --
>>>>> Carlos Rovira
>>>>> http://about.me/carlosrovira
>>>>>
>>>
>
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Antonis,
I took some time and I have created this example using Moonshine Jewel
Hello World. Basically I have created new project and added steps related
to Electron and I was able to run it using console window. If you are
interested - Example is here with instruction. [1][2]
Currently for some reason I cannot download Nightly build of Royale cause
Jenkins doesn't work, but I hope Alex launch it today.
Judah,
Great work!
I bump into a small issue - When I copied content of main.js file it failed
launch application initially due to some characters -> () => {
[1] https://github.com/prominic/Royale-Examples/tree/master/ElectronRoyale
[2]
https://github.com/prominic/Royale-Examples/blob/master/ElectronRoyale/README.md
Thanks,
Piotr
pon., 27 maj 2019 o 20:40 Antonis Kalodimos <an...@gmail.com>
napisał(a):
> Yes i didn't send you the whole file i was the end part only
> The whole part is from this page
>
> https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
> the same as in this page the HelloWorld.mxml and above
> the <js:initialView> tag im inserted the script showed in the same page.
>
> The first error i found during truing to compile is from this line showed
> in the example
>
> <js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to
> this
> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>
> after the build task know with apache-royale-0.9.4-bin-js usedfor
> building i am receiving this in log shoewd in terminal vscode window
>
> last lines
> using source file:
> c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
> The project 'HelloWorld' has been successfully compiled and optimized.
> Error: File not found: org.apache.royale.events.utils.MouseEventConverter
>
> 90.8037847 seconds
> The terminal process terminated with exit code: 3
>
> Terminal will be reused by tasks, press any key to close it.
>
>
> Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <ha...@gmail.com>
> έγραψε:
>
> > The XML is likely not well formed.
> >
> > Is the opening tag <fx:script> or <fx:Script> ?
> >
> > > On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
> > antonis.kalodimos@gmail.com> wrote:
> > >
> > > Yes i had this tag
> > > .
> > > .
> > > .
> > >
> > > </fx:Script>
> > > <js:initialView>
> > > <js:View>
> > > <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
> > > <j:Button id="helloButton" text="Hello" x="20" y="20" click="
> > > clickHandler(event)"/>
> > > </js:View>
> > > </js:initialView>
> > > </js:Application>
> > >
> > > I found that i was trying to compile it with
> > apache-royale-0.9.6-bin-js-swf
> > > when i changed that with apache-royale-0.9.4-bin-js
> > > problem resolved but nothing showed (with
> apache-royale-0.9.6-bin-js-swf
> > > the button and the text was showed.)
> > >
> > >
> > >
> > > Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
> > > carlosrovira@apache.org> έγραψε:
> > >
> > >> Hi Antonis,
> > >>
> > >> are you adding it in the HelloWorld.mxml file
> > >> before <js:initialView>?
> > >> The error seems like you are trying to add it in other part of the
> file
> > or
> > >> in other different file.
> > >>
> > >> Thanks
> > >>
> > >>
> > >>
> > >> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
> > >> antonis.kalodimos@gmail.com>) escribió:
> > >>
> > >>> Trying to folow this tutorial have these compile errors after putting
> > the
> > >>> <fx:script> tag
> > >>> col: 1 Error: This tag is unexpected. It will be ignored.
> > >>>
> > >>> <fx:Script>
> > >>> ^
> > >>>
> > >>> My code is the same as in the tutorial and it worked as expected
> until
> > >> the
> > >>> step i n which fx:script tag need to be added
> > >>>
> > >>>
> > >>>
> > >>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
> > >>> carlosrovira@apache.org> έγραψε:
> > >>>
> > >>>> Hi,
> > >>>>
> > >>>> new arcticle from Judah Frangipane is up!
> > >>>>
> > >>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
> > >>>>
> > >>>> don't forget to share the new tweet please! :)
> > >>>>
> > >>>> and enjoy!!
> > >>>>
> > >>>> --
> > >>>> Carlos Rovira
> > >>>> http://about.me/carlosrovira
> > >>>>
> > >>>
> > >>
> > >>
> > >> --
> > >> Carlos Rovira
> > >> http://about.me/carlosrovira
> > >>
> >
> >
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Antonis Kalodimos <an...@gmail.com>.
Yes i didn't send you the whole file i was the end part only
The whole part is from this page
https://royale.codeoscopic.com/how-to-create-a-desktop-application-with-royale-and-electron/
the same as in this page the HelloWorld.mxml and above
the <js:initialView> tag im inserted the script showed in the same page.
The first error i found during truing to compile is from this line showed
in the example
<js:Application xmlns:fx="//ns.adobe.com/mxml/2009" that i changed to this
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
after the build task know with apache-royale-0.9.4-bin-js usedfor
building i am receiving this in log shoewd in terminal vscode window
last lines
using source file:
c:\Works\NodeWorks\myElectron02\bin\js-debug\HelloWorld.js
The project 'HelloWorld' has been successfully compiled and optimized.
Error: File not found: org.apache.royale.events.utils.MouseEventConverter
90.8037847 seconds
The terminal process terminated with exit code: 3
Terminal will be reused by tasks, press any key to close it.
Στις Δευ, 27 Μαΐ 2019 στις 9:08 μ.μ., ο/η Harbs <ha...@gmail.com>
έγραψε:
> The XML is likely not well formed.
>
> Is the opening tag <fx:script> or <fx:Script> ?
>
> > On May 27, 2019, at 8:47 PM, Antonis Kalodimos <
> antonis.kalodimos@gmail.com> wrote:
> >
> > Yes i had this tag
> > .
> > .
> > .
> >
> > </fx:Script>
> > <js:initialView>
> > <js:View>
> > <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
> > <j:Button id="helloButton" text="Hello" x="20" y="20" click="
> > clickHandler(event)"/>
> > </js:View>
> > </js:initialView>
> > </js:Application>
> >
> > I found that i was trying to compile it with
> apache-royale-0.9.6-bin-js-swf
> > when i changed that with apache-royale-0.9.4-bin-js
> > problem resolved but nothing showed (with apache-royale-0.9.6-bin-js-swf
> > the button and the text was showed.)
> >
> >
> >
> > Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
> > carlosrovira@apache.org> έγραψε:
> >
> >> Hi Antonis,
> >>
> >> are you adding it in the HelloWorld.mxml file
> >> before <js:initialView>?
> >> The error seems like you are trying to add it in other part of the file
> or
> >> in other different file.
> >>
> >> Thanks
> >>
> >>
> >>
> >> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
> >> antonis.kalodimos@gmail.com>) escribió:
> >>
> >>> Trying to folow this tutorial have these compile errors after putting
> the
> >>> <fx:script> tag
> >>> col: 1 Error: This tag is unexpected. It will be ignored.
> >>>
> >>> <fx:Script>
> >>> ^
> >>>
> >>> My code is the same as in the tutorial and it worked as expected until
> >> the
> >>> step i n which fx:script tag need to be added
> >>>
> >>>
> >>>
> >>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
> >>> carlosrovira@apache.org> έγραψε:
> >>>
> >>>> Hi,
> >>>>
> >>>> new arcticle from Judah Frangipane is up!
> >>>>
> >>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
> >>>>
> >>>> don't forget to share the new tweet please! :)
> >>>>
> >>>> and enjoy!!
> >>>>
> >>>> --
> >>>> Carlos Rovira
> >>>> http://about.me/carlosrovira
> >>>>
> >>>
> >>
> >>
> >> --
> >> Carlos Rovira
> >> http://about.me/carlosrovira
> >>
>
>
Re: New article on how to create a desktop app with Apache Royale and
ElectronJS
Posted by Harbs <ha...@gmail.com>.
The XML is likely not well formed.
Is the opening tag <fx:script> or <fx:Script> ?
> On May 27, 2019, at 8:47 PM, Antonis Kalodimos <an...@gmail.com> wrote:
>
> Yes i had this tag
> .
> .
> .
>
> </fx:Script>
> <js:initialView>
> <js:View>
> <js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
> <j:Button id="helloButton" text="Hello" x="20" y="20" click="
> clickHandler(event)"/>
> </js:View>
> </js:initialView>
> </js:Application>
>
> I found that i was trying to compile it with apache-royale-0.9.6-bin-js-swf
> when i changed that with apache-royale-0.9.4-bin-js
> problem resolved but nothing showed (with apache-royale-0.9.6-bin-js-swf
> the button and the text was showed.)
>
>
>
> Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
> carlosrovira@apache.org> έγραψε:
>
>> Hi Antonis,
>>
>> are you adding it in the HelloWorld.mxml file
>> before <js:initialView>?
>> The error seems like you are trying to add it in other part of the file or
>> in other different file.
>>
>> Thanks
>>
>>
>>
>> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
>> antonis.kalodimos@gmail.com>) escribió:
>>
>>> Trying to folow this tutorial have these compile errors after putting the
>>> <fx:script> tag
>>> col: 1 Error: This tag is unexpected. It will be ignored.
>>>
>>> <fx:Script>
>>> ^
>>>
>>> My code is the same as in the tutorial and it worked as expected until
>> the
>>> step i n which fx:script tag need to be added
>>>
>>>
>>>
>>> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
>>> carlosrovira@apache.org> έγραψε:
>>>
>>>> Hi,
>>>>
>>>> new arcticle from Judah Frangipane is up!
>>>>
>>>> https://twitter.com/ApacheRoyale/status/1133025119075479552
>>>>
>>>> don't forget to share the new tweet please! :)
>>>>
>>>> and enjoy!!
>>>>
>>>> --
>>>> Carlos Rovira
>>>> http://about.me/carlosrovira
>>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Antonis Kalodimos <an...@gmail.com>.
Yes i had this tag
.
.
.
</fx:Script>
<js:initialView>
<js:View>
<js:Label id="helloLabel" text="Hello World" x="240" y="20"/>
<j:Button id="helloButton" text="Hello" x="20" y="20" click="
clickHandler(event)"/>
</js:View>
</js:initialView>
</js:Application>
I found that i was trying to compile it with apache-royale-0.9.6-bin-js-swf
when i changed that with apache-royale-0.9.4-bin-js
problem resolved but nothing showed (with apache-royale-0.9.6-bin-js-swf
the button and the text was showed.)
Στις Δευ, 27 Μαΐ 2019 στις 8:39 μ.μ., ο/η Carlos Rovira <
carlosrovira@apache.org> έγραψε:
> Hi Antonis,
>
> are you adding it in the HelloWorld.mxml file
> before <js:initialView>?
> The error seems like you are trying to add it in other part of the file or
> in other different file.
>
> Thanks
>
>
>
> El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
> antonis.kalodimos@gmail.com>) escribió:
>
> > Trying to folow this tutorial have these compile errors after putting the
> > <fx:script> tag
> > col: 1 Error: This tag is unexpected. It will be ignored.
> >
> > <fx:Script>
> > ^
> >
> > My code is the same as in the tutorial and it worked as expected until
> the
> > step i n which fx:script tag need to be added
> >
> >
> >
> > Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
> > carlosrovira@apache.org> έγραψε:
> >
> > > Hi,
> > >
> > > new arcticle from Judah Frangipane is up!
> > >
> > > https://twitter.com/ApacheRoyale/status/1133025119075479552
> > >
> > > don't forget to share the new tweet please! :)
> > >
> > > and enjoy!!
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Carlos Rovira <ca...@apache.org>.
Hi Antonis,
are you adding it in the HelloWorld.mxml file
before <js:initialView>?
The error seems like you are trying to add it in other part of the file or
in other different file.
Thanks
El lun., 27 may. 2019 a las 18:21, Antonis Kalodimos (<
antonis.kalodimos@gmail.com>) escribió:
> Trying to folow this tutorial have these compile errors after putting the
> <fx:script> tag
> col: 1 Error: This tag is unexpected. It will be ignored.
>
> <fx:Script>
> ^
>
> My code is the same as in the tutorial and it worked as expected until the
> step i n which fx:script tag need to be added
>
>
>
> Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
> carlosrovira@apache.org> έγραψε:
>
> > Hi,
> >
> > new arcticle from Judah Frangipane is up!
> >
> > https://twitter.com/ApacheRoyale/status/1133025119075479552
> >
> > don't forget to share the new tweet please! :)
> >
> > and enjoy!!
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: New article on how to create a desktop app with Apache Royale and ElectronJS
Posted by Antonis Kalodimos <an...@gmail.com>.
Trying to folow this tutorial have these compile errors after putting the
<fx:script> tag
col: 1 Error: This tag is unexpected. It will be ignored.
<fx:Script>
^
My code is the same as in the tutorial and it worked as expected until the
step i n which fx:script tag need to be added
Στις Δευ, 27 Μαΐ 2019 στις 6:39 μ.μ., ο/η Carlos Rovira <
carlosrovira@apache.org> έγραψε:
> Hi,
>
> new arcticle from Judah Frangipane is up!
>
> https://twitter.com/ApacheRoyale/status/1133025119075479552
>
> don't forget to share the new tweet please! :)
>
> and enjoy!!
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>