Compiling CSS to SWF server side Java, What is the best practice?
        Posted  
        
            by DataSurfer
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by DataSurfer
        
        
        
        Published on 2010-05-19T18:07:46Z
        Indexed on 
            2010/05/19
            18:10 UTC
        
        
        Read the original article
        Hit count: 284
        
My project allows users to create custom css for our flex app.
In regards to compiling the CSS into SWFs on the server side:
Should I use the flex2.compiler.css.Compiler class in mxmlc-3.5.0.12683.jar?
Or
Should I invoke mxmlc from Runtime.getRuntime().exec()?
The css.Compiler class is not very well documented. Does anyone have any examples that use this?
For the Runtime exec method, what is the best way to package mxmlc into the maven build so its available to the server at runtime?
© Stack Overflow or respective owner