Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Unzip a built SDK.
2. cd to /extracted/samples/themes/arcade.
3. Run ant.
Actual Results:
compile:
[echo] Compiling samples/themes/arcade/arcade.swc
[compc] Exception in thread "main" java.lang.NoClassDefFoundError: ${compc/jvm/args}
[compc] Caused by: java.lang.ClassNotFoundException: ${compc.jvm.args}
[compc] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[compc] at java.security.AccessController.doPrivileged(Native Method)
[compc] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[compc] at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
[compc] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
[compc] at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
[compc] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
Expected Results:
It should compile.
Workaround (if any):
Pass in compc.jvm.args, like this (thanks Gaurav):
ant -Dcompc.jvm.args=-Xmx512m
This will also work fine if you pull source from svn and build the SDK.