royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chembali <chemb...@hotmail.com>
Subject Re: Migrating Enterprise Flex Application
Date Tue, 17 Jul 2018 07:28:44 GMT
I switched to the MxRoyale branch and did the build and it the build was
successful. Then I ran the same command to transpile.

C:\devenv\GitHub\royale-asjs\royale-asjs\js\bin\mxmlc -targets=JSRoyale
C:\devenv\ii\trunk\components\ControlsManagement\src-flexui\com\infogix\insight\component\controlsmanagement\exp\view\controls\InsightRoyaleTestUI.mxml
-js-output=C:\devenv\ii\trunk\components\InfogixInsight\build\flex\InfogixInsightJS

It failed with the following message. 

C:\devenv\ii\trunk\components\InfogixInsight>C:\devenv\GitHub\royale-asjs\royale
-asjs\js\bin\mxmlc -targets=JSRoyale
C:\devenv\ii\trunk\components\ControlsManag
ement\src-flexui\com\infogix\insight\component\controlsmanagement\exp\view\contr
ols\InsightRoyaleTestUI.mxml
-js-output=C:\devenv\ii\trunk\components\InfogixIns
ight\build\flex\InfogixInsightJS3
Using Royale Compiler codebase:
C:\devenv\GitHub\royale-asjs\royale-asjs\js\bin\
..\..
Using Royale SDK: C:\devenv\GitHub\royale-asjs\royale-asjs
MXMLJSC
-sdk-js-lib=C:\devenv\GitHub\royale-asjs\royale-asjs\frameworks\js\Royale\genera
ted-sources
-targets=JSRoyale
C:\devenv\ii\trunk\components\ControlsManagement\src-flexui\com\infogix\insight\
component\controlsmanagement\exp\view\controls\InsightRoyaleTestUI.mxml
-js-output=C:\devenv\ii\trunk\components\InfogixInsight\build\flex\InfogixInsigh
tJS3
Compiling file:
C:\devenv\ii\trunk\components\InfogixInsight\build\flex\InfogixI
nsightJS3\bin\js-debug\InsightRoyaleTestUI.js
InsightRoyaleTestUI as: []
InsightRoyaleTestUI mxml: [mx.containers.VBox, mx.controls.Label,
mx.controls.Bu
tton, mx.controls.NumericStepper, mx.controls.Spacer, mx.containers.HBox,
mx.con
trols.LinkButton, mx.containers.Canvas, mx.controls.TextArea,
InsightRoyaleTestU
I, mx.core.Application]
find project folder for
c:\devenv\ii\trunk\components\controlsmanagement\src-fle
xui\com\infogix\insight\component\controlsmanagement\exp\view\controls\insightro
yaletestui.mxml
checking source path
C:\devenv\ii\trunk\components\ControlsManagement\src-flexui
\com\infogix\insight\component\controlsmanagement\exp\view\controls
Internal error: java.lang.RuntimeException: Parameter 'closure-lib' not
specifie
d and closure resources not available in classpath.
org.apache.royale.compiler.i
nternal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java
:318)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java
:384)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.
java:240)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoya
le.java:197)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:
363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:299)org.a
pache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:258)org.apac
he.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:240)

Then I updated the transpile comand as shown below and ran again.

C:\devenv\GitHub\royale-asjs\royale-asjs\js\bin\mxmlc -closure-lib
C:\devenv\GitHub\royale-asjs\royale-asjs\js\lib\google\closure-compiler
-targets=JSRoyale
C:\devenv\ii\trunk\components\ControlsManagement\src-flexui\com\infogix\insight\component\controlsmanagement\exp\view\controls\InsightRoyaleTestUI.mxml
-js-output=C:\devenv\ii\trunk\components\InfogixInsight\build\flex\InfogixInsightJS

It failed with the below message.

Using Royale Compiler codebase:
C:\devenv\GitHub\royale-asjs\royale-asjs\js\bin\
..\..
Using Royale SDK: C:\devenv\GitHub\royale-asjs\royale-asjs
MXMLJSC
-sdk-js-lib=C:\devenv\GitHub\royale-asjs\royale-asjs\frameworks\js\Royale\genera
ted-sources
-closure-lib
C:\devenv\GitHub\royale-asjs\royale-asjs\js\lib\google\closure-compiler
-targets=JSRoyale
C:\devenv\ii\trunk\components\ControlsManagement\src-flexui\com\infogix\insight\
component\controlsmanagement\exp\view\controls\InsightRoyaleTestUI.mxml
-js-output=C:\devenv\ii\trunk\components\InfogixInsight\build\flex\InfogixInsigh
tJS
Compiling file:
C:\devenv\ii\trunk\components\InfogixInsight\build\flex\InfogixI
nsightJS\bin\js-debug\InsightRoyaleTestUI.js
InsightRoyaleTestUI as: []
InsightRoyaleTestUI mxml: [mx.containers.VBox, mx.controls.Label,
mx.controls.Bu
tton, mx.controls.NumericStepper, mx.controls.Spacer, mx.containers.HBox,
mx.con
trols.LinkButton, mx.containers.Canvas, mx.controls.TextArea,
InsightRoyaleTestU
I, mx.core.Application]
find project folder for
c:\devenv\ii\trunk\components\controlsmanagement\src-fle
xui\com\infogix\insight\component\controlsmanagement\exp\view\controls\insightro
yaletestui.mxml
checking source path
C:\devenv\ii\trunk\components\ControlsManagement\src-flexui
\com\infogix\insight\component\controlsmanagement\exp\view\controls
Internal error: java.lang.IllegalArgumentException: Parameter 'directory' is
not
 a directory
org.apache.commons.io.FileUtils.validateListFilesParameters(FileUti
ls.java:545)org.apache.commons.io.FileUtils.listFiles(FileUtils.java:521)org.apa
che.royale.compiler.internal.codegen.js.goog.JSGoogPublisher.getDirectoryResourc
es(JSGoogPublisher.java:290)org.apache.royale.compiler.internal.codegen.mxml.roy
ale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:313)org.apache.royale.c
ompiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:384)org.apache.royale.c
ompiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:240)org.apache.roya
le.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:197)org.apache.r
oyale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.co
mpiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:299)org.apache.royale.compiler.cl
ients.MXMLJSC.staticMainNoExit(MXMLJSC.java:258)org.apache.royale.compiler.clien
ts.MXMLJSC.main(MXMLJSC.java:240)

Any idea what I am doing wrong? Thank you,










--
Sent from: http://apache-royale-development.20373.n8.nabble.com/

Mime
View raw message