You guys,

I have been playing w/ the flex java based compiler API( 
http://blogs.adobe.com/flexdoc/2008/01/compiler_api.html), and I am using it to 
build couple of swc. No problem there.
In order for this api to work, you need:
- flex-compiler-oem.jar (needed for compilation)
- All the rest of the jars from the FLEX SDK  (for the runtime execution as 
this is where the compiler and other needed classes/libraries are)

What I would like to do is to point to a flex SDK at run time and not have it 
'statically' imported.
I tried couple of things, among others using my own classloader, w/o much 
success and already too many hacks in the way. (had to locally copy 
winFonts.ser, then I had to remove my CustomReport, CustomLogger class as you 
everything has to be loaded dynamically or else you will end up with 2 
classloaders.)

I don't understand why Adobe did not do it such as this is possible out of the 
box.

Anyone tried this before?
Cheers.

Reply via email to