Difference between revisions of "SimpleGraph-Installation"
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{SimpleArticle|title=SimpleGraph Installation|text= | {{SimpleArticle|title=SimpleGraph Installation|text= | ||
= Eclipse = | = Eclipse = | ||
+ | == Prerequisites == | ||
+ | # Eclipse (Oxygen recommended) | ||
+ | # Java 8 | ||
+ | # Maven (e.g. m2eclipse) | ||
+ | == Installation Steps == | ||
Select the File{{!}}Import/Git/Projects from Git Import Wizard from the Eclipse Main Menu | Select the File{{!}}Import/Git/Projects from Git Import Wizard from the Eclipse Main Menu | ||
<br>[[File:gitimport1.png|400px]] | <br>[[File:gitimport1.png|400px]] | ||
Line 21: | Line 26: | ||
keep all imported projects | keep all imported projects | ||
<br>[[File:gitimport7.png|400px]] | <br>[[File:gitimport7.png|400px]] | ||
− | <br>click " | + | <br>click "Finish >"<br> |
There will be initial build errors since this is maven multi-module project and their are some interdependencies between the modules. | There will be initial build errors since this is maven multi-module project and their are some interdependencies between the modules. | ||
Do a right-click "Run As/Maven install" on the main project com.bitplan.simplegraph to fix this | Do a right-click "Run As/Maven install" on the main project com.bitplan.simplegraph to fix this | ||
− | + | == Importing new modules == | |
+ | If you installed the project to eclipse a while ago and new modules have been added to the github repository you might want to import these. | ||
+ | # do a team/pull | ||
+ | # optionally check with right click show in / system explorer to see the new subdirectories | ||
+ | # right click import/Project from git | ||
+ | # choose Existing local repository | ||
+ | # select com.bitplan.simplegraph | ||
+ | # then select the module you would like to add | ||
= Maven command line = | = Maven command line = | ||
<source lang='bash'> | <source lang='bash'> | ||
git clone https://github.com/BITPlan/com.bitplan.simplegraph | git clone https://github.com/BITPlan/com.bitplan.simplegraph | ||
cd com.bitplan.simplegraph/ | cd com.bitplan.simplegraph/ | ||
− | mvn install | + | mvn install -D skipTests -D gpg.skip |
</source> | </source> | ||
}} | }} | ||
{{Article|title=expected result|text= | {{Article|title=expected result|text= | ||
<source lang='bash'> | <source lang='bash'> | ||
− | [INFO] SimpleGraph ........................................ SUCCESS [ | + | [INFO] SimpleGraph ........................................ SUCCESS [ 1.477 s] |
− | [INFO] SimpleGraph Core ................................... SUCCESS [ | + | [INFO] SimpleGraph Core ................................... SUCCESS [ 8.595 s] |
− | [INFO] SimpleGraph FileSystem ............................. SUCCESS [ 6. | + | [INFO] SimpleGraph CalDAV ................................. SUCCESS [ 2.324 s] |
− | [INFO] SimpleGraph | + | [INFO] SimpleGraph CardDAV ................................ SUCCESS [ 3.022 s] |
− | [INFO] SimpleGraph Map .................................... SUCCESS [ | + | [INFO] SimpleGraph FileSystem ............................. SUCCESS [ 3.282 s] |
− | [INFO] SimpleGraph MediaWiki .............................. SUCCESS [ | + | [INFO] SimpleGraph GeoJson ................................ SUCCESS [ 1.369 s] |
− | [INFO] SimpleGraph Semantic MediaWiki ..................... SUCCESS [ | + | [INFO] SimpleGraph JSON ................................... SUCCESS [ 2.509 s] |
− | [INFO] SimpleGraph SQL .................................... SUCCESS [ | + | [INFO] SimpleGraph GitHub ................................. SUCCESS [ 6.505 s] |
− | [INFO] SimpleGraph TripleStore ............................ SUCCESS [ | + | [INFO] SimpleGraph HTML ................................... SUCCESS [ 5.807 s] |
− | [INFO] SimpleGraph WikiData ............................... SUCCESS [ | + | [INFO] SimpleGraph Java ................................... SUCCESS [ 2.540 s] |
− | [INFO] SimpleGraph | + | [INFO] SimpleGraph Mail ................................... SUCCESS [ 1.370 s] |
− | [INFO] SimpleGraph Powerpoint ............................. SUCCESS [ | + | [INFO] SimpleGraph Map .................................... SUCCESS [ 3.470 s] |
+ | [INFO] SimpleGraph MediaWiki .............................. SUCCESS [ 5.330 s] | ||
+ | [INFO] SimpleGraph Semantic MediaWiki ..................... SUCCESS [ 13.929 s] | ||
+ | [INFO] SimpleGraph PDF .................................... SUCCESS [ 3.592 s] | ||
+ | [INFO] SimpleGraph SNMP ................................... SUCCESS [ 1.656 s] | ||
+ | [INFO] SimpleGraph SQL .................................... SUCCESS [ 2.262 s] | ||
+ | [INFO] SimpleGraph TripleStore ............................ SUCCESS [ 3.726 s] | ||
+ | [INFO] SimpleGraph Excel .................................. SUCCESS [ 18.013 s] | ||
+ | [INFO] SimpleGraph WikiData ............................... SUCCESS [ 10.562 s] | ||
+ | [INFO] SimpleGraph Word ................................... SUCCESS [ 4.170 s] | ||
+ | [INFO] SimpleGraph XML .................................... SUCCESS [ 1.852 s] | ||
+ | [INFO] SimpleGraph Powerpoint ............................. SUCCESS [ 30.485 s] | ||
+ | [INFO] SimpleGraph Bundle ................................. SUCCESS [ 6.004 s] | ||
[INFO] ------------------------------------------------------------------------ | [INFO] ------------------------------------------------------------------------ | ||
[INFO] BUILD SUCCESS | [INFO] BUILD SUCCESS | ||
[INFO] ------------------------------------------------------------------------ | [INFO] ------------------------------------------------------------------------ | ||
− | [INFO] Total time: 02: | + | [INFO] Total time: 02:24 min |
</source> | </source> | ||
}} | }} | ||
− | + | = Fat Jar = | |
+ | To include simplegraph as a single jar dependency for your project you might want to run: | ||
+ | <source lang='bash'> | ||
+ | cd com.bitplan.simplegraph/simplegraph-bundle | ||
+ | mvn install -D skipTests -D gpg.skip -P createAssembly | ||
+ | </source> | ||
+ | which will create a jar-with-dependencies.jar | ||
[[Category:frontend]] | [[Category:frontend]] | ||
[[Category:SiGNaL]] | [[Category:SiGNaL]] | ||
[[Category:SimpleGraph]] | [[Category:SimpleGraph]] |
Latest revision as of 15:15, 5 March 2020
SimpleGraph Installation
Eclipse
Prerequisites
- Eclipse (Oxygen recommended)
- Java 8
- Maven (e.g. m2eclipse)
Installation Steps
Select the File|Import/Git/Projects from Git Import Wizard from the Eclipse Main Menu
click "Next >"
Select "Clone URI"
click "Next >"
enter the URL https://github.com/BITPlan/com.bitplan.simplegraph
click "Next >"
keep the selected Branch "master"
click "Next >"
select the target direcctory where you'd like to keep the project locally
click "Next >"
keep the wizard "Import existing Eclipse projects"
click "Next >"
keep all imported projects
click "Finish >"
There will be initial build errors since this is maven multi-module project and their are some interdependencies between the modules.
Do a right-click "Run As/Maven install" on the main project com.bitplan.simplegraph to fix this
Importing new modules
If you installed the project to eclipse a while ago and new modules have been added to the github repository you might want to import these.
- do a team/pull
- optionally check with right click show in / system explorer to see the new subdirectories
- right click import/Project from git
- choose Existing local repository
- select com.bitplan.simplegraph
- then select the module you would like to add
Maven command line
git clone https://github.com/BITPlan/com.bitplan.simplegraph
cd com.bitplan.simplegraph/
mvn install -D skipTests -D gpg.skip
expected result
[INFO] SimpleGraph ........................................ SUCCESS [ 1.477 s]
[INFO] SimpleGraph Core ................................... SUCCESS [ 8.595 s]
[INFO] SimpleGraph CalDAV ................................. SUCCESS [ 2.324 s]
[INFO] SimpleGraph CardDAV ................................ SUCCESS [ 3.022 s]
[INFO] SimpleGraph FileSystem ............................. SUCCESS [ 3.282 s]
[INFO] SimpleGraph GeoJson ................................ SUCCESS [ 1.369 s]
[INFO] SimpleGraph JSON ................................... SUCCESS [ 2.509 s]
[INFO] SimpleGraph GitHub ................................. SUCCESS [ 6.505 s]
[INFO] SimpleGraph HTML ................................... SUCCESS [ 5.807 s]
[INFO] SimpleGraph Java ................................... SUCCESS [ 2.540 s]
[INFO] SimpleGraph Mail ................................... SUCCESS [ 1.370 s]
[INFO] SimpleGraph Map .................................... SUCCESS [ 3.470 s]
[INFO] SimpleGraph MediaWiki .............................. SUCCESS [ 5.330 s]
[INFO] SimpleGraph Semantic MediaWiki ..................... SUCCESS [ 13.929 s]
[INFO] SimpleGraph PDF .................................... SUCCESS [ 3.592 s]
[INFO] SimpleGraph SNMP ................................... SUCCESS [ 1.656 s]
[INFO] SimpleGraph SQL .................................... SUCCESS [ 2.262 s]
[INFO] SimpleGraph TripleStore ............................ SUCCESS [ 3.726 s]
[INFO] SimpleGraph Excel .................................. SUCCESS [ 18.013 s]
[INFO] SimpleGraph WikiData ............................... SUCCESS [ 10.562 s]
[INFO] SimpleGraph Word ................................... SUCCESS [ 4.170 s]
[INFO] SimpleGraph XML .................................... SUCCESS [ 1.852 s]
[INFO] SimpleGraph Powerpoint ............................. SUCCESS [ 30.485 s]
[INFO] SimpleGraph Bundle ................................. SUCCESS [ 6.004 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:24 min
Fat Jar
To include simplegraph as a single jar dependency for your project you might want to run:
cd com.bitplan.simplegraph/simplegraph-bundle
mvn install -D skipTests -D gpg.skip -P createAssembly
which will create a jar-with-dependencies.jar