Building: Difference between revisions

From FreeMind
Jump to navigationJump to search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
You can build FreeMind with Eclipse, an integrated development environment for Java used by many, or without Eclipse.
==Guide for building with Eclipse==
==Guide for building with Eclipse==
* [http://freemind.sourceforge.net/docs/compile/windows/Quick%20guide%20to%20compiling%20Freemind%20on%20an%20XP%20system.html Quick guide to compiling Freemind on an XP system using Eclipse].
* [http://freemind.sourceforge.net/docs/compile/windows/Quick%20guide%20to%20compiling%20Freemind%20on%20an%20XP%20system.html Quick guide to compiling Freemind on an XP system using Eclipse].
* [http://freemind.sourceforge.net/docs/Using%20CVS%20via%20Eclipse/index.html Using CVS from within Eclipse].


==Another building with Eclipse==
==Another building with Eclipse==


Here's what I did to get things working on Eclipse 3.3 with Windows XP:
Here's what a user 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
# 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


==Building without Eclipse ==
# Install [http://java.sun.com/javase/downloads/index.html Java SDK] &mdash; standard development kit
# Install [http://ant.apache.org/ Ant] &mdash; 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
# Unpack the source code package with the extension <code>tar.gz</code>
# 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


You download FreeMind to ~/src/freemind say.
==See also==
Then, you have to compile FreeMind on command line using "ant dist".
* [[CVS]]
After that you open a new project with working directory ~/src you should find the following settings:
 
* The binaries are stored into ~/src/bin/classes.
* You have two source folders.
* All jars you find in ~/src/freemind are added to the project.


Then finish the project settings and there should be no errors in the project. You can run FreeMind starting the class <code java>freemind.main.FreeMindStarter</code>.
==Links==
 
* [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/build.xml?view=log build.xml] - CVS
==See also==
* [[Eclipse]]


[[Category:Development]]
[[Category:Development]]

Latest revision as of 11:12, 7 July 2010

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 a user 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

Links