From: Charles R. <cr...@ri...> - 2002-09-11 23:32:57
|
I've been working on refactoring DrJava to start supporting the JSR-14 v1.2 compiler, which uses a different source tree than the JSR-14 v1.0 compiler. Essentially, to maintain support for Java 1.3 and JSR-14 v1.0 compiler adapters within DrJava (eg. on Mac OS X), the adapters have to be compiled using JSR-14 v1.0. However, Sun does not distribute this version any longer, nor will this version allow us to compile an adapter for JSR-14 v1.2. Because of this, all files dependent on the JSR-14 v1.0 compiler have been moved to a separate source tree, and pre-compiled copies of their class files are now included in the compilers-jsr14v1_0.jar file in the lib directory, which should be added to your classpath. You don't need to worry about compiling these classes when building DrJava. (If you do need to make changes to them, use the "ant compile-jsr14v1_0" command.) One important note: some of the changes require us to now use Ant 1.5 instead of Ant 1.4, so be sure to upgrade your copy of Ant if necessary. (I've upgraded the copy in the javaplt directory.) To get all the changes I've just committed, I would suggest either running "cvs update" from your "src" directory, or checking the code out from scratch. The only things that are essential, though, are updating your lib directory, build-common.xml, and the drjava directory. At this point, DrJava can be compiled using either JSR-14 v1.0 or JSR-14 v1.2. I'll work on creating a compiler adapter for JSR-14 v1.2 next, so that it can be used within DrJava. Let me know if you have any questions... Charlie |