Re: Discuss of release steps preparation

2019-07-22 Thread Alex Harui
Hi Piotr, The email with the subject "Release Step 003 Succeeded" says: 1. If you are releasing the utils jars (compiler-jburg-types and compiler-build-tools), Run: ant -f releasesteps.xml Release_Step_003 -Dutils=true -Drelease.version=0.9.6 It looks like you are not using the -Dutils=true.

Re: AMF and class aliases

2019-07-22 Thread Greg Dove
Andrew, you mentioned this was being 'deserialized', so I assume this is coming from the server as an untyped (plain) Object? In that case, it will be deserialized with the correct original field name from the server ('RESULT_CODE' in this case), but there is no typed reference to that in your loc

Re: AMF and class aliases

2019-07-22 Thread Alex Harui
FWIW, AIUI, the property names of plain Objects and public vars will be renamed unless a quoted string of that property name is used "somewhere" in the JS code. It might have worked just to use JSON-style: {"RESULT_CODE": "OK"} Creating a class definition causes the compiler to generate an Obje

Jenkins build is back to normal : royale-asjs_jsonly #3285

2019-07-22 Thread Apache Royale CI Server
See

RE: ComboBox list-item renderer

2019-07-22 Thread Frost, Andrew
Thanks - yes we can try that, the issue being that we don't want all combo box lists to appear the same way hence trying to have something embedded into each bit of mxml... We'll take a proper look and see what we can get :-) cheers -Original Message- From: Yishay Weiss Sent: 22

Re: library-path changes

2019-07-22 Thread Josh Tynjala
Thanks for posting that, Carlos. It reminded me of another rule that's important: All "typedefs" SWCs should always be added to the external-library-path. Even if you are building an app and not a library, typedefs must be external (because they are provided natively by the browser or using a

Re: library-path changes

2019-07-22 Thread Carlos Rovira
btw, I was getting something like this: /Users/carlosrovira/.m2/repository/org/apache/royale/typedefs/royale-typedefs-gcl/0.9.6-SNAPSHOT/royale-typedefs-gcl-0.9.6-SNAPSHOT-typedefs.swc /Users/carlosrovira/.m2/repository/org/apache/royale/framework/Core/0.9.6-SNAPSHOT/Core-0.9.6-SNAPSHOT-js.sw

Re: library-path changes

2019-07-22 Thread Carlos Rovira
Hi Josh I think it should be "runtime" for this from [1]: *provided* This is much like compile, but indicates you expect the JDK or a container to provide the dependency at *runtime*. ... *runtime* This *scope* indicates that the dependency is not required for compilation, but is for execution. I

Re: library-path changes

2019-07-22 Thread Josh Tynjala
When you compile a SWC, the framework libraries need to be on external-library-path (or js-external-library-path or swf-external-library-path). When you changed forceSwcExternalLibraryPath to false, this may have moved some of the libraries to the library-path instead. You don't want that. You can

RE: ComboBox list-item renderer

2019-07-22 Thread Yishay Weiss
Note that the overridden css is of ComboBoxList, which is by default the list created in runtime, not ComboBox, which is the button that creates the list. From: Yishay Weiss Sent: Monday, July 22, 2019 8:13:31 PM To: dev@royale.apache.org Subject: RE: ComboBox

RE: ComboBox list-item renderer

2019-07-22 Thread Yishay Weiss
Actually, have you tried something like this in your css? ComboBoxList { IItemRenderer: ClassReference("com.ccc.myRenderer"); } From: Yishay Weiss Sent: Monday, July 22, 2019 8:08 PM Subject: RE: ComboBox list-item renderer Oh, it looks like you’re one step ahead

Re: ComboBox list-item renderer

2019-07-22 Thread Carlos Rovira
In fact, neither Basic or Jewel ComboBox has itemRenderer property ;) @Andrew, what about to submit a PR to add this one? though it would be possible? thanks El lun., 22 jul. 2019 a las 19:07, Yishay Weiss () escribió: > Oh, it looks like you’re one step ahead of me. Didn’t read your mail > c

RE: ComboBox list-item renderer

2019-07-22 Thread Yishay Weiss
Oh, it looks like you’re one step ahead of me. Didn’t read your mail carefully enough. I think you can safely open a bug, or try to write the bead yourself. From: Frost, Andrew Sent: Monday, July 22, 2019 7:53 PM To: dev@royale.apache.org

Re: library-path changes

2019-07-22 Thread Carlos Rovira
Hi, the compilation was ok, but I'm facing now a blank page. I'm getting in debug mode: [Error] Error: Undefined nameToPath for org.apache.royale.events.EventDispatcher visitNode (base.js:1357) visitNode (base.js:1355) visitNode (base.js:1355) writeScripts_ (base.js:1369) require (base.js:706) Có

RE: ComboBox list-item renderer

2019-07-22 Thread Frost, Andrew
Thanks - yes, happy to adjust our code to that sort of format, but we continue to hit the issue that this is a renderer for a list, being set on the list, and we want to have a renderer for the list that's being created at runtime from the combo box. It might be that we can set the itemRenderer

