Yeah, probably makes sense. It's just that i use exec for other things too, this is why i know it best.
Cheers,
Ralf.

On 10/11/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
curious, why use the exex task to call up Java instead of just using the java task? 

<java jar="${mxmlcjar}"
               fork="true"
               failonerror="true"
               maxmemory="128m"
               dir="${flexsdk}\frameworks">


DK

On 10/11/06, Ralf Bokelberg < [EMAIL PROTECTED]> 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.

--
Ralf Bokelberg < [EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


--
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/






--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany __._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to