there are three places you can add classpaths that i know of:

-- project --> properties

-- window --> preferences --> actionscript2 --> compiler --> mtasc,
the "more parameters" line

-- in your build.xml:
                ...
                <exec executable="${mtasc}">
                        <arg value="-version" />                        
                        <arg value="8" />                       
                        <arg value="-cp" />                     
                        <arg value="/usr/local/share/mtasc/std8/" />            
        
                        <arg value="-cp" />                     
                        <arg value="/usr/local/share/mtasc/std/" />             
        
                        <arg value="-cp" />                     
                        <arg value="${dir.src}" />              
                        <arg value="-swf" />                    
                        <arg value="${swfFile}" />                      
                        <arg value="-header" />                 
                        <arg value="800:600:20" />      
...and so on.

hth,
mark


On 3/3/06, Claus Wahlers <[EMAIL PROTECTED]> wrote:
> hi all,
> i just gave eclipse/mtasc/asdt on linux a shot, and got stuck: mtasc
> does not find the core classes in the std folder
>
> console output:
> Compiling 1 source file.
> /opt/mtasc/mtasc -swf
> /home/claus/workspace/TestASDT/build/TestASDT.swf -header
> 500:500:31:FFFFFF -cp /home/claus/workspace/TestASDT/src -main
> TestASDT.as
> Directory 'std' containing MTASC class headers cannot be found :
> Please install it or set classpath using '-cp' so it can be found.
>
> mtasc executable is /opt/mtasc/mtasc
> src folder is present in /opt/mtasc/src/
>
> i couldn't find a way to add a second -cp flag pointing to
> /opt/mtasc/src/ in the build.xml
> any hints?
> tia,
> claus.
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>


--
http://snafoo.org/
jabber: [EMAIL PROTECTED]

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to