Since I generate all sorts of ActionScript code, its handy to check that the generated code compiles from my JUnit tests.
Just exec()'ing compc from the unit test (and paying the cost of another JVM startup) for every test slooow. I could (subject to neutralising those System.exit() calls) just invoke compc's main() from the unit test, but I'd still have the compiler be doing all sorts of linking and file generation etc. that I don't really need. Having the syntactic and semantic checks alone would do. Has anyone seen descriptions of directly invoking the flex compiler APIs from Java? ta, dave -- http://david.holroyd.me.uk/ _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
