I have been using IntelliJ for regular FlexSDK work for the last 3 years, after moving away from Flashbuilder, but I have not figured out how to set Intellij up correctly for FlexJS yet. I did get it working for javascript build and launch by following (iirc) one of Josh's tutorials, but I have not used that routinely for what I have been doing so far.
I mainly use ant scripts because I am trying to build both js and swf at the same time. I know, I know, I should be using maven too! :) I will, I've just stuck with the familiar while I've been starting out here. There are not really many automated tests for the framework builds. These are the flexunit tests you're talking about, right? I added one for BinaryData when I worked on it, but this only runs in swf for the build, I had manually run the same tests against js. What I struggled with so far was unit-testing across swf and js at the same time as I worked on things. This was why I wanted to work on Reflection. Because if we can have some way to run the same unit tests against js as well, then it makes the flexunit build tests more meaningful. So there is a new manualtest called 'GenericTests' You can follow the examples in there to add more tests, and these should be compatible with basic flexunit tests (synchronous only tests at the moment) This has an ant build script, similar to the other manual tests which builds both js and swf output. And there is a 'testsview' folder inside which lets you view the swf and js output side-by-side (and toggle between js-debug and js-release builds). This is just something preliminary that I find useful during framework development, but it also should create a set of tests that are compatible for use in automated testing in the framework builds via flexunit. For the more visual/interactive tests or even for the example apps, I would personally find it much more convenient to also run them side-by-side in the same browser tab like this, instead of in separate tabs. I also think it might be good way to show people working examples of js and swf similarity in a showcase site. I think most people like to be able to directly compare things like this. OT: Chris, fyi I think the reflection support should be pretty close to what you might need for amf encoding whenever you feel ready to look into that (you just need to collect variables and accessors from a TypeDefinition and exclude anything with 'Transient' metadata, I think). I also added a quick registerClassAlias/getClassAlias implementation in the reflection package. cheers Greg On Tue, Sep 27, 2016 at 8:54 PM, Christofer Dutz <christofer.d...@c-ware.de> wrote: > Hi Olaf, > > > I use IntelliJ completely. Especially when it comes to Maven I have learnt > to hate Eclipse based IDEs ;-) > > > With IntelliJ you don't have any problems with having to open/close > projects, because I have never encountered it slowing down, even if I have > 200 Projects open. It's Flex support is excelent. > > > I have put a lot of time in the 0.7.0 release to setup the Maven build. > This should automatically run the unit- and integration-tests. I just > updated the documentation here: https://cwiki.apache.org/confl > uence/display/FLEX/Building+FlexJS+with+Maven as I noticed that I had > changed the distribution-thing and didn't update the Wiki ... sorry for > that. > > > Chris > > > > ________________________________ > Von: yishayw <yishayj...@hotmail.com> > Gesendet: Dienstag, 27. September 2016 08:54:04 > An: dev@flex.apache.org > Betreff: Re: [FlexJS] flex-asjs contribution/development workflow > > This doesn't answer all your questions, but to get and idea of what I do > you > can look at this thread: > > http://apache-flex-development.2333347.n4.nabble.com/FlexJS- > Developer-Setup-td53729.html#a53731 > > Personally I use FB. I've tried IntelliJ but it didn't work well for me on > the flash side. > > I only open the subprojects I need to change at any given moment. See the > thread above on how to do so almost seamlessly. > > I've found out that what works best for me is to edit the main project's > .actionScriptProperties file to include/exclude projects. I suggest you > follow the thread to do it using GUI and have the .actionScriptProperties > file open to see how it changes. Next time you'll be able to do it more > quickly by just editing the file. > > Regarding automated tests, I've yet to contribute. I guess it's good > practice though, if you feel you can be efficient that way. > > I haven't had any issues with git and FB. I just import the project where > my > git repo points and it works. > > > OK wrote > > Hi, > > this is probably one of the silly questions but I wonder what kind of > > workflow do you use to be able to contribute to the flex-asjs framework > in > > an efficient way, e.g. > > > > - What IDE you're using, still FlashBuilder or others (I notice that Josh > > creates an AS3 extension for Visual Studio Code wich sounds promising) > > - Do you load the complete framework into your IDE or just subprojects or > > just single files? > > - Should there any kind of automated tests be executed before committing? > > - If using FlashBuilder, what's the best way to keep the eclipse project > > seperated from the git repo > > -... > > > > Thanks for help. > > Olaf > > > > > > -- > View this message in context: http://apache-flex-development > .2333347.n4.nabble.com/FlexJS-flex-asjs-contribution-development-workflow- > tp55330p55333.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >