Re: any free JDKs not using jikes as compiler?
Andrew Vaughan wrote:
The reason that I ask is that I would like to try to get Subversions java
binding (JavaHL) into the archive. (The current source package has support
for building JavaHL but it is disabled by default).
Attached two patches which fix the jikes build problem. BTW, its not
jikes fault but wrong coding sytle in the java files. jike is very
strict to the specification - which javac is not.
Could you please forward the patches to upstream ?
Put the patches in your debian/patches dir and copy the two line change
in the attached series file to your series file. I successfully built
the javaHL bindings with these patches in my chroot.
(1) The debian/libsvn-javahl directory gets created and populated with
the native and java libraries if ENABLE_JAVAHL=yes is set in the rules
file - however no libsvn-javahl package gets created. But I think this
is only a minor packaging problem.
(2) According to the java policy the native library parts should be
installed under /usr/lib/jni directory. I personally would also name the
package just libsvn-java. libsvn-javahl doesn't say much to a user and
confuses him in my opinion.
PS: I am eager awaiting the JavaHL bindings so I can use the eclipse svn
plugin without recompiling subversion from source.
--- subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Notify.java.orig 2004-06-12 13:01:25.000000000 +0000
+++ subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Notify.java 2005-04-06 07:28:09.000000000 +0000
@@ -56,7 +56,7 @@
public static final String getActionName(int action)
- return actionNames[action];
+ return NotifyAction.actionNames[action];
@@ -73,7 +73,7 @@
public static final String getStatusName(int status)
- return statusNames[status];
+ return NotifyStatus.statusNames[status];
--- subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Status.java.orig 2004-09-06 05:56:11.000000000 +0000
+++ subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Status.java 2005-04-06 07:47:48.000000000 +0000
@@ -490,31 +490,31 @@
- case none:
+ case StatusKind.none:
- case normal:
+ case StatusKind.normal:
- case added:
+ case StatusKind.added:
- case missing:
+ case StatusKind.missing:
- case deleted:
+ case StatusKind.deleted:
- case replaced:
+ case StatusKind.replaced:
- case modified:
+ case StatusKind.modified:
- case merged:
+ case StatusKind.merged:
- case conflicted:
+ case StatusKind.conflicted:
- case ignored:
+ case StatusKind.ignored:
- case incomplete:
+ case StatusKind.incomplete:
- case external:
+ case StatusKind.external:
- case unversioned:
+ case StatusKind.unversioned: