Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#247 FreeMind 0.8.0 drive letter handling issue on OS/2

closed
nobody
None
5
2010-09-22
2006-02-25
Anonymous
No

Hi Folks,

I just managed to get FreeMind 0.8.0 to run on IBM
OS/2 (in its ECS
1.25 incarnation - see ecomstation.com for more info).

My system has a 700 MHz P3, 384 MB of RAM and is
sufficiently fast for
FreeMind. The OS comes with a JVM 1.4.2, which also
works well.

I have installed freemind in e:\bin\java\freemind\ and
launch it with a
little shell script (batch file) which I have attached
at the end.

Passing it a file name works just fine as long as it
does not contain a
drive letter:

f:
e:\bin\java\freemind\freemind.cmd \tmp\test\mm\einkauf.mm

works fine, but

f:
e:\bin\java\freemind\freemind.cmd f:\tmp\test\mm\einkauf.mm

and

e:
\bin\java\freemind\freemind.cmd f:\tmp\test\mm\einkauf.mm

result in the following error message:

...
Feb 25, 2006 9:23:12 PM freemind.modes.ModesCreator getMode
INFO: Done: Initializing mode MindMap
File f:\tmp\test\f:\tmp\test\mm\einkauf.mmnot found error
Feb 25, 2006 9:23:14 PM freemind.controller.MainToolBar
setZoomComboBox
...

Apparently, handling of drive letters has a hickup
which, of course, does not get noticed on UNICes and
likely not on the standard Windows install which dumps
everything onto drive c: ?

Batch file for OS/2

@echo off
rem FreeMind 0.8.0 needs Java 1.4 or above. The stock
IBM OS/2 Java 1.1.8
rem does not work, but the Java 1.4.2 port by Innotek
GmbH does. On
rem eComStation 1.2 it lives usually in
<bootdrive>\programs\java142
rem
echo Trying to open %1

setlocal

rem This works, once you set the following directory to
the install
rem directory of freemind
set FREEMINDBASE=e:\bin\java\freemind

rem this is needed so FreeMind can open correctly also
when not started
rem from its installation drive
set FMB=%FREEMINDBASE%

d:\programs\java142\bin\java.exe -D%FMB% -classpath
%FMB%\lib\freemind.jar;%FMB%\lib\ant\lib\jaxb-api.jar;%FMB%\lib\ant\lib\jaxb-impl.jar;%FMB%\lib\ant\lib\jaxb-libs.jar;%FMB%\lib\ant\lib\namespace.jar;%FMB%\lib\ant\lib\relaxngDatatype.jar;%FMB%\lib\ant\lib\xsdlib.jar;%FMB%\lib\ant\lib\jax-qname.jar;%FMB%\lib\ant\lib\sax.jar;%FMB%\lib\ant\lib\dom.jar
freemind.main.FreeMind %1

endlocal

rem eof.

Kind regards & Cheers,

Stefan A. Deutscher (sad@mailaps.org)

Discussion

  • Logged In: YES
    user_id=885594
    Originator: NO

    Hmm, kind of to special to fix. sorry.

     
    • milestone: 542159 --> FreeMind_0.9.0_-_Out_of_scope
    • status: open --> pending
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 730 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed