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 instructions for adding the project, but FB is acting kind of 
funny. It’s not showing all the files in the Package Explorer. I used the 
Navigator to open the DataBinding example in the editor, but some classes are 
not recognized. For example: org.apache.flex.events.EventDispatcher
4) I’m not getting any kind of code hinting at all. I have a feeling it’s 
related to the error below.
5) When I added the develop build as a build configuration it did not work at 
all. When I added the nightly build, I get the following error when trying to 
run:

usage: dirname path
Using Falcon codebase: /../..
Using Flex SDK: /../..
Error: Unable to access jarfile /../lib/mxmlc.jar

[1]https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+Flash+Builder
On Oct 22, 2015, at 10:45 AM, Harbs <harbs.li...@gmail.com> wrote:

> 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 <aha...@adobe.com> wrote:
> 
>> 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
>> 
>> <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}”
>> 
>> 
>> to other build.xml files although the build now passes for me with what I
>> think your set up is.
>> 
>> -Alex
>> 
>> On 10/21/15, 1:44 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>> 
>>> 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 <aha...@adobe.com> wrote:
>>> 
>>>> 
>>>> 
>>>> On 10/21/15, 1:37 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>>>> 
>>>>> No joy.
>>>>> 
>>>>> I made this change in that file:
>>>>>     <compc fork="true"
>>>>>            output="${FLEXJS_HOME}/frameworks/libs/Core.swc">
>>>>>         <jvmarg line="${compc.jvm.args}"/>
>>>>>         <load-config filename="compile-config.xml" />
>>>>>         <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"
>>>>> />
>>>>>         <arg value="+playerglobal.version=${playerglobal.version}" />
>>>>>         <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
>>>>>     </compc>
>>>>> 
>>>>> 
>>>>> I’m really confused about where that is defined. The only place I see
>>>>> it
>>>>> would be in flex-asjs/installer.xml:
>>>> 
>>>> I think they are magic tokens in the compiler code.  I will try to
>>>> re-create your scenario.
>>>> 
>>>> -Alex
>>>> 
>>> 
>> 
> 

Reply via email to