#55 Replace sun.misc.BASE64* through commons-codec

closed
nobody
None
5
2006-01-18
2005-11-09
Eric L.
No

Hi,

the sun.misc branch contains only
non-official/non-documented/non-supported APIs, which
moreover won't be implemented in CLASSPATH, hence I
replace these through the use of commons-codec from
http://jakarta.apache.org/commons/codec/ (version 1.3
in Debian).
Integration would be great!

Thanks, Eric

PS: take care that the patches for build.xml and
freemind.sh are against my own versions which might be
slightly different (else it's against version 0.8.0).

Discussion

  • Eric L.

    Eric L. - 2005-11-09

    patches on build.xml, freemind.sh and Tools.java

     
  • Christian Foltin

    Logged In: YES
    user_id=885594

    Hi Eric,

    is it ok to extract the base64 class from commons/codec and
    to put this class directly into FM? (Pure lazyness...)
    This is done (but not checked in).

    Regards, Chris

     
  • Eric L.

    Eric L. - 2006-01-12

    Logged In: YES
    user_id=318488

    Hi Chris,

    do you mean:
    1. taking the corresponding source from commons-codec and
    adding it to the FreeMind's sources, compiling together with
    the rest?
    2. or adding the pre-compiled commons-codec jar file to
    FreeMind, like done already e.g. for commons-lang?

    Both are OK for me, but:
    Nr.1 means you don't get the eventual bug fixes, but it's
    fine from a packaging point of view.
    Nr.2 is pretty standard approach, and, commons-codec being
    already in Debian, pretty easy to patch for packaging.

    Cheers, Eric

     
  • Christian Foltin

    Logged In: YES
    user_id=885594

    Hi Eric,

    the first item is the current one: take the source and
    integrate it. The background for that is, that the codec is
    also needed for the browser and I don't want to unpack and
    repack the commons-codec jar for the browser (pure lazyness).

    Am I right, that this is compatible with apaches license?

    Thanks, Chris

     
  • Eric L.

    Eric L. - 2006-01-13

    Logged In: YES
    user_id=318488

    Yep: Apache Software License, Version 1.1.

    Fine with me, Eric

     
  • Christian Foltin

    Logged In: YES
    user_id=885594

    done in integration branch

     
  • Christian Foltin

    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks