Hi,
What the deal with having to manually set up JFLEX? As far as I can see JFLEX
is under a BSD license - see http://jflex.de/copying.html.
Currently I'm not able to build FalconFX. I assume it's probably something I've
done wrong but no idea what - anyone have any ideas?
Buildfile:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/build.xml
Here's the full build log:
sdk:
checkenv:
[echo] JFLEX_JAR is /Users/justinmclean/Downloads/jflex-1.5.1.jar
download:
prepare:
antlr-jar-check:
antlr-jar:
commons-cli-jar-check:
commons-cli-jar:
commons-io-jar-check:
commons-io-jar:
commons-jars:
guava-jar-check:
guava-jar:
jburg-jar-check:
jburg-jar:
lzma-jar-check:
lzma-jar:
main:
setup:
set.raw.as.tokenizer.uptodate:
raw.as.tokenizer:
[echo] Generating RawASTokenizer
[java]
[java] Warning in file
"/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex"
(line 848):
[java] ".|\n" does not match all characters, because "." excludes all
Unicode newline chars - use "[^]" instead
[java] <TYPED_COLLECTION, TYPED_COLLECTION_LITERAL> .|"\n"
[java] ^
[java]
[java] Warning in file
"/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex"
(line 935):
[java] ".|\n" does not match all characters, because "." excludes all
Unicode newline chars - use "[^]" instead
[java] <E4X> .|"\n"
[java] ^
[java]
[java] Warning in file
"/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex"
(line 1322):
[java] ".|\n" does not match all characters, because "." excludes all
Unicode newline chars - use "[^]" instead
[java] <YYINITIAL, STRINGLITERAL, ESCAPE_SEQUENCE, TYPED_COLLECTION,
TYPED_COLLECTION_LITERAL> .|"\n"
[java]
^
[java]
[java] Warning: Emitting deprecated InputStream constructor. In JFlex 1.6,
the default will be to NOT emit this constructor. The inputstreamctor option
will cause this constructor to be emitted in JFlex 1.5 and 1.6; the version
after 1.6 will never emit this constructor.
set.raw.asdoc.tokenizer.uptodate:
raw.asdoc.tokenizer:
[echo] Generating RawASDocTokenizer
[java]
[java] Warning in file
"/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/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"))+
[java] ^
[java]
[java] Warning in file
"/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASDocTokenizer.lex"
(line 234):
[java] ".|\n" does not match all characters, because "." excludes all
Unicode newline chars - use "[^]" instead
[java] <YYINITIAL, TAG, STRING1> .|"\n"
[java] ^
[java]
[java] Warning: Emitting deprecated InputStream constructor. In JFlex 1.6,
the default will be to NOT emit this constructor. The inputstreamctor option
will cause this constructor to be emitted in JFlex 1.5 and 1.6; the version
after 1.6 will never emit this constructor.
set.raw.mxml.tokenizer.uptodate:
raw.mxml.tokenizer:
[echo] Generating RawMXMLTokenizer
[java]
[java] Warning: Emitting deprecated InputStream constructor. In JFlex 1.6,
the default will be to NOT emit this constructor. The inputstreamctor option
will cause this constructor to be emitted in JFlex 1.5 and 1.6; the version
after 1.6 will never emit this constructor.
jflex:
annotate.class:
[mkdir] Created dir:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/classes
[javac] Compiling 1 source file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/classes
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.6
[javac] 1 warning
set.as.parser.uptodate:
as.parser:
[echo] Generating ASParser and ASTokenTypes
[antlr] ANTLR Parser Generator Version 2.7.7 (20060906) 1989-2005
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as/ASParser.java.temp
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as/ASTokenTypes.java.temp
set.metadata.parser.uptodate:
metadata.parser:
[echo] Generating MetadataParser and MetadataTokenTypes
[antlr] ANTLR Parser Generator Version 2.7.7 (20060906) 1989-2005
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as/MetadataParser.java.temp
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as/MetadataTokenTypes.java.temp
set.css.lexer.and.parser.uptodate:
css.lexer.and.parser:
[echo] Generating CSSLexer and CSSParser
[mkdir] Created dir:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css/CSSLexer.java.temp
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css/CSSParser.java.temp
set.css.tree.uptodate:
css.tree:
[echo] Generating CSSTree
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css/CSSTree.java.temp
antlr:
node.adapter:
[javac] Compiling 1 source file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/classes
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.6
[javac] 1 warning
unknown.tree.pattern.input.output:
[javac] Compiling 1 source file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/classes
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.6
[javac] 1 warning
set.unknown.tree.handler.patterns.uptodate:
unknown.tree.handler.patterns:
[mkdir] Created dir:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/as/codegen
set.cmc.emitter.uptodate:
cmc.emitter:
[echo] Generating CmcEmitter
[java] Using Language Adaptor : jburg.burg.emitlangs.EmitJava
[java] Using i-node adapter
org.apache.flex.compiler.internal.as.codegen.IASNodeAdapter
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/as/codegen
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/as/codegen/CmcEmitter.java.temp
set.css.emitter.uptodate:
css.emitter:
[echo] Generating CSSEmitter
[mkdir] Created dir:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css/codegen
[java] Using Language Adaptor : jburg.burg.emitlangs.EmitJava
[java] Using i-node adapter jburg.burg.inode.DefaultAdapter
[move] Moving 1 file to
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css/codegen
[delete] Deleting:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/src/org/apache/flex/compiler/internal/css/codegen/CSSEmitter.java.temp
jburg:
bin-legacy:
BUILD FAILED
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/build.xml:66:
The following error occurred while executing this line:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/build.xml:774:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler/generated/dist/sdk/bin
does not exist.
The error is correct in that the generated directory (and down) doesn't exist
but the previous step looks to me like it generating something.
Thanks,
Justin