SplashScreen conflict when building jEdit
Submitted by Sunday, 15 June, 2008 - 19:05
on
Hello. I'm trying to rebuild jEdit from source, and I'm using the jEdit source code for version 4.2, and Apache Ant version 1.7.0. Ant correctly locates build.xml in the root directory of the jEdit source, and starts the building process. But it fails with two errors, and many warnings. Ignoring the warnings for now, I'm looking at the first error:
[javac] D:\_t\org\gjt\sp\jedit\GUIUtilities.java:1532: reference to SplashScreen is ambiguous, both class org.gjt.sp.jedit.gui.SplashScreen in org.gjt.sp.jedit.gui and class java.awt.SplashScreen in java.awt match
[javac] private static SplashScreen splash;
Apparently Java AWT has a class named SplashScreen (http://java.sun.com/javase/6/docs/api/java/awt/SplashScreen.html), and jEdit is trying to use the same name for its own class. So I'm wondering how jEdit was able to be successfully built for the release? Anyone have any ideas on this?
[javac] D:\_t\org\gjt\sp\jedit\GUIUtilities.java:1532: reference to SplashScreen is ambiguous, both class org.gjt.sp.jedit.gui.SplashScreen in org.gjt.sp.jedit.gui and class java.awt.SplashScreen in java.awt match
[javac] private static SplashScreen splash;
Apparently Java AWT has a class named SplashScreen (http://java.sun.com/javase/6/docs/api/java/awt/SplashScreen.html), and jEdit is trying to use the same name for its own class. So I'm wondering how jEdit was able to be successfully built for the release? Anyone have any ideas on this?