Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Christofer Dutz
Unfortunately the JSSharedData is byting me at the moment ... I’m having static stuff bleeding into one execution from another ... we should generally address that sooner than later ☹ Chris Am 21.12.16, 08:15 schrieb "piotrz" : It's about half past 8 AM and I'm in a Zombie Mode, so doing

[FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread OmPrakash Muppirala
I find myself with some free time till the end of the year. I was hoping to get setup with the MDL library projects. Carlos/Piotr, what would be the best way for me to get setup and going? A quick and basic tutorial on how to build and test changes to the MDL library would be of much use. VS Co

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread piotrz
Hi Om, What a great news that you are going to look into that! :) I'm using only maven to build each part of the project FlexJS, Falcon, MDL itself and MDL Example project, so If you successfully setup your environment with it you are almost ready. I'm using Intellij IDEA: - FlexJs (maven buil

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread Carlos Rovira
Hi Om, great to get you on board! :) I think Piotr, describe us very well. As Piotr I'm using maven build as it's the quick, fast and easy way to work with. Build each one with "mvn clean install" (first, falcon, then typedefs and finaly asjs) For IDE I'm using VisualCode and NextGenAS, but tak

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread piotrz
Yes Carlos I have full code hinting in Intellij! :) The trick is: - Point to release version of FlexJS SDK in your module (downloaded by installer, cause Maven artefacts are not recognizable) - Point as an Lib for this module to - distribution artifacts - That's will give you code hinting :) Piot

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread piotrz
In the MDL Example I'm pointing to - FlexJS SDK + MDL swc as lib - quick rebuild and Intellij pickup swc. :) - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Setting-up-FlexJS-and-MDL-tp57491p57495.html

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread Christofer Dutz
Would be cool If we found out what the difference to a „reconizable“ version is ... can’t be much ;-) Then things would be a lot simpler for you guys. Chris Am 21.12.16, 12:12 schrieb "piotrz" : Yes Carlos I have full code hinting in Intellij! :) The trick is: - Point to release ve

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Christofer Dutz
Hi, Ok now I managed to get things up and running. Having a look at the way the asdocs are generated from ANT I can see that they are generated with „SWF“ turned on and „JS“ turned off. This will only generate the Flash version of the documentation. We have quite a lot of classes, methods and p

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread piotrz
Chris, Once we finish with MDL I will try to look into that. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Setting-up-FlexJS-and-MDL-tp57491p57498.html Sent from the Apache Flex Development

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread piotrz
Chris, I thought about that a bit different. When I'm working on something I'm adding comments only to SWF version, cause it's probably only SWF version of comments will be visible in IDE. /** * Comments */ COMPILE::SWF calss MyClass { } COMPILE::JS class MyClass { } Am I wrong understand i

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Alex Harui
On 12/21/16, 3:52 AM, "Christofer Dutz" wrote: >So far so good. The SWF xml outupt looks gread, even if I don’t know why >classes, index and tags are Json files, but I’ll fix that later. Basically, I did JSON output first, and was only half-way through the DITA output when I put it down to de

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread Josh Tynjala
I found that these notes someone created in the Flex SDK about how to make Flash Builder recognize an SDK give a lot of good details: https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt They helped me get the Feathers SDK working in Flash

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Alex Harui
On 12/21/16, 12:41 AM, "Christofer Dutz" wrote: > >Unfortunately the JSSharedData is byting me at the moment ... I’m having >static stuff bleeding into one execution from another ... we should >generally address that sooner than later ☹ In a quick look, JSSharedData appears to be used in place

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Alex Harui
On 12/20/16, 10:48 PM, "Christofer Dutz" wrote: >Hi, > >I’m currently workin on Maven support of the ASDoc output. Now I’m sort >of wondering, why we need these „doc-namespaces“ and „doc-sources“ config >options? Shouldn’t the normal sources and namespaces be enough? Don't know for sure. I th

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread piotrz
Alex, If I correct understand DITA is the format which is understandable by Flash Builder ? I think in Intellij IDEA it is working differently. Every time when I wanted to see comments for native Flash player methods - I have to add to Intellij this link [1] - It's HTML, so in theory if Chris pr

[FlexJS] Building with Maven

