Difference between revisions of "How to build Freeplane"

From Freeplane - free mind mapping and knowledge management software
(srcpure)
 
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
* Download source code from http://sourceforge.net/projects/freeplane/files/
+
[[Category:Coding]]
** freeplane_srcpure - archives do not contain external libraries needed for the build, use freeplane_src instead.
 
* or [[Bazaar howto|check it out]] from the source code repository.
 
* Run [http://ant.apache.org/ ant] in folder freeplane_framework/ant
 
  
[[Category:Developer_Documentation]]
+
== Requirements ==
 +
* You need java 11 or later and gradle >= 6.0
 +
 
 +
== Download gradle ==
 +
* Download gradle: https://gradle.org/releases/
 +
* Unzip to your home directory
 +
 
 +
== Clone the freeplane repository ==
 +
git clone https://github.com/freeplane/freeplane.git
 +
cd freeplane
 +
 
 +
== Run gradle ==
 +
* Gradle wrapper files are intentionally not committed to the sources but git ignored so that you can add them yourself if you need them.
 +
$ ~/Downloads/gradle-6.0.1/bin/gradle build
 +
 
 +
== Run freeplane ==
 +
cd BIN
 +
./freeplane.sh # linux
 +
freeplane.bat
 +
 +
== Create package ==
 +
~/git2/freeplane(1.7.x u=)$ ~/Downloads/gradle-6.0.1/bin/gradle clean build dist
 +
ls DIST
 +
 
 +
== Configuring an IDE ==
 +
* See [[IDE setup| how to set up IDE]]

Latest revision as of 09:16, 28 June 2020


Requirements

  • You need java 11 or later and gradle >= 6.0

Download gradle

Clone the freeplane repository

git clone https://github.com/freeplane/freeplane.git
cd freeplane

Run gradle

  • Gradle wrapper files are intentionally not committed to the sources but git ignored so that you can add them yourself if you need them.

$ ~/Downloads/gradle-6.0.1/bin/gradle build

Run freeplane

cd BIN
./freeplane.sh # linux
freeplane.bat

Create package

~/git2/freeplane(1.7.x u=)$ ~/Downloads/gradle-6.0.1/bin/gradle clean build dist
ls DIST

Configuring an IDE