Choirul,

You are probably not pointing to the right folder. Let's start from the
beginning.

1) Download nightly build [1]
2) Unpack folder and point in menu File -> Settings -> Default SDK - folder
"royale-asjs" from unpacked archive
3) Click on home screen Open Apache Flex/Royale project...
4) Select folder from unpacked archive [1] examples\royale\TourDeJewel\ OR
go to that folder and double click on TourDeJewel.as3proj
5) Menu Project -> Build and Run as JavaScript

Once you do above steps provide me console, but it should work.

[1]
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/

Thanks,
Piotr

śr., 27 lut 2019 o 10:33 choirul anam <[email protected]> napisał(a):

> when i use this option:
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -html-template=src/main/resources/jewel-example-index-template.html
> -js-dynamic-access-unknown-members=true
>
> get console log:
> : Internal error: java.io.IOException: Template specified by
> 'html-template'
> does not exist:
>
> D:\xampp\htdocs\apache-royale-0.9.6-bin-js-swf\royale-asjs\examples\royale\TourDeJewel\src\main\src\main\resources\jewel-example-index-template.html
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.writeTemplate(MXMLRoyalePublisher.java:687)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:464)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:436)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:263)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:220)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:367)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:302)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:260)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:242)
>
> And application can not start.
>
> When i romove the html-template option:
>
> -html-template=src/main/resources/jewel-example-index-template.html
>
> and just use this option:
>
> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -js-dynamic-access-unknown-members=true
>
> The project Build successfully and run on the browser perfectly.
>
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to