You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2014/02/26 04:06:49 UTC

Compiling Falcon

Hi,

Just checked out Falcon and tried to compile it and got this:

copy.sdk:
     [echo] Copying SDK

BUILD FAILED
/Users/justinmclean/Documents/ApacheFlexFalcon/build.xml:66: The following error occurred while executing this line:
/Users/justinmclean/Documents/ApacheFlexFalcon/compiler/build.xml:773: /Users/justinmclean/Documents/ApacheFlexFalcon/compiler/${sdk.branch} does not exist.

Any ideas?


I also notice quit a few warnings re newline in regular expressions - which seem easy enough to fix:
     [java] Warning in file "/Users/justinmclean/Documents/ApacheFlexFalcon/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex" (line 197): 
     [java] ".|\n" does not match all characters, because "." excludes all Unicode newline chars - use "[^]" instead
     [java] <STRING1> ([\\](.|"\n"))+

Thanks,
Justin


Re: Compiling Falcon

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

Looks like it also requires a FLEX_HOME var set up.

    [mxmlc] /Users/justinmclean/Documents/ApacheFlexFalcon/defaults
    [mxmlc] Error: configuration variable 'load-config' value contains unknown token 'env.FLEX_HOME'.
    [mxmlc] defaults (line: -1)
    [mxmlc] 

BTW neither of these are documented in the README.

Thanks,
Justin

Re: Compiling Falcon

Posted by Alex Harui <ah...@adobe.com>.
It expects that Falcon is in the same tree as sdk or flex-sdk.  If you
didn't do that, set sdk.branch in local.properties or on the command line.

-Alex

On 2/25/14 7:06 PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>Hi,
>
>Just checked out Falcon and tried to compile it and got this:
>
>copy.sdk:
>     [echo] Copying SDK
>
>BUILD FAILED
>/Users/justinmclean/Documents/ApacheFlexFalcon/build.xml:66: The
>following error occurred while executing this line:
>/Users/justinmclean/Documents/ApacheFlexFalcon/compiler/build.xml:773:
>/Users/justinmclean/Documents/ApacheFlexFalcon/compiler/${sdk.branch}
>does not exist.
>
>Any ideas?
>
>
>I also notice quit a few warnings re newline in regular expressions -
>which seem easy enough to fix:
>     [java] Warning in file
>"/Users/justinmclean/Documents/ApacheFlexFalcon/compiler/src/org/apache/fl
>ex/compiler/internal/parsing/as/RawASDocTokenizer.lex" (line 197):
>     [java] ".|\n" does not match all characters, because "." excludes
>all Unicode newline chars - use "[^]" instead
>     [java] <STRING1> ([\\](.|"\n"))+
>
>Thanks,
>Justin
>