Re: [FlexJS, Maven] Building swc library and problems with compiler.targets

2017-07-07 Thread Alex Harui
Hi Piotr, I don't think that change was right. I think both the SWF SWC and the JS SWC need to run both targets. The SWF target builds the library.swf that is used in downstream compiles, and the JSFlex target generates the JS files for the SWC. If you only want a JS SWC, I think you set

Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Alex Harui
Hi Allen, You might want to try the Express components by changing: xmlns:js="library://ns.apache.org/flexjs/basic" To: xmlns:js="library://ns.apache.org/flexjs/express" Then the components should have more APIs built-in. If you hit a null pointer exception, please post the stack

Re: [FlexJS] technical debt

2017-07-07 Thread Justin Mclean
Hi, > Before you accuse anyone (even if you expressed doubt) do you have a way to > determine who made the change to the Sonar Cube configuration? I can’t see anything in the interface no, but the changes are logged and infra will be able to tell. If it wasn’t him I’ll appoligise. Thanks,

Re: [FlexJS] technical debt

2017-07-07 Thread Dave Fisher
OK got it. Before you accuse anyone (even if you expressed doubt) do you have a way to determine who made the change to the Sonar Cube configuration? Does Infrastructure? Did anyone on the Flex project make any changes? Regards, Dave > On Jul 7, 2017, at 8:18 PM, Justin Mclean

Re: [FlexJS] technical debt

2017-07-07 Thread Justin Mclean
Hi, > My discussion was around procedures related to technical debt. And you would agree the Sonar Cube configuration relates to that? > Keep in mind that this is all my opinion as part of the PMC. If others don't > agree then there is not yet consensus. Which is why as suggested I’m trying

Re: [FlexJS] technical debt

2017-07-07 Thread Dave Fisher
Hi Justin, My discussion was around procedures related to technical debt. Keep in mind that this is all my opinion as part of the PMC. If others don't agree then there is not yet consensus. I'm not sure about the profile. Please take a look at the commits and you should question and discuss

Re: [FlexJS] technical debt

2017-07-07 Thread Justin Mclean
Hi, I’ve created a draft page here [1] and will do some more work on it over the weekend. Thanks, Justin 1. https://cwiki.apache.org/confluence/display/FLEX/Sonar+Cube+Flex+Rules

Re: [FlexJS] technical debt

2017-07-07 Thread justin
Hi, Harbs I see you have gone ahead (or rather I assume it was you so apologies if it wasn't) and modified the default Flex profile. As discussed in this thread that was not the right way to do this and there needs to some documentation and discussion around this before we make changes. As

[FlexJS, Maven] Building swc library and problems with compiler.targets

2017-07-07 Thread piotrz
Hi, Some time ago I was trying to make build of PureMVC framework. I did create successfully pom and today I noticed that my build producing only -js type swc. Whole project you can find here [1] I just commit my very first fix to maven-plugin - thanks to that I can configure compiler.targets

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Allen YANG
Hi Team: I was trying to compile a SearchBox.mxml file in VS Code + Maven, after the compiler ran for 5 minutes (typically only takes a few seconds) the compiler hit a null pointer exception. I don't know why but I guess it has something to do with import com.iwobanas.core.ISearchable; The

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Allen YANG
Hi Yishay, I played further with your demo_for_presentation example, I realized that the source file panelview.as in src/beads is probably not used because I could remove it and rebuild without affecting the build and run. Could you tell me what that file is for? Thanks, Allen

Re: 4.16.0 Install issues

2017-07-07 Thread Josh Tynjala
Be sure to test on Windows 7. It has an older version of PowerShell, so some things that work in newer versions may not work there. I had the unzip working on Windows 10 after a long day of wrapping my head around running PowerShell from AIR. The next morning, I discovered that I had to redo it

Re: 4.16.0 Install issues

2017-07-07 Thread Nicholas Kwiatkowski
I think that was the direction I was going to go. Thanks! On Fri, Jul 7, 2017 at 11:30 AM, Josh Tynjala wrote: > In addition to MD5, the code the installer uses to unzip files can also > cause Error #1000. > > I came up with a solution for that using PowerShell that I

Re: FlexJS Tests (was Re: [FlexJS] technical debt)

2017-07-07 Thread Josh Tynjala
The TraceListener in the example code listens for events from the TestRunner and prints to the console. Those same events could be used to collect failures and do anything you want with them. - Josh On Fri, Jul 7, 2017 at 8:59 AM, Alex Harui wrote: > Hi Josh, > > That

Re: FlexJS Tests (was Re: [FlexJS] technical debt)

2017-07-07 Thread Alex Harui
And you have a Core.swc in /Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/libs? What is in: /Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/flex-config.xml -Alex On 7/7/17, 9:14 AM, "Harbs" wrote:

Re: FlexJS Tests (was Re: [FlexJS] technical debt)

2017-07-07 Thread Harbs
https://paste.apache.org/Gcuj > On Jul 7, 2017, at 6:55 PM, Alex Harui wrote: > > What error did you get? > > The Ant build on the CI server runs checkintests and it is passing there. > > The FlexJS Mustella uses Selenium for the JS

Re: FlexJS Tests (was Re: [FlexJS] technical debt)

2017-07-07 Thread Alex Harui
Hi Josh, That could be good. I took a quick look and didn't understand how it reports errors that can be collected and reported. How does that work? Would it interface with Selenium? Thanks, -Alex On 7/7/17, 8:23 AM, "Josh Tynjala" wrote: >I wrote a simple test runner

Re: FlexJS Tests (was Re: [FlexJS] technical debt)

2017-07-07 Thread Alex Harui
What error did you get? The Ant build on the CI server runs checkintests and it is passing there. The FlexJS Mustella uses Selenium for the JS run, but some manual intervention is currently required. -Alex On 7/7/17, 3:16 AM, "Harbs" wrote: >The checkintests target

Re: [FlexJS][VS Code] dual issues

2017-07-07 Thread Alex Harui
Don't know. Right now, you can set up an FB project with the "JS" SWCs and not see Flash APIs in the intelligence. But I'm not clear that FB allows for any switches/options in how it gets the data for code intelligence. I think Josh is saying he might use the first target. I will see if that

Re: 4.16.0 Install issues

2017-07-07 Thread Josh Tynjala
In addition to MD5, the code the installer uses to unzip files can also cause Error #1000. I came up with a solution for that using PowerShell that I posted on the mailing list:

Re: 4.16.0 Install issues

2017-07-07 Thread Nicholas Kwiatkowski
I'm looking at the 4.16.0 release package, not what is in the source tree. That's why I was asking at first if anybody was working on it to make sure it hadn't been tackled, or nobody was actively working on the fix. -Nick On Fri, Jul 7, 2017 at 11:12 AM, Alex Harui

Re: FlexJS Tests (was Re: [FlexJS] technical debt)

2017-07-07 Thread Josh Tynjala
I wrote a simple test runner similar to FlexUnit for some of my projects. I'm happy to donate this code to FlexJS or FlexUnit if it can help bootstrap the testing efforts. https://github.com/BowlerHatLLC/nextgenas-test It supports [Test], [Before], and [After] metadata:

Re: 4.16.0 Install issues

2017-07-07 Thread Alex Harui
What version of installer.xml are you looking at? I just synced up the develop branch in flex-sdk and took a look at there are merge conflict markers in the file! Apparently, nobody has tried to install a nightly build of Flex SDK. But I think the version from the release branch has the right

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Allen YANG
Hi Alex, Thanks for posting the link. It does look a bit ugly now. I used Maven to build the ASDoc example. Yes; it created a bunch of folders and files in them besides the 3 files I mentioned, including folders library, org, and valueObejcts with .js files inside and .map files for debugging.

Re: 4.16.0 Install issues

2017-07-07 Thread Nicholas Kwiatkowski
I installed the latest version of Java, but didn't touch the JCE (I have to keep the standard set on my machine and extend, per project because of some of the other projects I'm working on). Just using the net.url package within a quick java app seems grab the files from sourceforge with no

Re: FlexJS Tests (was Re: [FlexJS] technical debt)

2017-07-07 Thread Harbs
The checkintests target currently fails. I’m guessing the build file was not updated for dual. Selenium has a JS API[1]. It seems like we should be able to write tests in MXML and AS and then use Node.js to run the results. I’m not sure how easy it would be to generalize tests so that the same

Re: [FlexJS][VS Code] dual issues

2017-07-07 Thread Harbs
Sounds great! Looking forward! Harbs > On Jul 7, 2017, at 2:12 AM, Josh Tynjala wrote: > > Okay, I figured out how to make VSCode switch to JS APIs instead of SWF > APIs for completion and things. In the next version of the extension, when > the targets compiler option

Re: 4.16.0 Install issues

2017-07-07 Thread piotrz
It would be great if anyone who can will add to that jira any hint for someone who will be working on that. I have other things on my plate right now. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS][VS Code] dual issues

2017-07-07 Thread piotrz
Alex, Do you mean by teaching compiler that if I use -target=JSFlex - I will not see flash api hints in intellisence ? Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS] technical debt

2017-07-07 Thread Justin Mclean
Hi, > I don’t see any options like that (logged in using my Apache account). Does > someone need to add permissions? If you can’t see them then yes you would need to ask infra. Justin

Re: [FlexJS] technical debt

2017-07-07 Thread Harbs
I don’t see any options like that (logged in using my Apache account). Does someone need to add permissions? > On Jul 7, 2017, at 10:49 AM, Justin Mclean wrote: > > Hi, > >>> and how do we change them? > > In the sonar cube web interface (same url as before) under

Re: [FlexJS] technical debt

2017-07-07 Thread Justin Mclean
Hi, >> and how do we change them? In the sonar cube web interface (same url as before) under rules/quality profile. It's best to set up a new quality profile rather than edit the existing one as that may effect other projects. I’ll put together a wiki page on making the rules more in the

Re: [FlexJS] technical debt

2017-07-07 Thread Harbs
Considering you did not answer the most significant part of my question. I’m asking it again. > On Jul 6, 2017, at 9:13 PM, Harbs wrote: > > and how do we change them?

Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Alex Harui
Hi Allen, Looks like I forgot to post the link: http://apacheflexbuild.cloudapp.net:8080/job/FlexJS_ASDoc_Example/lastSucce ssfulBuild/artifact/examples/flexjs/ASDoc/bin/js-debug/index.html You shouldn't have to build it yourself. Did you use Maven or Ant to build it? It might be that the

Re: git commit: [flex-asjs] [refs/heads/develop] - Fix merge error removing support for numeric font size.

2017-07-07 Thread Alex Harui
Well, then maybe you can help us figure out why. Upthread there are suggestions to check the manifest, etc. What do you see in yours? -Alex On 7/6/17, 4:27 PM, "Justin Mclean" wrote: >Hi, > >> I just tried swapping SimpleCSSValuesImpl for AllCSSValuesImpl in the >>

Re: [FlexJS] technical debt

2017-07-07 Thread Alex Harui
IMO, it applies to anyone making changes to code paths that are probably working. As we've already seen, there is a cost to making a mistake in what seems like a simple change that totally outweighs the value to the technology. Folks creating new features or fixing major bugs are really "moving