[ASJS] Merging to Maven

2016-04-27 Thread Christofer Dutz
Hi, I'm continuing my work on migrating the flex ASJS project to build the parts in "frameworks/projects" with Maven. Here I'm getting some strange errors, that I don't quite understand and don't quite know how to resolve. I'll just post part of the errors from the compiler. Hopefully someone

AW: [ASJS] Merging to Maven

2016-04-27 Thread Christofer Dutz
I also have a few questions: 1. Why does every project in framework/projects reference airglobal instead of playerglobal? 2. Why to we reference air, but set the playerversion? 3. Every module has one config vor actionscript and one for javascript compilation, why does "Charts" have 4 of them?

Re: [ASJS] Merging to Maven

2016-04-27 Thread Harbs
I’m not sure I’m correct here, but I think some of the projects are using specific compiler flags to compile correctly. I know this is true for the XML project (which I was working on). It needs the "-compiler.strict-xml=true” flag. I’m not sure I’m making sense, but maybe it’s helpful to you…

AW: [ASJS] Merging to Maven

2016-04-27 Thread Christofer Dutz
Hi Harbs, thanks to your pointer I noticed, that usually the dependencies to other libs are configured in the condig.xml files, but some are injected using the command-line args, I streamlined that an now I was able to successfully run the asjs part on Core ... now I have to find out what's goi

AW: [ASJS] Merging to Maven

2016-04-27 Thread Christofer Dutz
So I now seem to be getting compile errors from the actionscript part: [ERROR] Failed to execute goal org.apache.flex.flexjs.compiler:flexjs-maven-plugin:0.6.0-SNAPSHOT:compile-as (default-compile-as) on project Core: Execution default-compile-as of goal org.apache.flex.flexjs.compiler:flexjs-

[FALCONJX] Jdk 1.6 incompatability in debugger module

2016-04-27 Thread Christofer Dutz
Hi, I just implemented the Maven build for the debugger module and encountered a problem. As I configured the animal-sniffer-plugin to check the output for compatibility with JDK 1.6, the plugin started complaining that it's not possible to use DebugCLI on a 1.6 VM. The line it's complaining

Re: [FALCONJX] Jdk 1.6 incompatability in debugger module

2016-04-27 Thread Alex Harui
For me, it is a warning: /Users/aharui/git/flex/master/flex-falcon/debugger/src/main/java/flex/tools /debugger/cli/DebugCLI.java:487: warning: LocaleUtility is internal proprietary API and may be removed in a future release Maybe there is a way to turn your error into a warning? Or a replacemen

AW: [FALCONJX] Jdk 1.6 incompatability in debugger module

2016-04-27 Thread Christofer Dutz
No, this is if you execute the maven build. It's the animal-sniffer-plugin (http://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/) that's complaining. Not only should we not use it cause it's internal, it also doesn't seem to be available in 1.6 [INFO] --- animal-sniffer-maven-plu

AW: [FALCONJX] Jdk 1.6 incompatability in debugger module

2016-04-27 Thread Christofer Dutz
Ok so I guess this is something different. I found an old PC with Java 1.6 and had a look at it. It seems that the JDK seems to provide the method. Strange ... eventually the signature was excluded from the animal-sniffer signature package for 1.6 as it's an internal package. Think I'll have to f

AW: [FALCONJX] Jdk 1.6 incompatability in debugger module

2016-04-27 Thread Christofer Dutz
I solved the problem by replacing the implementation of that logic by one shipped with apache-commons-lang. This should get rid of my error and remove the warning in the build too. But I guess you need an additional dependency in the Ant build now Chris

[FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Peter Ent
Hi, Today I finished the project of incorporating CreateJS (EaselJS and TweenJS) into FlexJS. The FlexJS framework, CreateJS, contains a handful of ActionScript classes that can be cross-compiled into JavaScript and product CreateJS objects. Along with this there is an example in the FlexJS dow

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Andrew Wetmore
Cool! On Apr 27, 2016 12:32 PM, "Peter Ent" wrote: > Hi, > > Today I finished the project of incorporating CreateJS (EaselJS and > TweenJS) into FlexJS. The FlexJS framework, CreateJS, contains a handful of > ActionScript classes that can be cross-compiled into JavaScript and product > CreateJS o

Re: AW: [ASJS] Merging to Maven

2016-04-27 Thread Alex Harui
On 4/27/16, 12:56 AM, "Christofer Dutz" wrote: > >I also have a few questions: >1. Why does every project in framework/projects reference airglobal >instead of playerglobal? Some APIs rely on AIR APIs. >2. Why to we reference air, but set the playerversion? I believe it sets the available AP

Re: AW: [ASJS] Merging to Maven

2016-04-27 Thread Alex Harui
On 4/27/16, 4:36 AM, "Christofer Dutz" wrote: > >So I now seem to be getting compile errors from the actionscript part: > >Caused by: java.lang.UnsupportedOperationException >at >org.apache.flex.compiler.internal.driver.as.ASBackend.getSourceFileHandler >Instance(ASBackend.java:72) >

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
Cool! On 4/27/16, 9:31 AM, "Peter Ent" wrote: >Hi, > >Today I finished the project of incorporating CreateJS (EaselJS and >TweenJS) into FlexJS. The FlexJS framework, CreateJS, contains a handful >of ActionScript classes that can be cross-compiled into JavaScript and >product CreateJS objects. A

moveIndexFindRow

2016-04-27 Thread Dany Dhondt
Hello, I used the moveIndexFindRow method in the listBase class. The signature is this: public function moveIndexFindRow(field:String, value:String, startingIndex:int = 0, patternType:String = RegExPatterns.EXACT):Boolean the value attribute has String as type. It is very common to have a data

RE: [Non-DoD Source] moveIndexFindRow

2016-04-27 Thread Kessler CTR Mark J
Dany , Would you please create an issue in our JIRA[1] system with a small test application and I'll take a look at it. [1] https://issues.apache.org/jira/browse/FLEX -Mark -Original Message- From: Dany Dhondt [mailto:archeme...@mac.com] Sent: Wednesday, April 27, 2016 2:01 PM To:

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Peter Ent
Here is the link to the Wiki page about it. I included the original CreateJS demo code[2] from their "Getting Started" section and the code from the FlexJS CreateJS framework example with a bit of an explanation. ‹peter [1] https://cwiki.apache.org/confluence/display/FLEX/Using+CreateJS+with+Fle

Re: [Non-DoD Source] moveIndexFindRow

2016-04-27 Thread Dany Dhondt
Hi Mark, https://issues.apache.org/jira/browse/FLEX-35082 Thanks, -Dany > Op 27 apr. 2016, om 20:17 heeft Kessler CTR Mark J > het volgende geschreven: > > Dany , >Would you please create an issue in our JIRA[1] system with a small test > application and I'll take a look at it. > > >

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
Thanks for writing this up. I'm wondering if you could also, on a separate page, write about how to use CreateJS with FlexJS in a format that more closely mirrors the Getting Started article. I think it might better illustrate that with FlexJS, you can get started with fewer steps. In theory it

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread OmPrakash Muppirala
Thanks for the great writeup, Peter! I was wondering if we can write: instead of: var move1:Tween = new Tween(circle); move1.xTo = 400; move1.duration = 1000; That would make it much more concise and easy to follow. Thanks, Om On Wed, Apr 27, 2016 at 12:17 P

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Peter Ent
I'm working on that - in order to create the Tween I need access to the actual CreateJS element stored within the FlexJS component. In other words, "circle.element". In an HTML-based FlexJS app, you can do something like document[target] to look it up. Within the Tween code, for example, there is n

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
On 4/27/16, 12:50 PM, "Peter Ent" wrote: >I'm working on that - in order to create the Tween I need access to the >actual CreateJS element stored within the FlexJS component. In other >words, "circle.element". In an HTML-based FlexJS app, you can do something >like document[target] to look it u

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
Moving back to dev@... On 4/27/16, 1:56 PM, "Harbs" wrote: >I will probably make a post about this on Facebook in the beginning of >next week. (Unless someone else gets to it first.) I posted yesterday >about Node.js support, and that post already has almost double the reach >of any previous pos