We execute our mxml compiler using

<exec executable="${flex.sdk.home}/bin/mxmlc.exe" dir="${flexproj}/build/mxml" 
output="${flexproj}/build/log/mxmlc.log" failonerror="true"> <arg...></exec>

rather than using an mxmlc taskdef.  As a result I've not had problems with 
classpath problems in mxmlc.

Maybe give that a try if all else fails?

--Tim Rowe

________________________________
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of cuttenv
Sent: Thursday, 23 April 2009 6:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drive Letters and Ant




So I have my Eclipse and Flex builder installed on my C: drive but all of my 
projects in my workspace on D:

Everything works fine but when I set the fork=true in my mxmlc to increase the 
memory my Ant build fails with:
[mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler
[mxmlc] Exception in thread "main"

Anyone have any thoughts??

http://bugs.adobe.com/jira/browse/SDK-20666



Reply via email to