From: Steve F. <st...@pc...> - 2004-06-18 01:24:53
|
terry- i don't know what is causing that problem. there is an undocumented flag to turn off java compiling (you can find stuff like by snooping in: $PROJECT_HOME/install/bin/build.pl the flag is: build GUS install -skipJavaCompiling -append try that until somebody figures out what is going on with the rmic steve Terry Clark wrote: >Dear Gus Developers, > >I am starting a GUS project in a new laboratory using >today's CVS checkout of GUS and an FTP today of CBIL tools. >The build is breaking with the Java rmic, with the ominous suggestion > [rmic] error: An error has occurred in the compiler; > please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi). > [rmic] 1 error >The rmic messages do not look quite right, but this is outside of >what I am familiar with; and the rmic nest in build.xml >used to be commented out so I do not have successful examples >to compare to. > >Any ideas how to get by this? Maybe I am missing a component? >The Java distribution I am using is from the file "j2eesdk-1_4_01-linux.bin" >for Linux. The CLASSPATH in the build shell is > CLASSPATH=/usr/java1.4/jdk/lib/dt.jar:/usr/java1.4/jdk/lib/tools.jar:/usr/java1.4/jdk/jre/lib/rt.jar > JAVA_HOME=/usr/java1.4/jdk > >Thanks, > >Terry > >p.s. Here is stderr and stdout from the build. > > >ant -f /farm/gus/projects/install/build.xml install -Dproj=GUS -DtargetDir=/farm/gus/gushome -Dcomp= -DprojectsDir=/farm/gus/projects -Dappend=true -logger org.apache.tools.ant.NoBannerLogger | grep ']' > > [rmic] java.lang.IncompatibleClassChangeError: field sun.tools.java.Type.idJavaLangObject was not found. > [rmic] at _Jv_ResolvePoolEntry(java.lang.Class, int) (/lib/ssa/libgcj.so.4.0.0) > [rmic] at sun.tools.java.Type.<clinit>() (Unknown Source) > [rmic] at java.lang.Class.initializeClass() (/lib/ssa/libgcj.so.4.0.0) > [rmic] at _Jv_ResolvePoolEntry(java.lang.Class, int) (/lib/ssa/libgcj.so.4.0.0) > [rmic] at sun.tools.javac.BatchEnvironment.classExists(sun.tools.java.Identifier) (Unknown Source) > [rmic] at sun.tools.java.Environment.resolvePackageQualifiedName(sun.tools.java.Identifier) (Unknown Source) > [rmic] at sun.rmi.rmic.Main.doCompile() (Unknown Source) > [rmic] at sun.rmi.rmic.Main.compile(java.lang.String[]) (Unknown Source) > [rmic] at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], jvalue, jvalue) (/lib/ssa/libgcj.so.4.0.0) > [rmic] at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/lib/ssa/libgcj.so.4.0.0) > [rmic] at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/lib/ssa/libgcj.so.4.0.0) > [rmic] at org.apache.tools.ant.taskdefs.rmic.SunRmic.execute() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.taskdefs.Rmic.execute() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Task.perform() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Target.execute() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Target.performTasks() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Project.executeTarget(java.lang.String) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.taskdefs.Ant.execute() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Task.perform() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Target.execute() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Target.performTasks() (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Project.executeTarget(java.lang.String) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Project.executeTargets(java.util.Vector) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Main.start(java.lang.String[], java.util.Properties, java.lang.ClassLoader) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > [rmic] at org.apache.tools.ant.Main.main(java.lang.String[]) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so) > >BUILD FAILED >file:/farm/gus/projects/GUS/build.xml:305: Rmic failed; see the compiler error output for details. > >Total time: 6 seconds > [echo] . > [echo] Installing CBIL/Bio > [echo] . > [echo] Installing CBIL/CSP > [javac] Since compiler setting isn't classic or modern,ignoring fork setting. > [jar] Building jar: /farm/gus/gushome/lib/java/CBIL-CSP.jar > [echo] . > [echo] Installing CBIL/Util > [echo] . > [echo] Installing CBIL/HQ > [echo] . > [echo] Installing CBIL/ObjectMapper > [concat] Warning: Could not find any of the files specified in concat task. > [echo] . > [echo] Installing GUS/Common > [echo] . > [echo] Installing GUS/DBAdmin > [echo] . > [echo] Installing GUS/GOPredict > [javac] Since compiler setting isn't classic or modern,ignoring fork setting. > [jar] Building jar: /farm/gus/gushome/lib/java/GUS-GOPredict.jar > [echo] . > [echo] Installing GUS/ObjRelP > [rmic] RMI Compiling 1 class to /farm/gus/projects/GUS/ObjRelJ/src/java > [rmic] error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi). > [rmic] 1 error > > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Gusdev-gusdev mailing list >Gus...@li... >https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > |