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="http://ns.adobe.com/mxml/2009"
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: http://apache-royale-development.20373.n8.nabble.com/