FYI -- if you have a path with a comma in the name, the Flex compiler
as invoked by flexmojos will not work.  I found this out because of a
Hudson job name that contained a comma.  Apparently Hudson takes these
job names literally and creates a directory with that name.  Check out
what happened:

[INFO] Flex compiler configurations:
-compiler.external-library-path /opt/hudson_env/m2_repo/com/adobe/flex/
framework/playerglobal/4.1.0.16076/10.0/playerglobal.swc
-compiler.include-libraries=
-compiler.library-path /opt/hudson_env/m2_repo/com/adobe/flex/
framework/datavisualization/4.1.0.16076/
datavisualization-4.1.0.16076.swc /opt/hudson_env/m2_repo/com/adobe/
flex/framework/flash-integration/4.1.0.16076/flash-
integration-4.1.0.16076.swc /opt/hudson_env/m2_repo/com/adobe/flex/
framework/flex/4.1.0.16076/flex-4.1.0.16076.swc /opt/hudson_env/
m2_repo/com/adobe/flex/framework/framework/4.1.0.16076/
framework-4.1.0.16076.swc /opt/hudson_env/m2_repo/com/adobe/flex/
framework/osmf/4.1.0.16076/osmf-4.1.0.16076.swc /opt/hudson_env/
m2_repo/com/adobe/flex/framework/rpc/4.1.0.16076/rpc-4.1.0.16076.swc /
opt/hudson_env/m2_repo/com/adobe/flex/framework/spark/4.1.0.16076/
spark-4.1.0.16076.swc /opt/hudson_env/m2_repo/com/adobe/flex/framework/
sparkskins/4.1.0.16076/sparkskins-4.1.0.16076.swc /opt/hudson_env/
m2_repo/com/adobe/flex/framework/textLayout/4.1.0.16076/
textLayout-4.1.0.16076.swc /opt/hudson_env/m2_repo/com/adobe/flex/
framework/utilities/4.1.0.16076/utilities-4.1.0.16076.swc
-compiler.theme /opt/hudson_home/jobs/MyProj Core (Trunk, Snapshot)/
workspace/flex-service/target/classes/configs/themes/Spark/spark.css
-compiler.accessible=false
-compiler.allow-source-path-overlap=false
-compiler.as3=true
-compiler.debug=true
-compiler.es=false
-compiler.fonts.managers flash.fonts.JREFontManager
flash.fonts.BatikFontManager flash.fonts.AFEFontManager
flash.fonts.CFFFontManager
-compiler.fonts.local-fonts-snapshot /opt/hudson_home/jobs/MyProj Core
(Trunk, Snapshot)/workspace/flex-service/target/classes/fonts.ser
-compiler.keep-generated-actionscript=false
-compiler.define+=CONFIG::mock,false
-compiler.locale=
-compiler.optimize=true
-compiler.source-path /opt/hudson_home/jobs/MyProj Core (Trunk,
Snapshot)/workspace/flex-service/src/main/flex /opt/hudson_home/jobs/
MyProj Core (Trunk, Snapshot)/workspace/flex-service/src/main/flex-
generated
-compiler.strict=true
-use-network=true
-compiler.verbose-stacktraces=false
-compiler.actionscript-file-encoding UTF-8
-target-player 10.0.0
-default-background-color 8821927
-default-frame-rate 24
-default-script-limits 1000 60
-default-size 500 375
-compiler.headless-server=false
-compiler.keep-all-type-selectors=false
-compiler.use-resource-bundle-metadata=true
-metadata.date Fri Nov 12 16:13:44 EST 2010
-metadata.localized-title MyProj Core Client
- Flex Service x-default
-metadata.localized-description Implements client-side ActionScript
service and model objects that represent server-side Java domain
entities. x-default
-verify-digests=true
-compute-digest=true
-compiler.namespaces.namespace+=http://ns.adobe.com/mxml/2009,/opt/
hudson_home/jobs/MyProj Core (Trunk, Snapshot)/workspace/flex-service/
target/classes/config-4.1.0.16076/mxml-2009-manifest.xml
-compiler.namespaces.namespace+=library://ns.adobe.com/flex/spark,/opt/
hudson_home/jobs/MyProj Core (Trunk, Snapshot)/workspace/flex-service/
target/classes/config-4.1.0.16076/spark-manifest.xml
-compiler.namespaces.namespace+=library://ns.adobe.com/flex/mx,/opt/
hudson_home/jobs/MyProj Core (Trunk, Snapshot)/workspace/flex-service/
target/classes/config-4.1.0.16076/mx-manifest.xml
-compiler.namespaces.namespace+=http://www.adobe.com/2006/mxml,/opt/
hudson_home/jobs/MyProj Core (Trunk, Snapshot)/workspace/flex-service/
target/classes/config-4.1.0.16076/mxml-manifest.xml -static-link-
runtime-shared-libraries=false -load-config=
-metadata.creator+=David Vredenburgh
[ERROR] command line:[-1,-1] unable to open '/opt/hudson_home/jobs/
MyProj Core (Trunk'


Should I file an issue on this with Flexmojos or does it seem like a
Hudson problem?

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to