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/