Hi, this may help you .............

<?xml version="1.0"?>

<project name="Cairngorm" default="compile" basedir="..">
    <description>
            This build script wraps compc
    </description>

        <property name="bin" location="bin" />
        <property name="generated_manifest" value="cairngorm-manifest.xml"/>
        <property name="root_dir" location="flex"/>
        <property name="src_dir" location="flex"/>
    <property name="dest_dir" location="${bin}"/>
        <property name="generated_swc" value="cairngorm.swc"/>
        <property name="compiler" value="compc" />
        <property name="flex_install" location="C:\PROGRA~1\Macromedia\Flex" />
    
    <target name="compile" description="compiles the mxml and Action
Script into a SWC">
        
                <exec executable="${compiler}" dir="${flex_install}\bin\"
vmlauncher="false">
                        <arg value="-flexlib" />
                        <arg value="${flex_install}/lib" />
                        <arg value="-o" />
                        <arg value="${dest_dir}\${generated_swc}" />            
        
                        <arg value="-manifest" />
                        <arg value="${dest_dir}\${generated_manifest}" />       
                
                        <arg value="-root" />
                        <arg value="${root_dir}" />
                        <arg value="${src_dir}" />
                </exec>
        
    </target>

 

</project>


rgds
dan



--- In [email protected], "Libby" <[EMAIL PROTECTED]> wrote:
> Hello, I am trying to compile all my flex objects using mxmlc and I
> always get "can't find JVM". I have edited my jvm.cfg and jvm.config
> files to no avail. Could someone with working mxmlc jobs post their
> versions of these files for me so I can see what dumb mistake I am
> making? I have j2sdk1.4.2.04 JVM on my machine in addition to eclipse.
> 
> If I ever get it to work, I would like to invoke it via ant if anyone
> wants to take a stab at assisting me with that...
> 
> Thanks,
> Libby





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

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