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 <antonis.kalodi...@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.li...@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.kalodi...@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 <
carlosrov...@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.kalodi...@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 <
carlosrov...@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



Reply via email to