RE: ComboBox list-item renderer

2019-07-22 Thread Yishay Weiss
Another option is to specify the renderer class as an mxml att [1]. ItemRenderers are not beads, so adding them to the beads list has no effect (it should actually cause an RTE). [1] https://github.com/apache/royale-asjs/blob/f637c857122d56f838bab21314a11900ed0add8e/examples/royale/TodoListSa

Re: ComboBox list-item renderer

2019-07-22 Thread Frost, Andrew
Hi Carlos I'd looked at your example, and it works fine when we're rendering a "List" control, but if you change your "j:List" into "j:ComboBox" then the renderer is no longer used... Perhaps we need to set the renderer up on the list object that's generated manually .. but setting this via th

Re: library-path changes

2019-07-22 Thread Carlos Rovira
Hi, I think finally reach to the problem, I had more of this in each library true So now I'm getting all the rest libs compiling properly thanks for the help :) Carlos El lun., 22 jul. 2019 a las 18:32, Carlos Rovira () escribió: > I get the following progress: > > first library was comp

Re: library-path changes

2019-07-22 Thread Carlos Rovira
I get the following progress: first library was compiled by commenting forceSwcExternalLibraryPath since I have all libraries in the same folder "roaylelibs" org.apache.royale.compiler royale-maven-plugin ${royale.compiler.version} but now the next one is failing in the same way as the

Re: library-path changes

2019-07-22 Thread Carlos Rovira
I think the license header would be added in all files at some point for all files to prevent RAT plugin to make compilation fail, so I'm figuring it was something done manual El lun., 22 jul. 2019 a las 17:57, Josh Tynjala () escribió: > You're right. I remember seeing that the Royale Maven plug

Re: Discuss of release steps preparation

2019-07-22 Thread Piotr Zarzycki
Hi Alex, I have made adjustment to documentation. I'm on step 3 where I need build on my end sources. I have run on my PC this: ant -f releasesteps.xml Release_Step_003 -Drelease.version=0.9.6 It downloads sources and maven artifacts, but it also tried build them automatically as I understa. I g

Re: library-path changes

2019-07-22 Thread Josh Tynjala
You're right. I remember seeing that the Royale Maven plugin generates compile-swf-config.xml and compile-js-config.xml. It's strange that your Codeoscopic copyright header is added to compiler-swf-config.xml, though. I wouldn't expect Maven to do that... unless maybe you have some other plugin th

Re: library-path changes

2019-07-22 Thread Carlos Rovira
Hi Josh, since my build is JS, I removed all "compile-swf-config.xml", but executing again "mvn clean install", makes a "compile-swf-config.xml" file be generated in target folder so I think is something in royale maven plugin that creates that file in target folder. But is strange since as I say

Re: library-path changes

2019-07-22 Thread Josh Tynjala
The append attribute has existed since the Flex days. -- Josh Tynjala Bowler Hat LLC On Mon, Jul 22, 2019 at 8:34 AM Carlos Rovira wrote: > Hi Harbs, > thanks, the append attribute is new one? it was introduced recently? > > thanks > > El lun., 22 jul. 2019 a las 17:29,

Re: library-path changes

2019-07-22 Thread Carlos Rovira
Hi Harbs, thanks, the append attribute is new one? it was introduced recently? thanks El lun., 22 jul. 2019 a las 17:29, Harbs () escribió: > Make sure you have for the JS config: > > > The append wil make sure you keep the default values. > > Here’s where I updated some of the libs I’m using:

Re: library-path changes

2019-07-22 Thread Josh Tynjala
You created compile-swf-config.xml in your own project. It is not generated by the compiler. You are loading it with this compiler option: -load-config=/Users/carlosrovira/Dev/Codeoscopic/Source/sgc/royale/royalelibs/royalejewel/target/compile-swf-config.xml Normally, it would extend the defaul

Re: ComboBox list-item renderer

2019-07-22 Thread Carlos Rovira
Hi Andrew, for this one in Royale it use to be done in CSS. For example in tour de jewel for List we do: Source code in GitHub and in iconListItemRenderer you can find .iconLis

Re: library-path changes

2019-07-22 Thread Harbs
Make sure you have for the JS config: The append wil make sure you keep the default values. Here’s where I updated some of the libs I’m using: https://github.com/unhurdle/cep-royale/commit/35d45906035e3d1997d70a67893cc096307a3842

Re: AMF and class aliases

2019-07-22 Thread Carlos Rovira
Great to hear that Andrew! :) although, maybe others will have some more clues about how to get release mode work too. I think is amazing to see a royale app working in release mode since is blazing fast, and customers use to be impressed by the amazing performance ;) El lun., 22 jul. 2019 a las

Re: library-path changes

2019-07-22 Thread Carlos Rovira
ops, forget my latest mensaje about define, I was confused and now I see that is just a "define" :? sorry

Re: library-path changes

2019-07-22 Thread Carlos Rovira
one more thing that is strange to me is this part: COMPILE::SWF true COMPILE::JS false Since I don't use SWF (although it does not care if SWF config is in the project), but should be JS true and SWF true or false. El lun., 22 jul. 2019 a las 17:20, Carlos Rovira () escribió: > Hi Josh, >

Re: library-path changes

2019-07-22 Thread Carlos Rovira
Hi Josh, playerglobal.swc is ok, but can you point me to some place where "js.swc" is used? contents of compile-swf-config.xml are the following: false SWF JSRoyale true ${env.AIR_HOME}/frameworks/libs/air/airglobal.swc ../../../../../libs/Binding.swc ../../../../../libs/Core.swc ../../

ComboBox list-item renderer

2019-07-22 Thread Frost, Andrew
Hi again Just in case someone's already done this and knows already how to set it up: we want to have an itemRenderer for the ListView part of a ComboBox control, i.e. when you click on the ComboBox button and it creates the ListView, we need a custom renderer. Currently it's defaulting to Stri

Re: AMF and class aliases

2019-07-22 Thread Piotr Zarzycki
Hi Andrew, Congrats! Customer's happiness is all about what we wanted for this project :) Thanks, Piotr pon., 22 lip 2019 o 17:01 Frost, Andrew napisał(a): > Perfect, thanks! With a bit of a mixture of typing and then of using that > format with the accessing, it worked.. I didn't want to have

Re: AMF and class aliases

2019-07-22 Thread Frost, Andrew
Perfect, thanks! With a bit of a mixture of typing and then of using that format with the accessing, it worked.. I didn't want to have to create class definitions for all of these various options but just using the ["RESULT_CODE"] notification in ActionScript means that the generated (and minifi

Re: library-path changes

2019-07-22 Thread Josh Tynjala
Error: Missing builtin type Object This error usually means that either playerglobal.swc or js.swc is missing. It would be difficult to suggest anything more without seeing the contents of compile-swf-config.xml. -- Josh Tynjala Bowler Hat LLC On Mon, Jul 22, 2019 at 7

library-path changes

2019-07-22 Thread Carlos Rovira
Hi, after latest changes with "library-path" I'm trying to update my project with no luck. Hope someone could let me know some guide since all what I tried didn't work and always get this: [*INFO*] *--- *royale-maven-plugin:0.9.6-SNAPSHOT:compile-as *(default-compile-as)* @ royalejewel* ---* [*

Re: Maven distribution changes

2019-07-22 Thread Carlos Rovira
ok Josh, thanks, so we'll need to revisit this at some time to see how is missing. Thanks! Carlos El lun., 22 jul. 2019 a las 15:52, Josh Tynjala () escribió: > It was a step in that direction. I did not test it in VSCode to see if it > had become a valid SDK for code intelligence again. I don't

Re: Maven distribution changes

2019-07-22 Thread Josh Tynjala
It was a step in that direction. I did not test it in VSCode to see if it had become a valid SDK for code intelligence again. I don't know for sure what other changes are necessary to make that happen. - Josh On Mon, Jul 22, 2019, 6:39 AM Carlos Rovira wrote: > Hi Piotr, > > I'm asking for this

Re: AMF and class aliases

2019-07-22 Thread Carlos Rovira
Hi Andrew, first of all if you are using ArrayCollection and not ArrayList you must configure that. In my code I'm using this to configure ArrayList as the type royale must use when send and receive java ArrayCollection: registerClassAlias("flex.messaging.io.ArrayCollection", ArrayList); (don't

Re: Maven distribution changes

2019-07-22 Thread Piotr Zarzycki
Hi Carlos, Ok. I did understand this differently than. I'm sorry about that. Thanks, Piotr pon., 22 lip 2019 o 15:39 Carlos Rovira napisał(a): > Hi Piotr, > > I'm asking for this specific commit from Josh: "fixes for config files in > Maven distribution" : 85333c6f6d0a98e1b0a1ff984e81255a69479

Re: Maven distribution changes

2019-07-22 Thread Carlos Rovira
Hi Piotr, I'm asking for this specific commit from Josh: "fixes for config files in Maven distribution" : 85333c6f6d0a98e1b0a1ff984e81255a6947942b For this reason I asked Josh if this commit was fixing distribution or was a step in that direction but doesn't finish to solve the issue. El dom., 2

Jenkins build is back to normal : royale-asjs_MXTests #965

2019-07-22 Thread Apache Royale CI Server
See

Jenkins build is back to normal : royale-asjs #2499

2019-07-22 Thread Apache Royale CI Server
See

Jenkins build is back to normal : royale-asjs_jsonly #3283

2019-07-22 Thread Apache Royale CI Server
See

Re: AMF and class aliases

2019-07-22 Thread Frost, Andrew
Hi again One extra question here: we have the AMF connection working fine now in Debug mode, but in Release mode the minifier is changing the property names of our JavaScript (compiled from ActionScript), but these are not being reflected in the objects that are deserialised. So for example, w

Build failed in Jenkins: royale-asjs #2498

2019-07-22 Thread Apache Royale CI Server
See Changes: [yishayjobs] Fixes runtime error for #432 [yishayjobs] remove unnecessary dependency -- [...truncated 1.89 MB...] [java]