After too much whinning about the lack of retroweaver integration in IDEA, I'm proud to announce Retroweaver Plugin 1.0. This plugin will automatically retroweave all classes compiled by IDEA.
Right now, the plugin can't be any easier to use: all you have to do is install the plugin (it should be available on the Plugin Manager), and toggle the "Retroweave compiled classes" option in your "Build" menu. That's it, next time you compile the project, your classes will be automatically retroweaved. There are no configuration options whatsoever.
Actually... I lied. There are two configuration options, but they're not exposed in the UI. If you want to change them, you will have to open your .ipr file and edit the relevant options. You should find something like this on your .ipr file:
If you change "verbose" to "true", The plugin will spew the name of each retroweaved class in your compilation log. You can also change the target class version. The default is 48, which means the classes will be retroweaved to work with JDK 1.4. You can change it to 47 (JDK 1.3) or 46 (JDK 1.2). Changing it to any other value may have unpredictable results.
If you're confused about all this "retroweave" thing, and you're not sure about what it is, and how this applies to you, please visit the Retroweaver homepage at:
Disclaimer: This wasn't developed by the Retroweaver team, but by myself, Marcus Brito, on a very boring day at work. Don't blame the Retroweaver guys for any problems with this plugin, blame me. My email address is show on my ITN profile if you need to yell at me.
Retroweaver is the work of Toby Reyelts:
Copyright (c) February 2004, Toby Reyelts
All rights reserved.
Retroweaver Plugin is the work of Marcus Brito:
Copyright (c) June 2005, Marcus Brito
All rigts reserved
For those who care, Retroweaver Plugin is released under the same license terms at retroweaver itself (BSD-like). I'll make the source (3 ridiculously simple classes) available as soon as I get home... in a few hours.