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

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



Hi,

Wolfgang Baer wrote:
Eric Lavarde wrote:

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).

Well was just an suggestion.
The "grrr" was not meant personally, it was just a sign of my disappointment that it was not _the_ solution ;-)


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


Well try it - look at the ant manual. There are tasks which let you
easily change the import statements to swingwt namespace during
compilation. Thats just a hint - but I never tried it.
I replaced all java.awt/javax.swing through swingwt.awt/swingwtx.swing but now I get a compilation error without any hint on why. I created a target for this:
        <target name="swingwt">
                <replace dir="${src.dir}">
                        <include name="**/*.java" />
<replacefilter token="java.awt" value="swingwt.awt" />
                        <replacefilter token="javax.swing"
                                value="swingwtx.swing" />
                </replace>
        </target>




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?


I will have a look the next days - but I assume its more free-java-sdk
related than ant. Does kaffe have the same behaviour ?
I don't have kaffe installed (yet!?), but I was able to reproduce the problem with a very simple build.xml file (10 lines or so), and created a bug report towards free-java-sdk (Bug#308015: ant does not select the proper target when using free-java-sdk).

And in the mean time, I'll package jcalendar with Sun's Java.

Thanks, Eric


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: