Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Josh Tynjala
Judging by the package.json warning, it looks like you are installing it locally instead of globally. When you install locally, npm thinks that you're trying to add it as a dependency for a specific project, so it looks for a package.json file in the current directory. Executables won't be added

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
I looked it up. To clear cache you have to run "npm cache clear". I had to use sudo for all commands, and now it works! Way to go Om! -Alex On 1/4/16, 10:07 AM, "Peter Ent" wrote: >I did not get any errors, but I did use sudo to do it. I confirmed by >trying asjsc again

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
Hi Matthias, Welcome to the community! I'm not sure we have anybody currently testing FlexJS with Linux. It would be great if you have the time to help out not only with finding problems but also proposing fixes for them. I don't have any experience with Linux so any help is much appreciated.

[GitHub] flex-sdk pull request: Update CONTRIBUTORS

2016-01-04 Thread justinmclean
Github user justinmclean commented on the pull request: https://github.com/apache/flex-sdk/pull/41#issuecomment-168807164 Thanks for that but looks like it may need some modification. Generally people are only to contributors if code they supplied goes into a release and not just

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
Didn't notice that, but yes, it should be "Downloading Apache Flex Falcon Compiler" Also, for me on Mac in Terminal, the cursor position when asking for "y" or "n" in the license acceptance was in a funky place. I think it may be because the Terminal window was scrolling the output or was an

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Matthias Bode
Hello All , i am new to the Group ... and i just checked out the Linux version . the flexJS Stuff looks pretty awesome cool and neat you are gr8 are you testing on Linux ?? - or is the flexJS a Linux matter - no ?? Is there a TroubleShoot List/Rider where all the current Error´s in

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 12:18 PM, Carlos Rovira < carlos.rov...@codeoscopic.com> wrote: > Hi Just tryed on Mac. > > Since the last time I had problems with node and npm, I first removed the > installation and reinstalled with this solution to avoid use of sudo >

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
Yes. That was the problem. Next issue: I tried installing this on a non-developement machine which apparently did not have Java installed. When trying to run asjsc, I get a warning that “No Java runtime preset”. Even after installing Java, I still get this error. Do I need to re-install

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
One comment: "Downloading Apache Falcon" is not correct. Falcon is a separate Apache project. It should be Apache Flex Falcon Compiler. I tried installing and it does not look like it worked for me. Here’s the output at the end of the install: request@2.67.0

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Carlos Rovira
Hi Just tryed on Mac. Since the last time I had problems with node and npm, I first removed the installation and reinstalled with this solution to avoid use of sudo https://gist.github.com/DanHerbert/9520689 I then reinstalled (I have npm 3.5.2 installed) and all seems to install ok. Then I had

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 12:36 PM, Harbs wrote: > Yes. That was the problem. > > Next issue: > > I tried installing this on a non-developement machine which apparently did > not have Java installed. When trying to run asjsc, I get a warning that “No > Java runtime preset”.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Jan 4, 2016 11:30 AM, "Harbs" wrote: > > One comment: "Downloading Apache Falcon" is not correct. Falcon is a separate Apache project. It should be Apache Flex Falcon Compiler. > Good catch. I will fix that. > I tried installing and it does not look like it worked

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

2016-01-04 Thread Harbs
Here’s all the details from the E4X spec: Expressions may be used to compute parts of an XML initialiser. Expressions are delimited by curly braces and may appear inside tags or element content. Inside a tag, expressions may be used to compute a tag name, attribute name, or attribute value.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
Whoops. I installed JRE rather than JDK. Installing JDK now… On Jan 4, 2016, at 10:40 PM, OmPrakash Muppirala wrote: > On Mon, Jan 4, 2016 at 12:36 PM, Harbs wrote: > >> Yes. That was the problem. >> >> Next issue: >> >> I tried installing this

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
OK. That did it. I got the sample to compile. Amazing work! It would be cool if we could get the html file to be created as well. On Jan 4, 2016, at 10:43 PM, Harbs wrote: > Whoops. I installed JRE rather than JDK. > > Installing JDK now… > > On Jan 4, 2016, at 10:40

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Jan 4, 2016 10:02 AM, "Alex Harui" wrote: > > > > On 1/4/16, 8:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" > wrote: > > >Oh right, forgot about that. > > > >npm uninstall flexjs -g > > > >Then clear cache

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 11:37 AM, Matthias Bode wrote: > Hello All , > > i am new to the Group ... and i just checked out the Linux version . > the flexJS Stuff looks pretty awesome cool and neat you are gr8 > are you testing on Linux ?? - or is the flexJS a Linux

