Building: Difference between revisions

From FreeMind
Jump to navigationJump to search
(+section heading "Building with SDK and Ant")
Line 26: Line 26:
# Download FreeMind's [http://sourceforge.net/project/showfiles.php?group_id=7118 source code]  as published in the Files section
# Download FreeMind's [http://sourceforge.net/project/showfiles.php?group_id=7118 source code]  as published in the Files section
# Unpack the source code package with the extension <code>tar.gz</code>
# Unpack the source code package with the extension <code>tar.gz</code>
# Change directory to the one where <code>built.xml</code> file resides &mdash; the build file for Ant, similar to make files for the C language
# Change directory to the one where <code>build.xml</code> file resides &mdash; the build file for Ant, similar to make files for the C language
# Type <code>ant</code> in the command shell
# Type <code>ant</code> in the command shell



Revision as of 09:29, 25 February 2009

You can build FreeMind with Eclipse, an integrated development environment for Java used by many, or without Eclipse.

Guide for building with Eclipse

Another building with Eclipse

Here's what I did to get things working on Eclipse 3.3 with Windows XP:

  1. Download the source code for whichever version you're interested in (I myself downloaded freemind-src-0.9.0_Beta_13_icon_butterfly.tar.gz )
  2. Create a new Java Project in Eclipse
  3. Extract the archive you downloaded
  4. Open the freemind directory in Windows (it should contain .classpath, .project, build.xml, and a whole bunch of other files and folders)
  5. Select all of the files and drag them onto your newly created project, in the Eclipse Package Explorer
  6. Select yes when it asks you if you want to overwrite
  7. That should do it.

Building with SDK and Ant

A simple way for a developer of compiling FreeMind is perhaps the following. It takes the source code from the latest release in the file section at SourceForge instead of from CVS.

  1. Install Java SDK — standard development kit
  2. Install Ant — a tool for building code using complicated make files)
  3. Download FreeMind's source code as published in the Files section
  4. Unpack the source code package with the extension tar.gz
  5. Change directory to the one where build.xml file resides — the build file for Ant, similar to make files for the C language
  6. Type ant in the command shell

See also