In the meantime, I created a local version I called 1.6.1 that added basic interaction with JavaCore. It requires JavaCore and obtains its classpath and sourcepath from that plugin. However, I also provided and registered a simple JavaCore JCompilerClasspathSource implementation that simply uses the existing JCompiler OptionPane HistoryTextFields as the source.
If "JCompiler" is selected in JavaCore's option pane, JCompiler behaves exactly as it does today, except that I've rearranged the option pane to put classpath and sourcepath at the bottom.
If something other than "JCompiler" is selected in JavaCore, the JCompiler classpath and sourcepath fields on its option pane are disabled and a JLabel is added explaining that fact.
NOTE: Either way, the other JCompiler "classpath" options will still be added to what JavaCore returns: Required Library Path, Output Directory, and package of current source file.
I can see that this behaviour, as well as some others, are things some people might like to see done differently, and that's fine. Hopefully this is at least a good starting point and maybe even immediately beneficial to people wanting to use the Ant ClasspathSource implementation.
I'm uploading a zip with both the source and the compiled jar.
Updated on 06/01/2004 - 03:18
Downloads: 1650