[GitHub] flex-sdk pull request: Update CONTRIBUTORS

2016-01-04 Thread ok-at-github
GitHub user ok-at-github opened a pull request: https://github.com/apache/flex-sdk/pull/41 Update CONTRIBUTORS Perhaps this is helpful... if not throw it way ;-) I've searched for all resolved/closed Jira tickets where "Fix Version = 4.15.0". Then I extract all volunteers

[FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
Hi folks, I now have the flexjs npm module working fine on Windows (Cygiwn) and Mac OSX. Once again, here are the steps to test: 1. If you don't have Node and/or npm installed, first install it - Windows: Use the Installer from https://nodejs.org. Ensure that you select the 'npm

Re: [FlexJS] npm install flexjs

2016-01-04 Thread OmPrakash Muppirala
On Sat, Jan 2, 2016 at 11:42 PM, Alex Harui wrote: > > > On 1/2/16, 6:28 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" > wrote: > > > > > > >With the same exact code, on Mac, when I run: > >omuppirala$ asjsc >

[GitHub] flex-falcon pull request: Changed `dirname $0` to `dirname "$0"` t...

2016-01-04 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/flex-falcon/pull/1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

Re: Bug in mxmlc script

2016-01-04 Thread Alex Harui
On 1/4/16, 4:09 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >In the flexjs/js/bin/mxmlc script, I see that we are referencing the ' >*/frameworks/js/FlexJS/src*' folder. This folder is intended as the place for folks to

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 1:23 PM, Josh Tynjala wrote: > If you want to compile FlexJS framework apps that also have an HTML file, > Om needs to expose the mxmlc compiler in js/bin too. asjsc is meant to be > integrated into a larger workflow where you use the generated JS

Bug in mxmlc script

2016-01-04 Thread OmPrakash Muppirala
In the flexjs/js/bin/mxmlc script, I see that we are referencing the ' */frameworks/js/FlexJS/src*' folder. java $VMARGS $D32 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks"

Re: Bug in mxmlc script

2016-01-04 Thread OmPrakash Muppirala
I think I get it. I thought that the source code for js.swc was in $FLEX_HOME/frameworks/js/FlexJS/src. I guess that is not true? The original problem was that asjsc does not create the index.html file. I was asked to use mxmlc for that. (Refer to the npm install flexjs thread) When I used

[GitHub] flex-falcon pull request: (relating to js.swc) Return type with te...

2016-01-04 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/flex-falcon/pull/4 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
Done! Added mxmlc support which correctly outputs the html files as well. (There is a bug in the mxmlc script that I had to fix, I will open a new thread about that) Try this to get mxmlc to work with npm: *npm uninstall flexjs -g* *npm uninstall flexjs* *npm cache clear* npm install -g

[GitHub] flex-falcon pull request: Updating assertion to preserve code beha...

2016-01-04 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/flex-falcon/pull/2 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] flex-sdk pull request: Changed `dirname $0` to `dirname "$0"` to s...

2016-01-04 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/flex-sdk/pull/40 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[FLEXJS] FlexJS Event in San Francisco

2016-01-04 Thread Alex Harui
Hi, I have received permission from my managers to host an Apache FlexJS event at the Adobe office in San Francisco. I want to use this thread to finalize plans for the event. My current thinking is that it will be a one-day, all-day event. A couple of presentations from me and Om about FlexJS

Re: Bug in mxmlc script

2016-01-04 Thread Alex Harui
On 1/4/16, 5:14 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >On Mon, Jan 4, 2016 at 4:47 PM, Alex Harui wrote: > >> If you diff asjsc vs mxmlc you'll see the difference. >> > >This is the difference I

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-04 Thread Sanatkumar Dhir
I suggest to have similar event in Tri State Area. Sent from my iPhone 6 Plus > On Jan 4, 2016, at 9:28 PM, Alex Harui wrote: > > Hi, > > I have received permission from my managers to host an Apache FlexJS event > at the Adobe office in San Francisco. I want to use this

