2011-12-30

Potlatch Dev Problems

Posting this here because the Potlatch-Dev list chokes on it...

I setup a fresh 32-bit Ubuntu 11.10 VM. I'm using Flash 11.1.102.55, Debug with Firefox 8. Installed ant and git. Downloaded Flex 4.5.1 (both open source and non-open source). Setup the non-open source Flex in /opt/flex. Cloned the P2 code like this:


Then copied build.properties.template to build.properties and changed FLEX_HOME=/opt/flex.

Running ant ultimately yields "BUILD SUCCESSFUL"

If I then start Firefox (with the Flash security set to allow /opt/potlatch2/resources), I can get my copy of Potlatch2 to connect to the development server. I can even make edits and save changes. According the help screen, the build is:

Version 2.3 Build: 2.3-127-gbc938f

But if I make any changes to the code things go awry. For instance, in net/systemeD/Halcyon/Map.as, if I change:

public const MAXSCALE:uint=23;
to
public const MAXSCALE:uint=20;


That is, I just changed the 23 to a 20 in order to prevent zooming in past level 20, after a recompile (BUILD_SUCCESSFUL!), the Flash Debugger says:

An ActionScript error has occurred:
ReferenceError: Error #1065: Variable Preloader_Logo is not defined.

Clicking "continue" results in:

An ActionScript error has occurred:
ReferenceError: Error #1065: Variable net.systemeD.potlatch2::Preloader_Logo is not defined.
at net.systemeD.potlatch2::Preloader()[/opt/potlatch2/net/systemeD/potlatch2/Preloader.as:15]
at mx.preloaders::Preloader/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\preloaders\Preloader.as:261]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2103]
at mx.managers::SystemManager/initHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2588]


Here's the output from ant:
Buildfile: /opt/potlatch2/build.xml

git-buildnumber:

svn-buildnumber:

makeLocalesList:

buildLocales:
[echo] Building Localization .swf's
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/de_DE.swf (31944 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/en_GB.swf (31715 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/en_US.swf (34624 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/fr_FR.swf (30861 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/ja_JP.swf (35706 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/pl_PL.swf (31169 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/vi_VN.swf (35130 bytes)

deployLocales:
[echo] Deploying the compiled swf and assets package for the given locales
[echo] Copying de_DE.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying en_GB.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying en_US.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying fr_FR.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying ja_JP.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying pl_PL.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying vi_VN.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales

init:
[echo] Build Number 2.3-127-gbce938f
[copy] Copying 1 file to /opt/potlatch2

debug:
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Loading configuration file /opt/potlatch2/debug-config.xml
[mxmlc] Loading configuration file /opt/potlatch2/potlatch2-config.xml
[mxmlc] Updated: /opt/potlatch2/version.as
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedPOINode.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedMultiple.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedMultiple.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedWay.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RouteIcon.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Feature.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/RelationSelectPanel.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/RelationEditorPanel.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/l10n/map/LocalizationMap.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/Toolbox.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/NumberEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditor.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/EditController.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/Toolbox.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/FreeTextEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditor.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/EditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/MapFeatures.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Category.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RelationMemberEditor.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RelationMemberEditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/TurnRestrictionIcon.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/RelationEditorPanel.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RouteEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/RelationEditorPanel.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/TurnRestrictionEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RelationMemberEditor.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedParallelWay.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedWay.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/RelationEditorPanel.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/TagViewer.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/DrawQuadrilateral.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedWay.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SpeedEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditor.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Presence.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/EditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SpeedEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SpeedEditor.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/DragBackground.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/ControllerState.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/Toolbox.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/embedded/Arrow.fxg, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RouteEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RouteEditor.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SliderEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SliderEditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RelationMemberEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/EditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/NoSelection.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/DrawWay.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/TagViewer.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/EditController.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/DrawWay.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/ControllerState.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditor.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SliderEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditor.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/ControllerState.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/EditController.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Category.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Feature.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/SelectArea.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/ControllerState.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedMarker.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/NoSelection.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/NumberEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/NumberEditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/FreeTextEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/FreeTextEditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/DragWayNode.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedWayNode.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedWay.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/DrawWay.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/CheckboxEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/SingleTagEditor.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/CategorySelector.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Feature.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/DragSelection.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/ControllerState.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/CheckboxEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/CheckboxEditor.mxml, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Feature.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Presence.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/Feature.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/EditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RouteEditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/TurnRestrictionEditorFactory.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/mapfeatures/editors/RelationMemberEditorFactory.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedWayNode.as
[mxmlc] Reason: Its dependent file, /opt/potlatch2/net/systemeD/potlatch2/controller/SelectedWay.as, has been updated.
[mxmlc] Recompile: /opt/potlatch2/embedded/Arrow.fxg
[mxmlc] Reason: One of the assets has been updated.
[mxmlc] Updated: /opt/potlatch2/styles/Application.css
[mxmlc] Recompile: /opt/potlatch2/potlatch2.mxml
[mxmlc] Reason: The source file or one of the included files has been updated.
[mxmlc] Files changed: 2 Files affected: 48
[mxmlc] Warning: The use of SVG has been deprecated since Flex 4. Please use FXG.
[mxmlc]
[mxmlc] /opt/potlatch2/net/systemeD/potlatch2/TagViewer.mxml: Warning: The use of SVG has been deprecated since Flex 4. Please use FXG.
[mxmlc]
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/spark_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/rpc_4.5.1.21328.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/mx_4.5.1.21489.swz with 1 failover.
[mxmlc] /opt/potlatch2/resources/potlatch2.swf (867751 bytes)

BUILD SUCCESSFUL
Total time: 31 seconds

Here's what I get from ant test:
Buildfile: /opt/potlatch2/build.xml

git-buildnumber:

svn-buildnumber:

makeLocalesList:

buildLocales:
[echo] Building Localization .swf's
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/de_DE.swf (31948 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/en_GB.swf (31720 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/en_US.swf (34621 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/fr_FR.swf (30850 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/ja_JP.swf (35709 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/pl_PL.swf (31169 bytes)
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] Required RSLs:
[mxmlc] http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz with 1 failover.
[mxmlc] http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
[mxmlc] /opt/potlatch2/l10n/locale/bundles/vi_VN.swf (35134 bytes)

deployLocales:
[echo] Deploying the compiled swf and assets package for the given locales
[echo] Copying de_DE.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying en_GB.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying en_US.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying fr_FR.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying ja_JP.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying pl_PL.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales
[echo] Copying vi_VN.swf to deploy directory...
[copy] Copying 1 file to /opt/potlatch2/resources/locales

init:
[echo] Build Number 2.3-127-gbce938f
[copy] Copying 1 file to /opt/potlatch2

compileTestRunner:
[mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(14): col: 24 Error: Call to a possibly undefined method getConnection through a reference with static type Class.
[mxmlc]
[mxmlc] Connection.getConnection();
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(19): col: 39 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(19): col: 43 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(19): col: 53 Error: Implicit coercion of a value of type String to an unrelated type Number.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(19): col: 53 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(28): col: 39 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{foo: "bar"},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(28): col: 43 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{foo: "bar"},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(28): col: 63 Error: Implicit coercion of a value of type String to an unrelated type Number.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{foo: "bar"},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/SetTagActionTest.as(28): col: 63 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var e:Entity = new Entity(1,1,{foo: "bar"},true,1,"");
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/JoinNodeActionTest.as(12): col: 35 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/JoinNodeActionTest.as(12): col: 39 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/JoinNodeActionTest.as(12): col: 49 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/JoinNodeActionTest.as(13): col: 36 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n1:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/JoinNodeActionTest.as(13): col: 40 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n1:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/JoinNodeActionTest.as(13): col: 50 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n1:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(16): col: 24 Error: Call to a possibly undefined method getConnection through a reference with static type Class.
[mxmlc]
[mxmlc] Connection.getConnection();
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(23): col: 35 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(23): col: 39 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(23): col: 49 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(25): col: 45 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true,[]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(25): col: 49 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true,[]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(25): col: 57 Error: Incorrect number of arguments. Expected 6.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true,[]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(49): col: 35 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(49): col: 39 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(49): col: 49 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(50): col: 36 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n2:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(50): col: 40 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n2:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(50): col: 50 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n2:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(51): col: 36 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n3:Node = new Node(3,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(51): col: 40 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n3:Node = new Node(3,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(51): col: 50 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n3:Node = new Node(3,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(57): col: 45 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true, [member1, member2]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(57): col: 49 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true, [member1, member2]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(57): col: 58 Error: Incorrect number of arguments. Expected 6.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true, [member1, member2]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(66): col: 35 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(66): col: 39 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(66): col: 49 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(67): col: 36 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n2:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(67): col: 40 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n2:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(67): col: 50 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n2:Node = new Node(2,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(68): col: 36 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n3:Node = new Node(3,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(68): col: 40 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n3:Node = new Node(3,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(68): col: 50 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n3:Node = new Node(3,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(74): col: 45 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true, [member1, member2]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(74): col: 49 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true, [member1, member2]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/actions/AddMemberToRelationActionTest.as(74): col: 58 Error: Incorrect number of arguments. Expected 6.
[mxmlc]
[mxmlc] var rel:Relation = new Relation(1,1,{},true, [member1, member2]);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(17): col: 33 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(17): col: 37 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(17): col: 47 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(23): col: 33 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(23): col: 37 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(23): col: 47 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(31): col: 33 Error: Implicit coercion of a value of type int to an unrelated type net.systemeD.halcyon.connection:Connection.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(31): col: 37 Error: Implicit coercion of a value with static type Object to a possibly unrelated type uint.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]
[mxmlc] /opt/potlatch2/tests/src/net/systemeD/halcyon/connection/NodeTest.as(31): col: 47 Error: Incorrect number of arguments. Expected 7.
[mxmlc]
[mxmlc] var n:Node = new Node(1,1,{},true,5,10);
[mxmlc] ^
[mxmlc]

BUILD FAILED
/opt/potlatch2/build.xml:165: mxmlc task failed

Total time: 26 seconds

I had to grab a copy of the playerglobal.swc from Flex 3.4.1 and stick it in /opt/flex/frameworks/libs/player/10.0 in order to get that much to work.

Any help would be much apprectiated. Even if it's "Try using Debian".

P.S. Just so there's no further confusion... I am running Ubuntu 11.10 32-bit in a VM (with 3GB of RAM) on VirtualBox v4.1.8 running on Windows XP 64-bit (I know, yech!). I do just happen to have an E:\dev\flex folder that contains a copy of Flex 3.4.1. But it's shared with the Ubuntu instance as /media/sf_e/dev/flex and does not occur in the path or any environment variable.