Re: [FlexJS] Hello World

2016-06-10 Thread Alex Harui
On 6/10/16, 3:56 PM, "Tom Dowdell" wrote: > >Now I am getting the following error in the console (showing path to >compc.bat) > >exception 'java.io.FileNotFoundException: >C:\proj\Lab\test8\.flexLibProperties' while setting variable '' >at >org.apache.flex.compiler.internal.config.FlashBuilderC

Re: [FlexJS] Hello World

2016-06-10 Thread Tom Dowdell
Ah, I didn't catch your drift above, that you wanted me to uninstall and reinstall something after setting JAVA_HOME. I simply set it and relaunched Builder. I uninstalled "Apache Flex SDK Installer", removed the old SDK folder and reinstalled and there is progress. Note that I have not yet explici

Re: [FlexJS] Hello World

2016-06-10 Thread Alex Harui
Hi Tom, For some reason, the Installer still didn't find JAVA_HOME. Are you setting JAVA_HOME in a way that the Installer will pick it up? Eventually, the log should show: >Finished uncompressing: >C:\Tools\FlexJS\temp\apache-flex-flexjs-0.6.0-bin.zip >Java is Thanks, -Alex

Re: [FlexJS] Hello World

2016-06-10 Thread Tom Dowdell
Installer version 3.2.0 (windows) Using Locale: en_US Fetched the SDK download mirror URL from the CGI. SDK version Apache FlexJS 0.6.0 AIR version 21.0 Flash Player version 21.0 Creating Apache FlexJS home Creating temporary directory Downloading Apache FlexJS from:http://www-eu.apache.org/dist/fl

Re: [FlexJS] Hello World

2016-06-10 Thread Alex Harui
Please post a link to the installer.log from the FlexJS SDK folder. Thanks, -Alex On 6/10/16, 2:49 PM, "Tom Dowdell" wrote: >No, I didn't delete or reimport anything. I literally followed the >instructs described above step by step on a system with no history >with Builder & Flex. > >On Fri, Ju

Re: [FlexJS] Hello World

2016-06-10 Thread Tom Dowdell
No, I didn't delete or reimport anything. I literally followed the instructs described above step by step on a system with no history with Builder & Flex. On Fri, Jun 10, 2016 at 2:29 PM, Alex Harui wrote: > FALCON_HOME and FLEX_HOME should be set by the script at runtime. > > Did you delete and

Re: [FlexJS] Hello World

2016-06-10 Thread Alex Harui
FALCON_HOME and FLEX_HOME should be set by the script at runtime. Did you delete and reimport the launch configs? The installer will update them, but I don't know if Flash Builder will pick up the updates without explicitly removing and re-importing them. -Alex On 6/10/16, 2:25 PM, "Tom Dowdell

Re: [FlexJS] Hello World

2016-06-10 Thread Tom Dowdell
Thanks, Alex. JAVA_HOME var didn't exist. I created and set it but made no difference. Then noticed (as shown in the linked image) the reference to the mxmlc.bat file. Within that file noticed two vars being referenced, FALCON_HOME and FLEX_HOME: ~~~ if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~

Re: [FlexJS] Hello World

2016-06-10 Thread Alex Harui
Hi Tom, I've seen that when the installer can't find Java. Please make sure you have a JAVA_HOME variable set to an installation of Java. Thanks, -Alex On 6/10/16, 1:18 PM, "Tom Dowdell" wrote: >Sure, Alex. > >Image link: http://i.imgur.com/Nz7b1yC.png > >Tom > > >On Fri, Jun 10, 2016 at 1:01

Re: [FlexJS] Hello World

2016-06-10 Thread Tom Dowdell
Sure, Alex. Image link: http://i.imgur.com/Nz7b1yC.png Tom On Fri, Jun 10, 2016 at 1:01 PM, Alex Harui wrote: > Just realized this was a moderated post so the OP may not get the reply. > > Tom, please post a link to the image. > > Thanks, > -Alex > > On 6/9/16, 4:14 PM, "Alex Harui" wrote: >

Re: [FlexJS] Hello World

2016-06-10 Thread Alex Harui
Just realized this was a moderated post so the OP may not get the reply. Tom, please post a link to the image. Thanks, -Alex On 6/9/16, 4:14 PM, "Alex Harui" wrote: >The image didn't come through for me. Please post a link to the image >instead. > >Thanks, >-Alex > >From: Tom Dowdell >mailto

Re: [Falcon] Declaring defines in config xml doesn't seem to work

2016-06-10 Thread Alex Harui
OK, I will try to make this change over the weekend. Hopefully SED won't fail me. -Alex On 6/9/16, 8:25 PM, "Harbs" wrote: >+1 > >On Jun 10, 2016, at 1:32 AM, Christofer Dutz >wrote: > >> +1 >> >> >> >> Von meinem Samsung Galaxy Smartphone gesendet. >> >> >> Ursprüngliche Nachri

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Alex Harui
Oh and I should mention that the clue is in this output: /usr/local/bin/asjsc: /bin/sh^M: bad interpreter... The ^M is the CR character. It is being used as a part of the file name and not as a line break. -Alex On 6/10/16, 10:54 AM, "Alex Harui" wrote: >OK. Om, I haven't looked at how NPM

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Josh Tynjala
I changed the line endings from CRLF to LF (from Windows to Unix) in the copy that NPM installed locally, and it started working correctly. Good call, Alex. - Josh On Fri, Jun 10, 2016 at 8:47 AM, OmPrakash Muppirala wrote: > I haven't really tested it on a mac. Can you help figure out a fix f

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Alex Harui
OK. Om, I haven't looked at how NPM packaging works but I think you may need to change CRLF to LF before placing the non .bat files into a package. Our main Ant build scripts do that with fixcrlf. -Alex On 6/10/16, 10:50 AM, "Josh Tynjala" wrote: >I changed the line endings from CRLF to LF (f

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread OmPrakash Muppirala
I haven't really tested it on a mac. Can you help figure out a fix for this? Thanks, Om On Jun 10, 2016 8:42 AM, "Alex Harui" wrote: > That sounds like a crlf issue. > > Sent from my LG G3, an AT&T 4G LTE smartphone > > -- Original message-- > From: Josh Tynjala > Date: Fri, Jun 10, 201

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Alex Harui
That sounds like a crlf issue. Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: Josh Tynjala Date: Fri, Jun 10, 2016 8:08 AM To: dev@flex.apache.org; Subject:Cannot run Apache FlexJS from NPM I tried installing FlexJS from NPM, but when I try to run asjsc, I get

Cannot run Apache FlexJS from NPM

2016-06-10 Thread Josh Tynjala
I tried installing FlexJS from NPM, but when I try to run asjsc, I get the following error in my terminal. /usr/local/bin/asjsc: /bin/sh^M: bad interpreter: No such file or directory I'm on Mac 10.11.5. Any ideas? - Josh