Hi,

These wrapper classes come from java-gcj-compat. Some applications, ant in particular, use these classes to invoke compilers in-process.

I've also included java.c from java-gcj-compat which I think may be useful to VMs that bundle GNU Classpath. I plan to merge its functionality directly into gij, and other VMs should do the same, but I thought it would be a good reference for how the java command is supposed to work. Like the other wrappers, I haven't added build logic for java.c yet.

To test this, untar tools-compat.tar.gz in classpath/ and apply tools-compat.patch. I'm posting the patch in this form to make sure it is acceptable before CVS add'ing all the directories.

OK to commit?

Tom

2006-05-26  Thomas Fitzsimmons  <[EMAIL PROTECTED]>

        * tools/Makefile.am (TOOLS_JAVA_FILES): Add
        com/sun/tools/javac/Main.java and sun/rmi/rmic/Main.java.
        * tools/sun/rmi/rmic/Main.java: New file.
        * tools/com/sun/tools/javac/Main.java: New file.
        * tools/java.c.in: New file.
Index: tools/Makefile.am
===================================================================
RCS file: /sources/classpath/classpath/tools/Makefile.am,v
retrieving revision 1.15
diff -u -r1.15 Makefile.am
--- tools/Makefile.am	14 May 2006 08:20:19 -0000	1.15
+++ tools/Makefile.am	26 May 2006 22:54:13 -0000
@@ -24,9 +24,13 @@
 bin_SCRIPTS = appletviewer jarsigner keytool
 EXTRA_DIST = appletviewer.in appletviewer.c jarsigner.in keytool.in
 
-# All our example java source files
-TOOLS_JAVA_FILES = $(srcdir)/gnu/classpath/tools/*.java $(srcdir)/gnu/classpath/tools/*/*.java $(srcdir)/gnu/classpath/tools/*/*/*.java
-
+# All our tool source files
+TOOLS_JAVA_FILES = \
+	$(srcdir)/gnu/classpath/tools/*.java \
+	$(srcdir)/gnu/classpath/tools/*/*.java \
+	$(srcdir)/gnu/classpath/tools/*/*/*.java \
+	$(srcdir)/com/sun/tools/javac/*.java \
+	$(srcdir)/sun/rmi/rmic/*.java
 
 # The zip files with classes we want to produce.
 TOOLS_ZIP = tools.zip

Attachment: tools-compat.tar.gz
Description: GNU Zip compressed data

Reply via email to