Vijay, I ran into this problem before too. The solution was to refer all your .as files in the config file (yes, compc takes a config file argument. see flex-config.xml for an example) rather than as an argument like you did.
- venkat http://www.venkatj.com --- In [email protected], "Vijay Ganesan" <[EMAIL PROTECTED]> wrote: > > I run into this error using compc on a Windows XP box: > > Unable to run compc: Cannot run program "C:\Program Files\Ado > be\Flex Builder 3 Plug-in\sdks\moxie\bin\compc.exe": CreateProcess > error=87, The parameter is incorrect > > Seems like this happens when there are a large number of .as files. I > don't see this error when I exclude some .as files. > > I'm using the following ant task: > <compc output="${basedir}/lib/foo.swc" debug="false"> > <include-sources dir="${src}" includes="**/*.as"/> > <source-path path-element="${src}"/> > </compc> > > Any suggestions on how to avoid this issue other than breaking up > foo.swc into two? > > Vijay >

