Re: Building FlexJS from source

2016-01-21 Thread Alex Harui
On 1/20/16, 6:47 PM, "lizhi" wrote: >but i think the build.xml not good,bcs it need you set env path. >i have a idea,not use the env path,it is good for me. >just depand the dir of you flexjs sdk. > >hope someone find it,s good. >bcs i do not want set some env path of my pc. Yes, in the future

Re: Building FlexJS from source

2016-01-20 Thread lizhi
/build.xml -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-Building-FlexJS-from-source-tp51343p51347.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Building FlexJS from source

2016-01-20 Thread Andy Dufilie
On Wed, Jan 20, 2016 at 1:35 PM, Alex Harui wrote: > The FlashPlayerDebugger can be downloaded from > http://www.adobe.com/support/flashplayer/downloads.html > (it says so in our READme ;-)) > > That's where I get the debugger for the browser, but I wasn't sure specifically where FlashPlayerDebug

Re: Building FlexJS from source

2016-01-20 Thread Alex Harui
On 1/20/16, 10:16 AM, "Andy Dufilie" wrote: >I've been struggling for a while trying to find the right settings that >will let me build FlexJS from the git repositories on Windows. I've >documented my steps here now that I've managed to get the >flex-asjs/build.xml/binary-release ant target to

Re: Building FlexJS from source

2016-01-20 Thread Andy Dufilie
I've been struggling for a while trying to find the right settings that will let me build FlexJS from the git repositories on Windows. I've documented my steps here now that I've managed to get the flex-asjs/build.xml/binary-release ant target to work: https://github.com/adufilie/flex-dev-setup. I

Re: Building FlexJS from source

2015-11-05 Thread Alex Harui
On 11/5/15, 3:42 AM, "Harbs" wrote: >Back at this... > >Question: Is the source of the FlexJS swc files supposed to be view-able? >It would be really helpful, if we could jump to the source from IDEs. You can set the source attachments individually on the SWCs in your project. AFAIK, there is

Re: Building FlexJS from source

2015-11-05 Thread Harbs
Back at this... Question: Is the source of the FlexJS swc files supposed to be view-able? It would be really helpful, if we could jump to the source from IDEs. On Nov 2, 2015, at 3:10 AM, Alex Harui wrote: > > > On 11/1/15, 10:24 AM, "Harbs" wrote: >> >>> There shouldn’t be a lib folder in

Re: Building FlexJS from source

2015-11-01 Thread Alex Harui
On 11/1/15, 10:24 AM, "Harbs" wrote: > >> There shouldn’t be a lib folder in flex-asjs unless you tried to convert >> it into an IDE compatible folder, which I’ve not tried. > >Yes. That’s what I did. How are you set up to work on the SDK? Do you >copy everything out first? Or do you just use an

Re: Building FlexJS from source

2015-11-01 Thread Harbs
On Nov 1, 2015, at 4:48 PM, Alex Harui wrote: > What command-line are you running and what is FALCON_HOME set to? If you > are trying to run from the repos, FALCON_HOME should be set to the > flex-falcon repo’s compiler/generated/dist/sdk It could be that I did not get this right. I’ll try aga

Re: Building FlexJS from source

2015-11-01 Thread Alex Harui
What command-line are you running and what is FALCON_HOME set to? If you are trying to run from the repos, FALCON_HOME should be set to the flex-falcon repo’s compiler/generated/dist/sdk There shouldn’t be a lib folder in flex-asjs unless you tried to convert it into an IDE compatible folder, whi

Re: Building FlexJS from source

2015-11-01 Thread Alex Harui
On 11/1/15, 3:42 AM, "Harbs" wrote: >I’m using FB 4.7 and things are definietly better than they were with 4.5. > >I got the DataGrid example to run, but I’m getting errors trying to run >the DataBindingExample: > >ReferenceError: Error #1069: Property name not found on >flash.display.LoaderInf

Re: Building FlexJS from source

2015-11-01 Thread Harbs
In trying to figure out what the build script was doing, I got a bit lost. I’m going to need some help here. The build script is including build_example.xml which has this: I’m getting an error at taskdef, and I’m not sure

Re: Building FlexJS from source

2015-11-01 Thread Harbs
I’m using FB 4.7 and things are definietly better than they were with 4.5. I got the DataGrid example to run, but I’m getting errors trying to run the DataBindingExample: ReferenceError: Error #1069: Property name not found on flash.display.LoaderInfo and there is no default value. at

Re: Building FlexJS from source