2016-12-21 Thread Peter Ent
I've decided a goal for the New Year is to use maven more and make use of the work that has been done. I've followed the instructions on the Apache FlexJS wiki, but have run into an error. In flex-falcon, I do: mvn -s settings-template.xml -DskipTests clean install and get the following error (

Re: [FlexJS] Building with Maven

2016-12-21 Thread piotrz
Hi Peter, Do you have some flash builder project file in falcon folder or any other file which is not part of the repository? Rat may complain cause of this file - I've experienced such issue when I have in falcon folder some Intellij project file. Piotr - Apache Flex PMC piotrzarzyck...

Re: [FlexJS] Building with Maven

2016-12-21 Thread Peter Ent
No. This is a pretty clean directory. I never work on flex-falcon so its 100% from the repo. ‹peter On 12/21/16, 11:10 AM, "piotrz" wrote: >Hi Peter, > >Do you have some flash builder project file in falcon folder or any other >file which is not part of the repository? > >Rat may complain cause

Re: [FlexJS] Building with Maven

2016-12-21 Thread piotrz
I thinkg rat.txt should point which file is wrong. You can also try to build project with -Drat.skip=true. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Building-with-Maven-tp57505p57508.html

Re: [FlexJS] Building with Maven

2016-12-21 Thread Peter Ent
Got a little help from Alex. Seems the clean step didn't purge all of the old files. I guess periodically one should delete the repo and get it again, just to remove stale things. So now maven builds falcon cleanly. ‹thanks. On 12/21/16, 11:48 AM, "piotrz" wrote: >I thinkg rat.txt should point

Re: [FlexJS] Building with Maven

2016-12-21 Thread OmPrakash Muppirala
Chris, any chance we can disable the rat check by default? I got hit by that as well. Seems like a common place that could trip people up. Thanks, Om On Dec 21, 2016 9:05 AM, "Peter Ent" wrote: > Got a little help from Alex. Seems the clean step didn't purge all of the > old files. I guess p

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Alex Harui
The playerglobal.swc and spark.swc I just looked at doesn't have DITA files in it. IIRC, code-assist for playerglobal and MX and Spark swcs are special-cased in Flash Builder, so I'm not surprised you have to do something to make it work in IntelliJ. I've seen indications that FDT and FB can hand

Re: [FlexJS] Building with Maven

2016-12-21 Thread Alex Harui
On 12/21/16, 9:10 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Chris, any chance we can disable the rat check by default? I got hit by >that as well. Seems like a common place that could trip people up. The Rat check is useful. It helps make sure things are cleaned up pr

Re: [FlexJS] Building with Maven

2016-12-21 Thread OmPrakash Muppirala
On Dec 21, 2016 9:52 AM, "Alex Harui" wrote: On 12/21/16, 9:10 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Chris, any chance we can disable the rat check by default? I got hit by >that as well. Seems like a common place that could trip people up. The Rat check is usefu

Re: [FlexJS] Building with Maven

2016-12-21 Thread Alex Harui
On 12/21/16, 10:12 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >On Dec 21, 2016 9:52 AM, "Alex Harui" wrote: > > > >On 12/21/16, 9:10 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" > wrote: > >>Chris, any chance we can disable the rat check by default? I got hit

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Christofer Dutz
Hi Alex, I simply removed the JS version of CSSTextField as this wasn’t referenced anywhere and with that change I managed to proceed. I am still struggling with a static bleed issue as the compiler state seems to be shared between the differenct compiler types, but I think I’ll manage to fix t

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Christofer Dutz
Hi Alex, I’ll have a look at that ... would be great to resolve this as then I could mark the maven plugin as threadsafe and we could speed up build times by utilizing paralell builds. Chris Am 21.12.16, 16:28 schrieb "Alex Harui" : On 12/21/16, 12:41 AM, "Christofer Dutz" wrot

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Christofer Dutz
Have to admit that I don’t even really know DITA ... as far as I know it’s just an XML format to describe an API. The maven plugin seems to be lost and I couldn’t even find what it should be doing. Don’t know if it generates HTML from DITA, DITA from Java or whatever. But I read it’s a thin wra

Re: [FlexJS] Building with Maven

2016-12-21 Thread Christofer Dutz
Maven only cleans up it’s own stuff. So if you do something with Maven, this is automatically guaranteed to be cleaned up, but if you do stuff with Ant for examople (or use the „sonar-runner.bat“ to do a sonarqube check) then this might leave files which maven doesn’t know about. Therefore rat c

Re: [FlexJS] Setting up FlexJS and MDL

2016-12-21 Thread Christofer Dutz
I’ll go through that list ... thanks for the pointer. Chris Am 21.12.16, 16:23 schrieb "Josh Tynjala" : I found that these notes someone created in the Flex SDK about how to make Flash Builder recognize an SDK give a lot of good details: https://github.com/apache/flex-sdk/blob/

Re: [FlexJS, MDL] Help with MDL

2016-12-21 Thread piotrz
I've just pushed next component "Snackbar" - it's working pretty well. I have one tip for you guys - If you are going to use some MDL objects like "MaterialProgress" or "MaterialSnackbar" it is good to look into the JS implementation. [1] Sometimes there are method inside which is not covered in t

Re: [FlexJS] ASDoc: Any reason for additional config options?

2016-12-21 Thread Alex Harui
One more thought on this. A simpler first cut of DITA output wouldn't need a merge of COMPILE::SWF and COMPILE::JS since the differences are platform-specific API differences and the initial big payoff of doc is documenting just the APIs that cross-compile. Might require hiding some APIs in the CO

Re: Filter function to ArrayList?

2016-12-21 Thread JoelProminic
I have been thinking about this a bit over the last couple of days. I think it could be implemented as a Bead like this: Define a new bead, say FilterDataProvider, with a "filter" field. This would implement ICollection or IArrayList so that the methods return the filtered data instead of the ac

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 176: Successful

2016-12-21 Thread flex . ci . builds
flex-sdk_release-candidate - Build #176 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/176/.

Re: [FLEXJS] ASDoc App

2016-12-21 Thread Alex Harui
I added two checkboxes to filter for just top-level components, or just view beads. A better filtering UI is needed for filtering on dozens of keyword, not two. Suggestions are welcome. But I think it shows that filtering may really help customers wade through the tons of FlexJS classes. Thanks

Re: Filter function to ArrayList?

2016-12-21 Thread Alex Harui
Sounds great! Go for it. Let us know if you need help. -Alex On 12/21/16, 3:53 PM, "JoelProminic" wrote: >I have been thinking about this a bit over the last couple of days. I >think >it could be implemented as a Bead like this: > >Define a new bead, say FilterDataProvider, with a "filter" f