PDA

View Full Version : mxmlc problems


wideeye
03-03-2008, 06:03 PM
Hi all,

I'm having problems with running a fresh install of mxmlc... I've had it running on a desktop machine quite happily for a couple of months with no problems - however, when I installed it on a server (windows 2003) things grind to a halt. Running a simple test (filenames changed to protect the innocent) I get:


D:\home\mywebsite\htdocs\factory>D:\tools\flexSDK\bin\mxmlc.exe D:\home\mywebsite\htdocs\factory\gj.as -output D:\home\mywebsite\htdocs\develo
pers\app\myswf.swf -default-frame-rate 24 -use-network -compiler.optimize -default-size 800 600

Loading configuration file D:\tools\flexSDK\frameworks\flex-config.xml

Error: macromedia/asc/semantics/Emitter

java.lang.NoClassDefFoundError: macromedia/asc/semantics/Emitter
at flex2.tools.API.getCompilers(API.java:206)
at flex2.tools.Compiler.main(Compiler.java:100)
Caused by: java.lang.ClassNotFoundException: macromedia.asc.semantics.Emitter
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
... 2 more


This is on a server with:
Java 1.6.04 JDK
Flex SDK 2.0.1

Any ideas what's going on? I'm completely stumped - a search on google produces exactly one result.

Cheers all

wideeye
03-03-2008, 06:54 PM
Doh, my bad - turns out that something on the server was keeping a file locked and the install/unzip of flex was failing without saying anything.

So... the question has changed a bit. Anyone know if mxmlc keeps locks on files if it fails? if so, anything I can do about it? :confused: