The ant documentation says that you should always use '/' as a directory separator, even on Windows platform. I see you are mixing forward and backward slashes in your build script. Fix this and see if it help.
Propably not related to this issue, but I believe you should define the context-root as '/asm'.
I change seperator and I try again, but my ant project have a same problem yet.
Anyway my build file has three mxmlc build task.
other mxmlc has work well. only the one has problem.
other mxml file is small size. these output file size is about 500kb. but the problem mxml output file size is 1.8mb...
It seems that the ant was occured memory overflow.
But generally when ant needs more memory, ant notify heap space exception, but in my case, ant just goes die.
thank you for reply.
Try adding this to you mxmc tag
Try the setting on this page - works for me
Thank you for reply.
I try to add the tag, but ant notify the error.
[mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler
[mxmlc] Caused by: java.lang.ClassNotFoundException: flex2.tools.Compiler
[mxmlc] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[mxmlc] at java.security.AccessController.doPrivileged(Native Method)
[mxmlc] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[mxmlc] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[mxmlc] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[mxmlc] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[mxmlc] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[mxmlc] Could not find the main class: flex2.tools.Compiler. Program will exit.
[mxmlc] Exception in thread "main"
I motify the class path on External Tools Configurations -> Class Path.
but ant cannot find the classpath.
Please help me
You need to have your flex SDK and your project in the same drive when using fork=true, if these are in two different drives then you can use fork=false and it will work for you. If you want to go with fork=true you can just copy your flex SDK (not the whole flex) under the drive where you project resides.