Re: Bug in mxmlc script

2016-01-04 Thread Alex Harui
Well, the compiler could be upgraded to process a template like Flash Builder currently does. I'm curious to know how many folks use Flash Builder and/or Ant tasks to process the html templates for SWFs vs plugging in some custom thing in their workflow. But IMO, the main reason to have an

[4.15.0] # Apache Flex SDK 4.15.0 nightly build 157: Successful

2016-01-04 Thread flex . ci . builds
flex-sdk_release-candidate - Build #157 - 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/157/.

Re: Bug in mxmlc script

2016-01-04 Thread Josh Tynjala
I should add that I'm not opposed to adding some kind of optional flag to asjsc that tells it to generate an HTML file similar to how mxmlc does it. That HTML file just doesn't seem especially useful to me, as I consider what it would be like to use asjsc in a real-world project. So I'm trying to

Re: Bug in mxmlc script

2016-01-04 Thread Alex Harui
If you diff asjsc vs mxmlc you'll see the difference. IMO, I wouldn't call a new script mxmlcnpm because others may want an auto generated hmtl as well. Give it a more generic name. -Alex On 1/4/16, 4:28 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"

Re: Bug in mxmlc script

2016-01-04 Thread Josh Tynjala
Is it actually necessary for the compiler to create some kind of boilerplate HTML for you? It may be a little useful for quick demos, I'll concede, but many real world projects will need highly customized HTML files. Many need things like analytics, CSS, and other static HTML content that isn't

Re: git commit: [flex-sdk] [refs/heads/develop] - this got these test to pass on my mac

2016-01-04 Thread Mihai Chira
This also means that we'll need to update this xml when we release a new version of FlexUnit. Is there a way we could reference the flexunit build.xml's "${build.version}-${build.number}-flex_${build.sdk}" variables, instead of having to maintain these manually? On 4 January 2016 at 14:31, Mihai

Re: Circular dependencies (was: Re: Closure compiler CompilationLevel)

2016-01-04 Thread Andy Dufilie
On Thu, Dec 31, 2015 at 2:42 AM, Alex Harui wrote: > > On 12/30/15, 10:31 PM, "Andy Dufilie" wrote: > >- When I run flexjs/js/bin/compc I get a bin-release folder with the JS > >output files. I then try to run closure manually on these files, and I >

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-04 Thread Harbs
This sounds great, but I don’t think I could make such an event. I do hope that it’s the first such event of many around the globe… Harbs On Jan 5, 2016, at 4:28 AM, Alex Harui wrote: > Hi, > > I have received permission from my managers to host an Apache FlexJS event > at

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-04 Thread Alex Harui
It might be possible. Let's see who else would be interested. -Alex On 1/4/16, 6:34 PM, "Sanatkumar Dhir" wrote: >I suggest to have similar event in Tri State Area. > >Sent from my iPhone 6 Plus > >> On Jan 4, 2016, at 9:28 PM, Alex Harui wrote: >> >> Hi,

Re: [FLEXJS] FlexJS Event in San Francisco

2016-01-04 Thread Harbs
Not stupid. New York, New Jersey and Connecticut. Basically it refers to a radius around New York City. On Jan 5, 2016, at 9:06 AM, Christofer Dutz wrote: > Stupid question from my side: what is the tri-state-area? ;-)

Re: Circular dependencies (was: Re: Closure compiler CompilationLevel)

2016-01-04 Thread Alex Harui
FWIW, the compiler currently generates a set of goog.requires based on the set of class dependencies a source file needed to resolve in order to compile a file, but IMO that is often a larger set of requires than is actually needed by the goog.requires subsystem and by the JS runtimes. For

Re: Bug in mxmlc script

2016-01-04 Thread jude
I use FB for browser based apps but I dislike how it overwrites the template when switching SDK versions. IIRC FB hard codes the template to "index.template.html". So it always gets overwritten. I think it should come with a default template file but let you specify your own template through a

AW: [FLEXJS] FlexJS Event in San Francisco

2016-01-04 Thread Christofer Dutz
I would live to come, but it would have to be before/after apache con in May ... Could it be an option to do this in May instead? My boss will not pay two intercontinental flights within one month :-) if it was one month later we could also maybe add one non-conference day for a maven crash

[GitHub] flex-falcon pull request: updated test cases with labeled for-each...

2016-01-04 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/flex-falcon/pull/3 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

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

2016-01-04 Thread Harbs
Here’s an implementation question: Apparently, it’s possible to pass a string into an XMLList constructor to create an XMLList of multiple XML objects. I’m not sure of the best way to handle this. I can walk the contents of the string and split the string into multiple XML strings and create

Re: git commit: [flex-sdk] [refs/heads/develop] - this got these test to pass on my mac

2016-01-04 Thread Alex Harui
On 1/4/16, 5:35 AM, "Mihai Chira" wrote: >This also means that we'll need to update this xml when we release a >new version of FlexUnit. Is there a way we could reference the >flexunit build.xml's >"${build.version}-${build.number}-flex_${build.sdk}" variables, >instead

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

2016-01-04 Thread Harbs
Another issue: XML literals and angle brackets. Is the compiler handling xml literals at all now? I think angle bracket notation need to be converted to string concatenation as well. On Dec 31, 2015, at 5:21 PM, Alex Harui wrote: > Sounds reasonable. Do you want to try to

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
Sounds exciting. For those of us who have already tried this, what are the steps to uninstall so we know we are installing from a clean slate? Thanks, -Alex On 1/4/16, 1:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Hi

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

2016-01-04 Thread Alex Harui
Looks like there currently isn't any XML Literal handling for AS -> JS. For AS code like: var foo:XML = foo; What do you want the output to be? Shouldn't we just pass the whole thing to the XML() function? var foo = new XML('foo'); Or do you want something else? For XMLList literals, can

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
Oh right, forgot about that. npm uninstall flexjs -g Then clear cache and install. Thanks, Om On Jan 4, 2016 7:44 AM, "Alex Harui" wrote: > Sounds exciting. For those of us who have already tried this, what are > the steps to uninstall so we know we are installing from a

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

2016-01-04 Thread Alex Harui
On 1/4/16, 8:17 AM, "Harbs" wrote: >For literals, yes, we’d for the most part just pass the whole thing as a >string to the constructor. The only exception I can think of is bracket >notation: > >var foo:XML = foo; >would have to become: >var foo:XML = new

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Peter Ent
I tried this just now. Worked fine; no errors and it built the USStatesMap project. I also tried it out with the ChartExample and using an MXML file as the main project file; that works too. I think it has to generate or there has to be a companion tool to build the HTML files before it can be

Re: [VOTE] Release Apache Flex SDK 4.15 RC1

2016-01-04 Thread Alex Harui
+1 Package https://dist.apache.org/repos/dist/dev/flex/sdk/4.15.0/rc1/apache-flex-sdk- 4.15.0-src.tar.gz Java 1.7 OS: Mac OS X x86_64 10.9.5 Source kit signatures match: y Source kit builds: y README is ok: y RELEASE_NOTES is ok: y NOTICE is ok: y LICENSE is ok: y No unapproved licenses or

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
On 1/4/16, 8:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Oh right, forgot about that. > >npm uninstall flexjs -g > >Then clear cache and install. Clear what cache and how? I just tried it and it didn't work for me.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Peter Ent
I did not get any errors, but I did use sudo to do it. I confirmed by trying asjsc again which could not be found. ‹peter On 1/4/16, 1:02 PM, "Alex Harui" wrote: > > >On 1/4/16, 8:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" >

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Josh Tynjala
If you use js/bin/mxmlc instead of js/bin/asjsc, it will generate an HTML file. asjsc generates only JavaScript so that you can integrate it into your own custom HTML. - Josh On Mon, Jan 4, 2016 at 9:29 AM, Peter Ent wrote: > I tried this just now. Worked fine; no errors and it

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

2016-01-04 Thread Harbs
For literals, yes, we’d for the most part just pass the whole thing as a string to the constructor. The only exception I can think of is bracket notation: var foo:XML = foo; would have to become: var foo:XML = new XML('foo’); Wrapping the xml in a dummy node is a good idea. I like that. Thanks!

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

2016-01-04 Thread Andy Dufilie
On Mon, Jan 4, 2016 at 11:17 AM, Harbs wrote: > For literals, yes, we’d for the most part just pass the whole thing as a > string to the constructor. The only exception I can think of is bracket > notation: > > var foo:XML = foo; > would have to become: > var foo:XML = new