See <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/934/changes>
Changes:
[joshtynjala] VarDeclarationEmitter: fixed sourcemap for assignment when type
is omitted
[joshtynjala] compiler.jx.tests: added some tests for if statement source maps
[joshtynjala] compiler.jx: curly braces to open and close blocks have been
moved to the emitter
[joshtynjala] JSEmitter: overrides emitBlockOpen() and emitBlockClose() so that
it can generate source maps
[joshtynjala] TestSourceMapStatements: added block open { to tested mappings
[joshtynjala] ASParser: array contents start after [ and before ], and
ArrayLiteralNode includes them
[joshtynjala] compiler: added getEndLine() and getEndColumn() to ISourceLocation
[joshtynjala] compiler.jx: updated JSEmitter to support new getEndLine() and
getEndColumn(), and tweaked some sub-emitters to use this change
[joshtynjala] compiler.jx.tests: expanded source map tests to include some
missing mappings
------------------------------------------
[...truncated 588 lines...]
set.css.tree.uptodate:
css.tree:
[echo] Generating CSSTree
[java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
antlr:
node.adapter:
[javac] Compiling 1 source file to
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/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
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/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:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/generated/src/org/apache/flex/compiler/internal/as/codegen>
[java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
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
[java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[move] Moving 1 file to
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/generated/src/org/apache/flex/compiler/internal/as/codegen>
[delete] Deleting:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/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:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/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
[java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[move] Moving 1 file to
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/generated/src/org/apache/flex/compiler/internal/css/codegen>
[delete] Deleting:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/generated/src/org/apache/flex/compiler/internal/css/codegen/CSSEmitter.java.temp>
jburg:
eclipse:
src.depend:
compile:
[javac] Compiling 1786 source files to
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/generated/classes>
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.6
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/ant/FlexTask.java>:309:
warning: [rawtypes] found raw type: Class
[javac] Method toolMethod =
toolClass.getMethod(toolMethodName, new Class[] {String[].class});
[javac]
^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/ant/FlexTask.java>:338:
warning: [rawtypes] found raw type: Class
[javac] Method toolFailureMethod =
toolClass.getMethod(toolFailureMethodName, new Class[] {int.class});
[javac]
^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/caches/CSSDocumentCache.java>:85:
error: <anonymous org.apache.flex.compiler.internal.caches.CSSDocumentCache$1>
is not abstract and does not override abstract method getEndColumn() in
ISourceLocation
[javac] {
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/config/Configurator.java>:3280:
warning: [unchecked] unchecked cast
[javac] return (Map<String, List<String>>) args.get(
COMPILER_EXTENSIONS );
[javac] ^
[javac] required: Map<String,List<String>>
[javac] found: Object
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/config/ConfigurationInfo.java>:372:
warning: [rawtypes] found raw type: Class
[javac] argtypes = new Class[] {String.class};
[javac] ^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/config/ConfigurationInfo.java>:387:
warning: [rawtypes] found raw type: Class
[javac] argtypes = new Class[fields.length];
[javac] ^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/config/ConfigurationInfo.java>:407:
warning: [rawtypes] found raw type: Class
[javac] argtypes = new Class[pt.length - 1];
[javac] ^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:96:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:97:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("compile
program as a specfic version between " + MIN_VERSION + " and " + MAX_VERSION)
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:98:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("api");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:103:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:104:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("emit
bytecode for a target virtual machine version, 1 is AVM1, 2 is AVM2")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:105:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("avmtarget");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:110:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArgs(2)
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:111:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withValueSeparator('=')
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:112:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("define a
configuration value in the namespace ns")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:113:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("config");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:118:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:119:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("emit an exe
file (projector)")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:120:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("exe");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:125:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:126:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("include
the specified source file")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:127:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("in");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:132:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:133:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("make the
packages in the abc file available for import")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:134:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("import");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:139:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:140:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("set the
language for output strings {EN|FR|DE|IT|ES|JP|KR|CN|TW}")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:141:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("language");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:146:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:147:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("import
a swc library")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:148:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withLongOpt("library")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:149:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("li"));
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:153:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:154:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("import
a swc as external library")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:155:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withLongOpt("libraryext")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:156:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("le"));
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:160:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArgs()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:161:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("optimizer
configuration")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:162:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withLongOpt("O2")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:163:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("o2");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:168:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:169:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("Change the
directory of the output files")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:170:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("outdir");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:175:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:176:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("Change the
basename of the output file")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:177:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("out");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:185:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:186:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withValueSeparator(',')
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:187:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .withDescription("emit a SWF
file")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:188:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("swf");
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:193:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .hasArg()
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:194:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac]
.withDescription("automatically use a namespace when compiling this code")
[javac] ^
[javac]
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/src/org/apache/flex/compiler/internal/clients/CLIFactory.java>:195:
warning: [static] static method should be qualified by type name,
OptionBuilder, instead of by an expression
[javac] .create("use");
[javac] ^
[javac] 1 error
[javac] 54 warnings
BUILD FAILED
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/build.xml>:78: The
following error occurred while executing this line:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/build.xml>:901:
The following error occurred while executing this line:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler/build.xml>:556:
Compile failed; see the compiler error output for details.
Total time: 6 minutes 32 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure
Skipped archiving because build is not successful
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files
were found. Configuration error?