2015-10-26 Thread OmPrakash Muppirala
I just pushed the .project files. I hope nothing else is broken. Thanks, Om On Mon, Oct 26, 2015 at 12:24 PM, Harbs wrote: > Yes.I’m fine using a workaround for now. Although I can’t say I understand > what you mean… ;-) > > On Oct 26, 2015, at 8:52 PM, Alex Harui wrote: > > >> 2) Get that to

Re: Building FlexJS from source

2015-10-26 Thread Harbs
Yes.I’m fine using a workaround for now. Although I can’t say I understand what you mean… ;-) On Oct 26, 2015, at 8:52 PM, Alex Harui wrote: >> 2) Get that to work from the source folder (so I’m able to fix and add to >> the develop branch and debug changes). > > We’ll see how much of that wor

Re: Building FlexJS from source

2015-10-26 Thread Alex Harui
On 10/26/15, 11:12 AM, "Harbs" wrote: >I was actually just trying to follow the instructions on the wiki. I >don’t remember right now exactly what I did, but I did create a new >project and just copied the source files. For some reason that did not >work. I’m using FB 4.5. Could that be the pro

Re: Building FlexJS from source

2015-10-26 Thread Harbs
I was actually just trying to follow the instructions on the wiki. I don’t remember right now exactly what I did, but I did create a new project and just copied the source files. For some reason that did not work. I’m using FB 4.5. Could that be the problem? I had some urgent things to take car

Re: Building FlexJS from source

2015-10-26 Thread Alex Harui
After seeing Luke’s email on a related topic, it occurred to me that you are probably trying to get each SWC to work as an FB AS library project, and then your app as a FlexJS application that relies on these library projects. TBH, I haven’t really worked that way, but I think it should be possibl

Re: Building FlexJS from source

2015-10-25 Thread Alex Harui
I can’t help much with IntelliJ, but see below for FB. On 10/25/15, 2:22 AM, "Harbs" wrote: >Some more hitches: > >I’m following the instructions on the wiki[1] > >1) It seems that building the source does not produce a recognized SDK. I >cannot add it as an SDK in Flash Builder. That has histo

Re: Building FlexJS from source

2015-10-25 Thread Harbs
I tried the IntelliJ setup instructions as well (for the nightly) and that’s not very successful either. Information:[DataBindingTest]: Starting Flex compiler: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -d32 "-Dapplication.home=/Users/harbs/Documents/Apache Flex Di

Re: Building FlexJS from source

2015-10-25 Thread Harbs
Some more hitches: I’m following the instructions on the wiki[1] 1) It seems that building the source does not produce a recognized SDK. I cannot add it as an SDK in Flash Builder. 2) The installation of FlexJS Nightly does produce a recognized SDK, and I was able to add that. 3) I followed the

Re: Building FlexJS from source

2015-10-22 Thread Alex Harui
We use AIR and AS3 for the Installer that installs binary packages for IDEs. For a source package, which can’t have any binaries, we need to start from somewhere, and require AIR can be a hassle especially for Linux folks which we still want to support. So Ant works on all 3 platforms (Win, Mac,

Re: Building FlexJS from source

2015-10-22 Thread jude
Off topic but related question: Why aren't we using AS3 and AIR extended profile to check for env variables and download and setup of FlexJS, etc? I've issues with ant and it doesn't always seem like a faster approach after using it for so long. Then again, AIR didn't have extendedDesktop until re

Re: Building FlexJS from source

2015-10-22 Thread Harbs
Thanks for finding that! It now appears to build fine. The build works even without that extra arg value. OK. Next task is to try and target the developer build of FlexJS and see if I can put together an app using that. On Oct 22, 2015, at 4:27 AM, Alex Harui wrote: > Well, I think I was able

Re: Building FlexJS from source

2015-10-21 Thread Alex Harui
Well, I think I was able to reproduce your problem. Falcon is looking for env.properties in a different place and doesn’t use the arg value passéd in. I pushed a change to Falcon to fix that. So pull changes to flex-falcon before trying again and run “ant all”. You may need to add the wrote:

Re: Building FlexJS from source

2015-10-21 Thread Harbs
OK. I’m calling it a night. Hopefully, I’ll have more success with this tomorrow. Harbs On Oct 21, 2015, at 11:41 PM, Alex Harui wrote: > > > On 10/21/15, 1:37 PM, "Harbs" wrote: > >> No joy. >> >> I made this change in that file: >> > output="${FLEXJS_HOME}/frameworks/

Re: Building FlexJS from source

2015-10-21 Thread Alex Harui
On 10/21/15, 1:37 PM, "Harbs" wrote: >No joy. > >I made this change in that file: > output="${FLEXJS_HOME}/frameworks/libs/Core.swc"> > > >/> > > > > > >I’m really confused about where that is defined. The

Re: Building FlexJS from source

2015-10-21 Thread Harbs
Yeah. I realized that after running ant all again… ;-) On Oct 21, 2015, at 11:37 PM, Alex Harui wrote: > FWIW, since you are failing in the flex-asjs build, you can probably just > run “ant” instead of “ant all”. > > -Alex > > On 10/21/15, 1:24 PM, "Harbs" wrote: > >> Trying now… >> >> On O

