I never did get it to work but I haven't gone back and tried to simplify 
what I was doing. I probably need to do that -- start from scratch, get 
it working and then try to set up my compile as I need it. I might try 
using the <exec> task as well, as opposed to the <java> task.

Ralf Bokelberg wrote:
> Not sure, if this answered or not, but finally i found my old target.
> It looks like this:
>
> <target name="compile">
>               <exec executable="${java.home}/bin/java.exe" failonerror="true">
>                       <arg value="-Dapplication.home=${flex.home}"/>
>                       <arg value="-Xmx384m"/>
>                       <arg value="-Dsun.io.useCanonCaches=false"/>
>                       <arg value="-jar"/><arg 
> value="${flex.home}/lib/mxmlc.jar"/>
>                       <arg value="-compiler.incremental"/>
>                       <arg value="-compiler.strict"/>
>                       <arg value="-compiler.source-path"/><arg 
> value="${src.dir}"/>
>                       <arg value="-compiler.include-libraries"/><arg 
> value="${cairngorm.swc}"/>
>                       <arg value="-output"/><arg 
> value="${out.dir}/${application.name}.swf"/>
>                       <arg value="${src.dir}/${application.entry}"/>
>               </exec>
>       </target>
>
> Works like a charm, though i'd prefer not to see these .cache files in
> my source directory. Unfortunately this doesn't seem to be
> configurable.
>
> Cheers,
> Ralf.
>
>   



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to