Building: Difference between revisions
From FreeMind
Jump to navigationJump to search
(→Guide) |
No edit summary |
||
Line 22: | Line 22: | ||
# change directory to the one where <code>built.xml</code> file resides — the build file for Ant, similar to make files for the C language | # change directory to the one where <code>built.xml</code> file resides — 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 | ||
==Building without Eclipse == | |||
You download FreeMind to ~/src/freemind say. | |||
Then, you have to compile FreeMind on command line using "ant dist". | |||
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>. | |||
==See also== | ==See also== |
Revision as of 07:19, 24 February 2008
Guide for building with Eclipse
Another way
Here's what I did to get things working on Eclipse 3.3 with Windows XP:
- 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 )
- Create a new Java Project in Eclipse
- 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)
- 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
- That should do it.
A simple way for a developer of compiling FreeMind is perhaps the following.
- install Java SDK — standard development kit
- install Ant — a tool for building code using complicated make files)
- download FreeMind's source code as published in the Files section
- unpack the source code package with the extension
tar.gz
- change directory to the one where
built.xml
file resides — the build file for Ant, similar to make files for the C language - type
ant
in the command shell
Building without Eclipse
You download FreeMind to ~/src/freemind say. Then, you have to compile FreeMind on command line using "ant dist". 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 freemind.main.FreeMindStarter
.