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" <tomcat.dowd...@gmail.com> wrote:

>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=%~dp0..\..") else echo
>Using Falcon codebase: %FALCON_HOME%
>
>if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using
>Flex SDK: %FLEX_HOME%
>
>"" -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m
>-Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar
>"%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=FLEXJS
>-sdk-js-lib="%FLEX_HOME%\frameworks\js\FlexJS\src" %*
>~~~
>
>Neither existed so I created them and set them to "x". Retrying
>advanced progress but was quickly blocked by a dialog:
>
>"Problem Occurred" Launching FlexJS (FalconJX Debug and Release Build)
>has encountered a problem. Variable references empty selection
>${project_loc}.
>
>Wondering if I missed some fundamental step?
>
>* Repro *
>To install I used:
>
>"Installing FlexJS via the Apache Flex SDK Installer" :
>https://cwiki.apache.org/confluence/display/FLEX/Getting+Started+With+Flex
>JS#GettingStartedWithFlexJS-ApacheFlexInstaller
>
>"Using FlexJS with Adobe Flash Builder" :
>https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+F
>lash+Builder
>
>Tom
>
>
>On Fri, Jun 10, 2016 at 1:28 PM, Alex Harui <aha...@adobe.com> wrote:
>> 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" <tomcat.dowd...@gmail.com> wrote:
>>
>>>Sure, Alex.
>>>
>>>Image link: http://i.imgur.com/Nz7b1yC.png
>>>
>>>Tom
>>>
>>>
>>>On Fri, Jun 10, 2016 at 1:01 PM, Alex Harui <aha...@adobe.com> 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" <aha...@adobe.com> wrote:
>>>>
>>>>>The image didn't come through for me.  Please post a link to the image
>>>>>instead.
>>>>>
>>>>>Thanks,
>>>>>-Alex
>>>>>
>>>>>From: Tom Dowdell
>>>>><tomcat.dowd...@gmail.com<mailto:tomcat.dowd...@gmail.com>>
>>>>>Reply-To: "dev@flex.apache.org<mailto:dev@flex.apache.org>"
>>>>><dev@flex.apache.org<mailto:dev@flex.apache.org>>
>>>>>Date: Thursday, June 9, 2016 at 2:52 PM
>>>>>To: "dev@flex.apache.org<mailto:dev@flex.apache.org>"
>>>>><dev@flex.apache.org<mailto:dev@flex.apache.org>>
>>>>>Subject: [FlexJS] Hello World
>>>>>
>>>>>Hi,
>>>>>
>>>>>It's my first day using Builder, Flex and FlexJS -- I have zero
>>>>>experience with Adobe development. Following the great instructions
>>>>>here
>>>>>(https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Ad
>>>>>ob
>>>>>e+
>>>>>Flash+Builder) I was able to get "Hello World" running pretty quickly
>>>>>but
>>>>>am confused by two things:
>>>>>
>>>>>- When I launch the html in a browser it uses the flash plug-in. I saw
>>>>>this in the html...not sure if related:
>>>>>"SWFObject's dynamic embed method replaces this alternative HTML
>>>>>content
>>>>>with Flash content when enough
>>>>>             JavaScript and Flash plug-in support is available. The
>>>>>div
>>>>>is initially hidden so that it doesn't show
>>>>>             when JavaScript is disabled."
>>>>>
>>>>>- Check out the error in the console window. Not sure what to do about
>>>>>it.
>>>>>
>>>>>Any clarity you can provide would be appreciated.
>>>>>
>>>>>[Inline image 1]
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Tom
>>>>>
>>>>
>>

Reply via email to