Skip to main content
Participant
June 1, 2008
Question

build failed - 1906

  • June 1, 2008
  • 2 replies
  • 719 views
I'm trying to build the flex SDK (on Ubuntu 8.04), top of trunk (@ revision 1906). I was able to build the 3.0.1.1092 tag, but when I try building 1906 I get the following error messages stating "Error: Namespace was not found or is not a compile-time constant."

Any ideas?

Thanks for your time!

==============================

Buildfile: build.xml

create-description:

update-description:

templates-clean:

prepare-html-templates:
[copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/client-side-detection
[copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/client-side-detection-with-history
[copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/express-installation
[copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/express-installation-with-history
[copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/no-player-detection
[copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/no-player-detection-with-history

pre-build:

asc:

clean:

run-depend:
[echo] Removing class files that changed and dependent class files.

classes:
[javac] Compiling 222 source files to /home/kjones/flex/trunk/modules/asc/build/java/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

jar:
[jar] Building jar: /home/kjones/flex/trunk/modules/asc/lib/asc.jar
[jar] Warning: skipping jar archive /home/kjones/flex/trunk/modules/asc/lib/abcdump.jar because no files were included.
[jar] Warning: skipping jar archive /home/kjones/flex/trunk/modules/asc/lib/ash.jar because no files were included.

main:
[copy] Copying 1 file to /home/kjones/flex/trunk/lib

swfutils:

clean:

prepare:

run-depend:
[echo] Removing class files that changed and dependent class files.

compile:
[javac] Compiling 197 source files to /home/kjones/flex/trunk/modules/swfutils/classes
[javac] /home/kjones/flex/trunk/modules/swfutils/src/java/flash/fonts/JREFontManager.java:540: warning: unmappable character for encoding UTF8
[javac] localFonts.put("ArialMT", new LocalFont("ArialMT", null, 0, "Typeface � The Monotype Corporation plc. Data � The Monotype Corporation plc/Type Solutions Inc. 1990-1992. All Rights Reserved", "Arial� Trademark of The Monotype Corporation plc registered in the US Pat & TM Off. and elsewhere."));
[javac] ^
[javac] /home/kjones/flex/trunk/modules/swfutils/src/java/flash/fonts/JREFontManager.java:540: warning: unmappable character for encoding UTF8
[javac] localFonts.put("ArialMT", new LocalFont("ArialMT", null, 0, "Typeface � The Monotype Corporation plc. Data � The Monotype Corporation plc/Type Solutions Inc. 1990-1992. All Rights Reserved", "Arial� Trademark of The Monotype Corporation plc registered in the US Pat & TM Off. and elsewhere."));
[javac] ^
[javac] /home/kjones/flex/trunk/modules/swfutils/src/java/flash/fonts/JREFontManager.java:540: warning: unmappable character for encoding UTF8
[javac] localFonts.put("ArialMT", new LocalFont("ArialMT", null, 0, "Typeface � The Monotype Corporation plc. Data � The Monotype Corporation plc/Type Solutions Inc. 1990-1992. All Rights Reserved", "Arial� Trademark of The Monotype Corporation plc registered in the US Pat & TM Off. and elsewhere."));
[javac]
This topic has been closed for replies.

2 replies

_kjones_Author
Participant
June 1, 2008
I was getting this error when I tried building for the flash player 10 beta, when following the first set of instructions at http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x

I resolved this by following the alt. instructions (not changing any settings to flash 10, and just compiling my project with target-player="10.0.0").

Note, however, that I still had to do a workaround for the ant/xerces issue (ant 1.7).
_kjones_Author
Participant
June 1, 2008
Errors got cut off. Here is the first of the errors:

compile:
[echo] Compiling frameworks/libs/framework.swc
[compc] Loading configuration file /home/kjones/flex/trunk/frameworks/flex-config.xml
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/core/mx_internal.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/core/mx_internal.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/utils/object_proxy.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/utils/object_proxy.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/FrameworkClasses.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/FrameworkClasses.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/states/Transition.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/states/Transition.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/IConstraintLayout.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/IConstraintLayout.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/managers/IHistoryManagerClient.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/managers/IHistoryManagerClient.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/states/IOverride.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/states/IOverride.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/controls/listClasses/IDropInListItemRenderer.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/controls/listClasses/IDropInListItemRenderer.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/core/IDataRenderer.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/core/IDataRenderer.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/formatters/Formatter.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/formatters/Formatter.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] ////////////////////////////////////////////////////////////////////////////////
[compc] ^
[compc]
[compc] /home/kjones/flex/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as(1): col: 1 Error: Namespace was not found or is not a compile-time constant.
[compc]
[compc] /