Building: Difference between revisions

From FreeMind
Jump to navigationJump to search
No edit summary
(+section heading "Building with SDK and Ant")
Line 10: Line 10:
Here's what I did to get things working on Eclipse 3.3 with Windows XP:
Here's what I did to get things working on Eclipse 3.3 with Windows XP:


#download the [http://sourceforge.net/project/showfiles.php?group_id=7118 source code] for whichever version you're interested in (I myself downloaded freemind-src-0.9.0_Beta_13_icon_butterfly.tar.gz )
# Download the [http://sourceforge.net/project/showfiles.php?group_id=7118 source code] for whichever version you're interested in (I myself downloaded freemind-src-0.9.0_Beta_13_icon_butterfly.tar.gz )
#Create a new Java Project in Eclipse
# Create a new Java Project in Eclipse
#Extract the archive you downloaded
# Extract the archive you downloaded
#Open the freemind directory in Windows (it should contain .classpath, .project, build.xml, and a whole bunch of other files and folders)
# Open the freemind directory in Windows (it should contain .classpath, .project, build.xml, and a whole bunch of other files and folders)
#Select all of the files and drag them onto your newly created project, in the Eclipse Package Explorer
# Select all of the files and drag them onto your newly created project, in the Eclipse Package Explorer
#Select yes when it asks you if you want to overwrite
# Select yes when it asks you if you want to overwrite
#That should do it.   
# That should do it.   


A simple way for a developer of compiling FreeMind is perhaps the following.
==Building with SDK and Ant==


# install [http://java.sun.com/javase/downloads/index.html Java SDK] — standard development kit
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.
# install [http://ant.apache.org/ Ant] — a tool for building code using complicated make files)
 
# download FreeMind's [http://sourceforge.net/project/showfiles.php?group_id=7118 source code]  as published in the Files section
# Install [http://java.sun.com/javase/downloads/index.html Java SDK] — standard development kit
# unpack the source code package with the extension <code>tar.gz</code>
# Install [http://ant.apache.org/ Ant] &mdash; a tool for building code using complicated make files)
# 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
# Download FreeMind's [http://sourceforge.net/project/showfiles.php?group_id=7118 source code]  as published in the Files section
# type <code>ant</code> in the command shell
# 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
# Type <code>ant</code> in the command shell


==See also==
==See also==

Revision as of 14:51, 6 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 built.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