Development

From FreeMind

Jump to: navigation, search
(Getting started as a tester)
(Setting class load path in manifest.mf in jar)
Line 107: Line 107:
where <code>newSelected</code> is a NodeView is unreliable, though most often works.
where <code>newSelected</code> is a NodeView is unreliable, though most often works.
-
===Setting class load path in manifest.mf in jar ===
 
-
In the source folder tree of FreeMind, there's a file MANIFEST.MF. This file tells what
 
-
should happen with the freemind.jar when java tries to run the jar archive. The file
 
-
may look like
 
-
 
-
Manifest-Version: 1.0
 
-
Main-Class: freemind.main.FreeMind
 
-
Class-Path:                  silk.jar nanoxml.jar ekit.jar kafenio.jar
 
-
            kafenio-config.jar kafenio-icons.jar gnu-regexp-1.1.4.jar
 
-
Created-By: Joerg Mueller
 
-
 
-
A tricky thing about the file is that the length of the lines can be
 
-
at most 72 characters. That creates difficulties when specifying Class-Path.
 
-
In the exaple above, the first line of Class-Path is set in such a way
 
-
that it has 70 chacters. That has been achieved by putting spaces before
 
-
the actual list of classes. In the freemind.jar, the file can be found in the
 
-
folder META-INF. Here you can check if the manifest has been created correctly.
 
== More development pages ==
== More development pages ==

Revision as of 10:22, 28 October 2007

Personal tools