Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13710 closed defect (fixed)

CLDR build failed

Reported by: Daniel Trang Owned by: Rawld Gill
Priority: high Milestone: 1.7
Component: BuildSystem Version: 1.6.1
Keywords: Cc: Adam Peller
Blocked By: Blocking:

Description

Hi,

Under util\buildscripts\cldr I ran ant and got the following error:

Aug 17, 2011 2:38:55 PM org.apache.bsf.BSFManager exec SEVERE: Exception : java.security.PrivilegedActionException?: org.apache.bsf.BSFException: JavaScript?

Error: ReferenceError?: "define" is not defined. (scriptdef_removeEmptyOutput#40

)

at java.security.AccessController?.doPrivileged(Native Method) at org.apache.bsf.BSFManager.exec(BSFManager.java:491) at org.apache.tools.ant.util.ScriptRunner?.executeScript(ScriptRunner?.jav

a:128)

at org.apache.tools.ant.taskdefs.optional.script.ScriptDef?.executeScript

(ScriptDef?.java:317)

at org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase?.execute(S

criptDefBase.java:47)

at org.apache.tools.ant.UnknownElement?.execute(UnknownElement?.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64) at org.apache.tools.ant.UnknownElement?.execute(UnknownElement?.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.taskdefs.MacroInstance?.execute(MacroInstance?.jav

a:378)

at org.apache.tools.ant.Task.perform(Task.java:364) at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAcces?

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597) at org.mozilla.javascript.MemberBox?.invoke(MemberBox?.java:160) at org.mozilla.javascript.NativeJavaMethod?.call(NativeJavaMethod?.java:24

3)

at org.mozilla.javascript.optimizer.OptRuntime?.callProp0(OptRuntime?.java

:119)

at org.mozilla.javascript.gen.c1._c0(Unknown Source) at org.mozilla.javascript.gen.c1.call(Unknown Source) at org.mozilla.javascript.ContextFactory?.doTopCall(ContextFactory?.java:4

01)

at org.mozilla.javascript.ScriptRuntime?.doTopCall(ScriptRuntime?.java:300

3)

at org.mozilla.javascript.gen.c1.call(Unknown Source) at org.mozilla.javascript.gen.c1.exec(Unknown Source) at org.mozilla.javascript.Context.evaluateString(Context.java:1088) at org.apache.bsf.engines.javascript.JavaScriptEngine?.eval(JavaScriptEng?

ine.java:138)

at org.apache.bsf.util.BSFEngineImpl.exec(BSFEngineImpl.java:141) at org.apache.bsf.BSFManager$6.run(BSFManager.java:493) at java.security.AccessController?.doPrivileged(Native Method) at org.apache.bsf.BSFManager.exec(BSFManager.java:491) at org.apache.tools.ant.util.ScriptRunner?.executeScript(ScriptRunner?.jav

a:128)

at org.apache.tools.ant.taskdefs.optional.script.ScriptDef?.executeScript

(ScriptDef?.java:317)

at org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase?.execute(S

criptDefBase.java:47)

at org.apache.tools.ant.UnknownElement?.execute(UnknownElement?.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor?.executeTargets(DefaultExe?

cutor.java:40)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Caused by: org.apache.bsf.BSFException: JavaScript? Error: ReferenceError?: "defin e" is not defined. (scriptdef_removeEmptyOutput#40)

at org.apache.bsf.engines.javascript.JavaScriptEngine?.handleError(JavaSc?

riptEngine.java:195)

at org.apache.bsf.engines.javascript.JavaScriptEngine?.eval(JavaScriptEng?

ine.java:147)

at org.apache.bsf.util.BSFEngineImpl.exec(BSFEngineImpl.java:141) at org.apache.bsf.BSFManager$6.run(BSFManager.java:493) ... 46 more

Syntax error in G:\downloads\dojo-release-1.6.1-src - Copy\dojo-release-1.6.1-sr c\dojo\cldr\nls\ar\islamic-civil.js Aug 17, 2011 2:38:55 PM org.apache.bsf.BSFManager exec SEVERE: Exception : java.security.PrivilegedActionException?: org.apache.bsf.BSFException: JavaScript?

Error: Internal Error: The following error occurred while executing this line:

G:\downloads\dojo-release-1.6.1-src - Copy\dojo-release-1.6.1-src\util\buildscri pts\cldr\build.xml:164: org.mozilla.javascript.JavaScriptException?: ReferenceErr? or: "define" is not defined. (scriptdef_removeEmptyOutput#40)

at java.security.AccessController?.doPrivileged(Native Method) at org.apache.bsf.BSFManager.exec(BSFManager.java:491) at org.apache.tools.ant.util.ScriptRunner?.executeScript(ScriptRunner?.jav

a:128)

at org.apache.tools.ant.taskdefs.optional.script.ScriptDef?.executeScript

(ScriptDef?.java:317)

at org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase?.execute(S

criptDefBase.java:47)

at org.apache.tools.ant.UnknownElement?.execute(UnknownElement?.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor?.executeTargets(DefaultExe?

cutor.java:40)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Caused by: org.apache.bsf.BSFException: JavaScript? Error: Internal Error: The fo llowing error occurred while executing this line: G:\downloads\dojo-release-1.6.1-src - Copy\dojo-release-1.6.1-src\util\buildscri pts\cldr\build.xml:164: org.mozilla.javascript.JavaScriptException?: ReferenceErr? or: "define" is not defined. (scriptdef_removeEmptyOutput#40)

at org.apache.bsf.engines.javascript.JavaScriptEngine?.handleError(JavaSc?

riptEngine.java:195)

at org.apache.bsf.engines.javascript.JavaScriptEngine?.eval(JavaScriptEng?

ine.java:147)

at org.apache.bsf.util.BSFEngineImpl.exec(BSFEngineImpl.java:141) at org.apache.bsf.BSFManager$6.run(BSFManager.java:493) ... 17 more

BUILD FAILED

I'm running: Java 1.6 Ant 1.6.5 Windows 7.

Thanks.

Change History (9)

comment:1 Changed 8 years ago by bill

Cc: Adam Peller added

comment:2 Changed 8 years ago by Adam Peller

yah, the cldr build has been broken (at least running incrementally) since the AMD migration and may not be trivial to fix. Last I checked, it seemed to work if you do an ant clean first.

comment:3 Changed 8 years ago by Adam Peller

Summary: NLS build failedCLDR build failed

comment:4 Changed 8 years ago by Adam Peller

hrm... no longer true. Falls over even after an ant clean looking for old buildUtil routines

comment:5 Changed 8 years ago by Rawld Gill

Status: newassigned

comment:6 Changed 8 years ago by Adam Peller

CLDR 1.9 had outdated syntax for the mgh locale. Is fixed by CLDR 1.9.1 [26589]

comment:7 Changed 8 years ago by Adam Peller

Resolution: fixed
Status: assignedclosed

In [26590]:

Fixes #13710 remove unused reference to buildUtil.js, replace outdated references to dojo.i18n, and squelch non-fatal exceptions

comment:8 Changed 8 years ago by Adam Peller

In [26591]: commented log output

comment:9 Changed 8 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.