You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by bhau <bh...@gmail.com> on 2018/09/12 21:53:11 UTC
Re: compc compiler error
Hi Alex,
I have integrated with gradle and it executed compc without any error. But I
didn't see get generated swc file. After some debugging I found that there
were many errors [Problems] like these. It got failed silently but returned
0 exit code.
'Generated byte code contains an operand stack underflow.'
Any advise.
Thanks,
--Bhau
--
Sent from: http://apache-royale-development.20373.n8.nabble.com/
Re: compc compiler error
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Bhau,
1. You can look at the TourDeFlex example in examples/mxroyale/tourdeflexmodules. Last time I looked Panels in Modules were showing up correctly.
2. I would try to avoid mixing component sets. Use Basic+HTML or MXRoyale+SparkRoyale.
3. Make sure you are on the latest nightly build. I had a similar problem with ComboBox recently. I have not tried Spark ComboBox.
If you are going to use MXRoyale+SparkRoyale, the Flex docs will be mostly relevant. If you are using Basic+HTML you can look at the examples in examples/royale plus the ASDoc for Royale.
HTH,
-Alex
On 10/9/18, 9:42 AM, "bhau" <bh...@gmail.com> wrote:
Hi Alex,
I am getting empty page (or component) for some components, even though it
compiled without any issue.
Here are some of many confusions I have:
1) mx:Panel shows on screen but mx:Module doesn't
2) Mix-n-match of mx or spark or basic or html namespace components does not
show at lot on page.
3) mx:ComboBox shows empty drop down box (even though dataProvider with good
data {label:, data:}
is bound and spark:ComboBox does not show any box at all.
4) Is there any pattern to follow for using Application or View or Panel or
container or Module components?
5) Is there any document available to look into when designing UI screens ?
Thanks,
--Bhau
--
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%7C6b04ae277f3241a2ab3608d62e06264f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636747001279009587&sdata=wqouT4CIbtnVf0BZ1A7Y2v3PB4ZdYs%2BPh4hYwWs0FUs%3D&reserved=0
Re: compc compiler error
Posted by bhau <bh...@gmail.com>.
Hi Alex,
I am getting empty page (or component) for some components, even though it
compiled without any issue.
Here are some of many confusions I have:
1) mx:Panel shows on screen but mx:Module doesn't
2) Mix-n-match of mx or spark or basic or html namespace components does not
show at lot on page.
3) mx:ComboBox shows empty drop down box (even though dataProvider with good
data {label:, data:}
is bound and spark:ComboBox does not show any box at all.
4) Is there any pattern to follow for using Application or View or Panel or
container or Module components?
5) Is there any document available to look into when designing UI screens ?
Thanks,
--Bhau
--
Sent from: http://apache-royale-development.20373.n8.nabble.com/
Re: compc compiler error
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Bhau,
It should be in the royale-asjs repo. Here's a link to it on GitHub
https://github.com/apache/royale-asjs/tree/develop/manualtests/LocaleTest
-Alex
On 9/17/18, 9:39 AM, "bhau" <bh...@gmail.com> wrote:
Hi Alex,
I could not find example for localized string management.
Where can I find 'manualtests/LocaleTest' ?
Thanks,
--Bhau
--
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%7C7572196897804a3eafd108d61cbc1471%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636727991459037048&sdata=gx4t5QFw8iZlQZy3d92T9E%2BWfHDH7B5RN5%2FRogelQuM%3D&reserved=0
Re: compc compiler error
Posted by bhau <bh...@gmail.com>.
Hi Alex,
I could not find example for localized string management.
Where can I find 'manualtests/LocaleTest' ?
Thanks,
--Bhau
--
Sent from: http://apache-royale-development.20373.n8.nabble.com/
Re: compc compiler error
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Bhau,
Are you compiling our sources? If so, the Ant target copy-compiler copies the latest compiler jars from royale-compielr to royale-asjs.
Regarding bindingUtils, changeWatcher and resourceManager: there are no direct equivalents yet, but if you can provide examples of how you are using them, there is probably a way to do it in Royale. There is an example of localized string management in manualtests/LocaleTest. There are Binding Beads like SimpleBinding and ConstantBinding you can use.
HTH,
-Alex
On 9/13/18, 8:28 AM, "bhau" <bh...@gmail.com> wrote:
Hi,
I am trying to find a better way to merge my changes with latest build and
will test it with latest build.
What are the alternatives for bindingutils , changewatcher and resource
manager classes? Does royale api has something to replace with?
-- Bhau
--
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%7C2345ec3e00de4dbdbdcf08d6198d9895%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724493277847065&sdata=1pBAbPSrP7KhN%2FbUVOTWNCj9wwqNAliUoJLxcEUq%2F%2FM%3D&reserved=0
Re: compc compiler error
Posted by bhau <bh...@gmail.com>.
Hi,
I am trying to find a better way to merge my changes with latest build and
will test it with latest build.
What are the alternatives for bindingutils , changewatcher and resource
manager classes? Does royale api has something to replace with?
-- Bhau
--
Sent from: http://apache-royale-development.20373.n8.nabble.com/
Re: compc compiler error
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Bhau,
The latest compiler should now report a failure instead of a 0 exit code. The error you are seeing is typically from some unexpected MXML that the compile doesn't currently handle. If you can comment out some of the MXML you might be able to tell us what MXML the compiler can't handle.
Thanks,
-Alex
On 9/12/18, 2:53 PM, "bhau" <bh...@gmail.com> wrote:
Hi Alex,
I have integrated with gradle and it executed compc without any error. But I
didn't see get generated swc file. After some debugging I found that there
were many errors [Problems] like these. It got failed silently but returned
0 exit code.
'Generated byte code contains an operand stack underflow.'
Any advise.
Thanks,
--Bhau
--
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%7Cfd7019b1301442e2a19508d618fa2456%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636723859962337635&sdata=Q0vPon8iMQLIb5I%2FKaXKz9ofSNcYeRzLjn%2F2bzEq0g8%3D&reserved=0