File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,13 +45,21 @@ Download
4545[ markdown-writer-fx-0.10.zip] ( https://github.com/JFormDesigner/markdown-writer-fx/releases/download/0.10/markdown-writer-fx-0.10.zip )
4646and extract it to any folder.
4747
48- Double-click ` markdown-writer-fx.jar ` to start * Markdown Writer FX* .
48+ Run:
49+ - for Windows, ``` bin/markdown-writer-fx.bat ``` to start * Markdown Writer FX*
50+ - and for Unix systems ``` ./bin/markdown-writer-fx.sh ``` to start * Markdown Writer FX*
4951
50- If this does not work, try following command in a terminal window:
52+ from the project folder.
5153
54+ Building
55+ -------
56+ Prerequisites are Java 8 and Gradle >= 3.5 in order to build * Markdown Writer FX* form sources.
57+ - get the source, e.g. by cloning the official repo with:
58+ ``` bash
59+ git clone https://github.com/JFormDesigner/markdown-writer-fx.git
5260```
53- java -jar markdown-writer-fx.jar
54- ```
61+ - run ``` gradle assembleDist ``` to create the distribution in the ``` $project/build/distributions/ ``` folder.
62+
5563
5664Changes
5765-------
Original file line number Diff line number Diff line change 11version = ' 0.10'
22
33apply plugin : ' java'
4- apply plugin : ' java-library-distribution '
4+ apply plugin : ' application '
55
66repositories {
77 jcenter()
@@ -45,10 +45,12 @@ dependencies {
4545sourceCompatibility = 1.8
4646targetCompatibility = 1.8
4747
48+ mainClassName = ' org.markdownwriterfx.MarkdownWriterFXApp'
49+
4850jar {
4951 manifest {
5052 attributes( ' Main-Class' : ' org.markdownwriterfx.MarkdownWriterFXApp' ,
51- ' Class-Path' : configurations. compile. collect { ' lib/ ' + it. getName() }. join(' ' ),
53+ ' Class-Path' : configurations. compile. collect { it. getName() }. join(' ' ),
5254 ' Implementation-Version' : version
5355 )
5456 }
You can’t perform that action at this time.
0 commit comments