Yeap, maven 3 and flex 4.... not that won't be compatible with flex 3, but focus on 4....
Well, the deal is on flexmojos 4.x.... http://svn.sonatype.org/flexmojos/branches/flexmojos-4.x/ For 4.x I changed dramatically the way the compiler works... instead of using the obsolete and out-to-date flex-compiler-oem, I decided to go dirty and use Compc and Mxmlc API. To do so, I build a generator that creates some interfaces that do handle the maven -> String[] conversion... so I can call Compc/Mxmlc methods and inject the String[] arg to make it work. But I have 2 problems with that. First one, logging. Compc/Mxmlc doesn't allow me to set an logger and redirect the logs to Maven logger. And pathResolver isn't settable also. As alternative I device to manipulate the Compc/Mxmlc bytecode using bcel. I do change the ThreadLocalToolkit to allow me to set logger and pathResolver. That does seem ok, but, when I load the dumped class it seems to be loaded on a different classloader then I expected, resulting in the execution of the original code (instead of my tampered one). Probably I didn't made myself clear, so any questions so far? Basically I need to change this class: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/ThreadLocalToolkit.java To invoke anything on flexmojos that allows me to tamper setLogger() and setPathResolver() methods. If you have any other suggestion it is more then welcome. VELO On Thu, Jan 28, 2010 at 12:11 AM, Edward Yakop <[email protected]>wrote: > is flexmojo 4 only targeted for maven 3? > > Note: I'm interested to help! > > Regards, > Edward Yakop > > On Thu, Jan 28, 2010 at 03:24, velo <[email protected]> wrote: > > Is there any ClassLoader JEDI Master with time and willing to help on > > flexmojos 4?? > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Flex Mojos" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<flex-mojos%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/flex-mojos?hl=en?hl=en > > > > http://blog.flex-mojos.info/ > > -- > You received this message because you are subscribed to the Google > Groups "Flex Mojos" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos?hl=en?hl=en > > http://blog.flex-mojos.info/ > -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/
