On Mon, 2005-12-12 at 11:15 -0700, Tom Tromey wrote: > >>>>> "Anthony" == Anthony Green <green@xxxxxxxxxx> writes: > > Anthony> The JacORB code is referring to org.omg.CORBA fields that > Anthony> only appear in the JacORB version of these classes, and > Anthony> there's no way to override libgcj's built-in version at build > Anthony> time. > > At build time setting -bootclasspath or the like ought to work. It's not pretty, but the attached patch lets the jacorb RPM build. Presumably other java alternatives have no problem building this. I wonder why? > At runtime, as Mark said, these classes are BC-compiled and can be > overridden via extdirs. Jacorb already intalls a "java" wrapper called "jaco" that does this. Gary - please consider adding the attached patch for jacorb. AG
--- src/org/jacorb/notification/build.xml~ 2005-12-14 18:49:48.000000000 -0800 +++ src/org/jacorb/notification/build.xml 2005-12-14 18:50:19.000000000 -0800 @@ -137,18 +137,6 @@ org/jacorb/notification/Main.java, org/jacorb/notification/gui/**" /> </antcall> - - <javac srcdir="${src}" - destdir="${classdir}" > - - <classpath> - <pathelement location="${dirs.base}/classes" /> - <pathelement location="${lib}/avalon-framework-4.1.5.jar" /> - <pathelement location="${lib}/wrapper-3.0.3.jar" /> - </classpath> - - <include name="org/jacorb/notification/Main.java"/> - </javac> </target> --- etc/common.xml~ 2004-04-28 05:37:27.000000000 -0700 +++ etc/common.xml 2005-12-14 19:07:01.000000000 -0800 @@ -43,6 +43,9 @@ <path> <pathelement location="${dirs.base}/classes"/> <pathelement location="${basedir}/classes"/> + <pathelement location="${dirs.base}/src"/> + <pathelement location="${dirs.base}/src/generated"/> + <pathelement location="${dirs.base}/src/omg-02-01-02"/> <pathelement location="${lib}/logkit-1.2.jar"/> <pathelement location="${lib}/idl.jar"/> <pathelement location="${lib}/antlr-2.7.2.jar"/> @@ -139,7 +142,7 @@ <javac srcdir="${javac-src}" destdir="${classdir}" debug="${debug}" - classpath="${classpath}" + bootclasspath="${classpath}" debuglevel="${debuglevel}" sourcepath="${javac-sourcepath}" includes="${javac-includes}"