Re: Those @#*$^ Environment Variables

2015-11-15 Thread OmPrakash Muppirala
On Sun, Nov 15, 2015 at 11:22 PM, Alex Harui wrote: > Instead of replying individually to all of these posts, let me see if I > can summarize my thoughts here: > > For sure, we should try Maven. I think the main questions, since there’s > been so much emphasis lately on making it easier for new

[FlexJS][FalconJX] Internal Classes

2015-11-15 Thread Alex Harui
Hi, Every once in a while, the framework code uses an “internal class”. An examples would look like: package some.package { public class SomeClass { } } class SomeHelperClass { } SomeHelperClass is an “internal class”. In JS, SomeHelperClass gets defined on the global object. I’m wonde

Re: Those @#*$^ Environment Variables

2015-11-15 Thread Alex Harui
Instead of replying individually to all of these posts, let me see if I can summarize my thoughts here: For sure, we should try Maven. I think the main questions, since there’s been so much emphasis lately on making it easier for new contributors to contribute are: 1) I think it will take weeks

[DRAFT] Apache FlexJS 0.5.0 and Apache Flex FalconJX 0.5.0 Released

2015-11-15 Thread Alex Harui
Draft announcement. Feedback please. On my Monday I’ll be updating the website links referenced from this announcement. Thanks, -Alex - The Apache Flex community is pleased to announce the initial (alpha) release of Apache FlexJS SDK 0.5.0 and Apache Flex FalconJX Compiler 0.5.0. Apache Fl

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Alex Harui
On 11/15/15, 8:49 AM, "Harbs" wrote: >BTW, how are we handling “for each” loops? If you do defineProperties as I just described in my last post, I think for each will “just work”. You will have to hide from enumeration the functions like name(), child(), etc. -Alex

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Alex Harui
On 11/15/15, 7:55 AM, "Harbs" wrote: >Right, but I don’t see any way around this. Simple property access will >not work for the reasons I wrote above. My thinking was that, for some XML like: Alex Harui < committer id=“2”> Peter Ent Flex FlexJS

Next Flex SDK release

2015-11-15 Thread Justin Mclean
Hi, Now the FlexJS releases are just about to be announced, I think it's about time we made a Flex SDK release as the previous one was released was way back in March. Unless anyone else want to give it a go I’ll act as the release manager. Is there any regression issues in 4.14/4.14.1 that any

Re: Those @#*$^ Environment Variables

2015-11-15 Thread Justin Mclean
Hi, > I could ask my boss, if I could give such a course ... probably as a remote > course (But If you're somewhere near Frankfurt, we could eventually have some > offline-attendants). Timezones permitting I’ll be up for that. Justin

Re: Those @#*$^ Environment Variables

2015-11-15 Thread Justin Mclean
Hi, > Similarly, we could have Maven binaries packaged with the src and binary > releases. This eliminates the need for sdk devs and end users to have > maven installed. We could add that to the binary release but not the source release, you can’t have jars in a source release. Previous vers

Re: AW: Those @#*$^ Environment Variables

2015-11-15 Thread OmPrakash Muppirala
In one of the companies I worked at, we had the maven binaries living inside a 'build' folder. There was no need to have Maven pre-installed on the computer, since it was available from the repo. Similarly, we could have Maven binaries packaged with the src and binary releases. This eliminates

Re: E4X Observations

2015-11-15 Thread Harbs
Here’s the link: https://cwiki.apache.org/confluence/display/FLEX/E4X+Observations On Nov 15, 2015, at 6:01 PM, Harbs wrote: > I added it in a new XML section in FlexJS. > > On Nov 15, 2015, at 5:07 PM, Alex Harui wrote: > >> >> >> On 11/15/15, 7:02 AM, "Harbs" wrote: >> >>> I guess so. I

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Harbs
BTW, how are we handling “for each” loops? On Nov 12, 2015, at 11:43 PM, Alex Harui wrote: > OK, it’s a deal. I will look into some changes to the compiler. > > I think the changes are: > 1) XML literals will call "new XML(literal_as_string)" and your code will > parse the string > 2) delete o

Re: E4X Observations

2015-11-15 Thread Harbs
I added it in a new XML section in FlexJS. On Nov 15, 2015, at 5:07 PM, Alex Harui wrote: > > > On 11/15/15, 7:02 AM, "Harbs" wrote: > >> I guess so. I find Google docs easier to edit. > > I don’t doubt that, and I’m sorry it will be extra hassle, but it is more > clear you are sharing your

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Harbs
Right, but I don’t see any way around this. Simple property access will not work for the reasons I wrote above. On Nov 15, 2015, at 5:49 PM, Alex Harui wrote: > The compiler does not know that myXML is from myClass so it would simply > add a property access to foo. Now we could require that f

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Alex Harui
On 11/15/15, 7:02 AM, "Harbs" wrote: >>For #1, my thoughts were that you would not use Array as the base class >> for XML and XMLList and instead populate it via defineProperties with >> indexes. You could also populate it with defineProperties for known >>child >> tag names and have the getter

Re: E4X Observations

2015-11-15 Thread Alex Harui
On 11/15/15, 7:02 AM, "Harbs" wrote: >I guess so. I find Google docs easier to edit. I don’t doubt that, and I’m sorry it will be extra hassle, but it is more clear you are sharing your work with the ASF if you put it on ASF servers, and the committers already should have accounts set up for t

Re: E4X Observations

2015-11-15 Thread Harbs
I guess so. I find Google docs easier to edit. On Nov 15, 2015, at 4:56 PM, Alex Harui wrote: > Can you move that to the wiki? > > On 11/15/15, 6:27 AM, "Harbs" wrote: > >> FWIW: >> As I’m working on XML, I’m finding that some of the finer points of E4X >> are not clear without testing and se

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Harbs
On Nov 15, 2015, at 4:55 PM, Alex Harui wrote: > > > On 11/15/15, 12:45 AM, "Harbs" wrote: > >> I was not thinking very clearly last week when we had this discussion. >> We’re missing a very important piece here: >> >> xml.foo returns an XMLList and not an XML object. If you have some xml >

Re: E4X Observations

2015-11-15 Thread Alex Harui
Can you move that to the wiki? On 11/15/15, 6:27 AM, "Harbs" wrote: >FWIW: >As I’m working on XML, I’m finding that some of the finer points of E4X >are not clear without testing and seeing results. I’m documenting my >observations here: >https://docs.google.com/document/d/1Zqcdt4Uv8eP1a7bSO7pzd

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Alex Harui
On 11/15/15, 12:45 AM, "Harbs" wrote: >I was not thinking very clearly last week when we had this discussion. >We’re missing a very important piece here: > >xml.foo returns an XMLList and not an XML object. If you have some xml >like this: , xml.foo >will give you an XMLList with 2 foo elements

AW: Those @#*$^ Environment Variables

2015-11-15 Thread Christofer Dutz
Well, as a matter of fact, I not only use maven, I also teach it. Have coached a lot of companies and have prepared a complete Maven course with working samples and lessons. I could ask my boss, if I could give such a course ... probably as a remote course (But If you're somewhere near Frankfu

E4X Observations

2015-11-15 Thread Harbs
FWIW: As I’m working on XML, I’m finding that some of the finer points of E4X are not clear without testing and seeing results. I’m documenting my observations here: https://docs.google.com/document/d/1Zqcdt4Uv8eP1a7bSO7pzdjePolmDCN3K49R-LyoHeQQ/edit?usp=sharing If anyone has what to add, please

Re: Those @#*$^ Environment Variables

2015-11-15 Thread Harbs
I think I’m in the “let’s try Maven” camp as well. I think it’s safe to say that ant is not a clear good fit. Yes. It works, but a lot of us have had trouble with it. Like Om, I don’t see a difference between requiring ant and requiring maven. The one time I did try Maven to build something, it

Re: [FALCONJX][FLEXJS] XML handling (was Re: [FlexJS] Back port)

2015-11-15 Thread Harbs
I was not thinking very clearly last week when we had this discussion. We’re missing a very important piece here: xml.foo returns an XMLList and not an XML object. If you have some xml like this: , xml.foo will give you an XMLList with 2 foo elements xml.baz will give you an XMLList with 1 ele