Are you using the feature/MXRoyale branch in royale-asjs?
On 7/16/18, 11:04 PM, "chembali" <[email protected]> wrote:
Met with the Management. They insisted on POC including the development of
at
least one emulation component by me in order to proceed with the project. I
am starting on the POC work now. I got the Apache-Royale source tree cloned
and did the build without any issues. I just tried to transpile a simple
mxml file to test my build. Here is the mxml I tried.
<?xml version="1.0"?>
<mx:Application
xmlns:fx="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C38ae9d025c7b4119434f08d5ebab318d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636674042857406660&sdata=fBmYwGgz0TbrtObCqCUf2QcJz34XlcY3UCB6mJwqLks%3D&reserved=0"
xmlns:mx="library://ns.apache.org/royale/mx">
<mx:VBox id="vbox1">
<mx:Label text="Infogix Insight"/>
<mx:Button label="Control1"
toolTip="Changes the icon in the button below." />
<mx:Button id="Button2" label="Control2" toolTip="Makes the text
below a lot shorter."/>
<mx:NumericStepper minimum="50" maximum="100" value="75" />
<mx:Spacer height="30" />
</mx:VBox>
<mx:HBox id="hbox1">
<mx:Label text="Insight UI Controls"/>
<mx:LinkButton label="infogix.cm" />
<mx:Button label="Contacts" toolTip="Tooltip text" />
<mx:Button label="Control Views" toolTip="Control Views" />
</mx:HBox>
<mx:Canvas width="300" height="300">
<mx:Label text="Users" x="10" />
<mx:Label text="Groups" x="100"/>
<mx:Label text="Profiles" x="200"/>
</mx:Canvas>
<mx:TextArea text="This is the TextArea control!"
maxChars="100"/>
</mx:Application>
The command that I used to compile is
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 error.
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\InfogixInsightJS
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
tJS
C:\devenv\ii\trunk\components\InfogixInsight\MXRoyaleJS.swc:defaults.css(65):
co
l: 14 Error: org.apache.royale.core.beads.views.ContainerView is not
defined.
C:\devenv\ii\trunk\components\InfogixInsight\MXRoyaleJS.swc:defaults.css(65):
co
l: 14 Error: org.apache.royale.core.beads.views.ContainerView is not
defined.
C:\devenv\ii\trunk\components\InfogixInsight\MXRoyaleJS.swc:defaults.css(65):
co
l: 14 Error: org.apache.royale.core.beads.views.ContainerView is not
defined.
3.80624289 seconds
Any ideas? Your quick help is much appreciated.
--
Sent from:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C38ae9d025c7b4119434f08d5ebab318d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636674042857406660&sdata=y8x2weu3wqq2BWFoszfvIhr47K%2FO4z2pijiPI%2BN1WRI%3D&reserved=0