Re: Building FlexJS from source

2015-10-21 Thread Alex Harui
FWIW, since you are failing in the flex-asjs build, you can probably just run “ant” instead of “ant all”. -Alex On 10/21/15, 1:24 PM, "Harbs" wrote: >Trying now… > >On Oct 21, 2015, at 11:19 PM, Alex Harui wrote: > >> It looks like there are bugs in the scripts if you use env.properties >>and

Re: Building FlexJS from source

2015-10-21 Thread Harbs
No joy. I made this change in that file: I get the same error. These two lines seem to not be resolved correctly in flex-asjs/frameworks/flex-config.xml: —> {playerglobalHome}/{targetPlayerMajorV

Re: Building FlexJS from source

2015-10-21 Thread Harbs
Trying now… On Oct 21, 2015, at 11:19 PM, Alex Harui wrote: > It looks like there are bugs in the scripts if you use env.properties and > not actually set environment variables. If you look in a file like > frameworks/projects/Core/build.xml, it appears that the tag in the > “compile” target c

Re: Building FlexJS from source

2015-10-21 Thread Alex Harui
It looks like there are bugs in the scripts if you use env.properties and not actually set environment variables. If you look in a file like frameworks/projects/Core/build.xml, it appears that the tag in the “compile” target could also use (like the other targets have): Do you hav

Re: Building FlexJS from source

2015-10-21 Thread Harbs
I tried commenting that var out and it failed immediately. Whatever my problem is, it appears to be related to the playerglobal path. At first it seems to be correct: check-playerglobal-home: [echo] PLAYERGLOBAL_HOME is /Users/harbs/Documents/ApacheFlex/frameworks/libs/player [echo] p

Re: Building FlexJS from source

2015-10-21 Thread Josh Tynjala
I'm guessing that there will be conflicts if you use the AIR SDK that comes with a compiler. - Josh On Wed, Oct 21, 2015 at 12:27 PM, Harbs wrote: > env.AIR_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/AIRSDK_Compiler > >

Re: Building FlexJS from source

2015-10-21 Thread Harbs
I did ant all and it failed in the same place (but after much longer): compile: [echo] Compiling libs/Core.swc [echo] FLEX_HOME: /Users/harbs/Documents/ApacheFlex/flex-asjs [echo] FALCON_HOME: /Users/harbs/Documents/ApacheFlex/flex-asjs/../flex-falcon/compiler/generated/dist/sdk

Re: Building FlexJS from source

2015-10-21 Thread Alex Harui
On 10/21/15, 11:08 AM, "Harbs" wrote: >But I already have clones of all the repos (and some custom files like >env.properties files). > >Why do I need to delete them? Well, I set up the script for new folks. It looks like the right checks are in the script so that it won’t overwrite your stuf

Re: Building FlexJS from source

2015-10-21 Thread Harbs
But I already have clones of all the repos (and some custom files like env.properties files). Why do I need to delete them? On Oct 21, 2015, at 4:20 PM, Alex Harui wrote: > If you have PLAYERGLOBAL_HOME set correctly in the environment, delete all > other folders in /Users/harbs/Documents/Apac

Re: Building FlexJS from source

2015-10-21 Thread Alex Harui
If you have PLAYERGLOBAL_HOME set correctly in the environment, delete all other folders in /Users/harbs/Documents/ApacheFlex/ except flex-asjs, then go to flex-asjs and run “ant all”. It should pull all the dependent repos and run things in the right order. -Alex On 10/21/15, 4:40 AM, "Harbs"

Building FlexJS from source

2015-10-21 Thread Harbs
Back here again… I’m trying to build FlexJS from the source repo in an attempt to see if I can get a setp for working on FlexJS itself. I’m getting stuck here: [mxmlc] /Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/flex-config.xml:65 [mxmlc] Error: unable to open '/Users/harbs/Doc