Eric Lavarde wrote:
Hello,
motivated by the discussions about free java on this list, I did my
first try at freeing a Java package (without promise yet, hence no ITP).
I chose jcalendar (http://www.toedter.com/en/jcalendar/) as I raised
an RFP and it seems relatively simple, extracted it, installed
free-java-sdk, put back the alternatives to Sun's Java (grrr!
Shouldn't the package have less priority than java-package packages?).
If you want to use it with free java ATM you should try the old
1.1.4 version as this version is not using JSpinner.
JSpinner is currently not fully implemented in GNU classpath.
[...]
[javac] Found 3 semantic errors compiling
"/data/Download/Java/src/com/toedter/calendar/JDateChooser.java":
[javac] 59. protected JSpinner.DateEditor editor;
[javac] ^--------^
[javac] *** Semantic Error: Type "javax.swing.JSpinner$DateEditor"
was not found.
[javac] 165. editor = new
JSpinner.DateEditor(dateSpinner, tempDateFortmatString);
[javac] ^--------^
[javac] *** Semantic Error: Type "javax.swing.JSpinner$DateEditor"
was not found.
[javac] 255. editor = new
JSpinner.DateEditor(dateSpinner, dateFormatString);
[javac] ^--------^
[javac] *** Semantic Error: Type "javax.swing.JSpinner$DateEditor"
was not found.
Thats because of the misssing JSpinner stuff.
[...]
any idea how to go further? The compilation with Sun's java 1.4.2
works without warnings or errors. Should I try to install SwingWT or
something similar? I also don't understand why ant has a different
behaviour with or without -debug, and why 'ant clean' still spits
compilation errors?
I didn't try with this programs build.xml - but without any targets it
uses the default target specified in the build.xml file. Why it compiles
with the clean target - no idea, sorry.
Wolfgang