[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: First try at free-java-sdk with jcalendar... some help required.



Grrr (again), jcalendar 1.1.4 is a bit more than outdated... And it comes with (and requires) the kunststoff library (which is not part of Debian, and actually not maintained anymore).

SwingWT is officially supporting JSpinner, I'll have a try. Any hint on how to proceed is welcome.

And again: "ant clean" does compile the thing, "ant -debug clean" does clean it. There is something wrong here, should I place a bug to ant or to free-java-sdk, or to what?

Thanks, Eric

PS: I'm on the debian-java list, no need to CC.

Wolfgang Baer wrote:
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



--
Gewalt ist die letzte Zuflucht der Inkompetenz.
    Violence is the Last Resort of the Incompetent.
        Gwalt jest ostatnem schronieniem niekompetencji.
            La violence est le dernier refuge de l'incompetence.
    ~ Isaac Asimov



Reply to: