====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doc:en:appendixc [2016/10/12 11:50] rosmord [Getting the code] |
doc:en:appendixc [2018/06/02 11:33] (current) rosmord [Compiling the code] |
||
---|---|---|---|
Line 6: | Line 6: | ||
The preferred way is to use git, with the command: | The preferred way is to use git, with the command: | ||
<code> | <code> | ||
- | git clone http://git.qenherkhopeshef.org/repositories/jsesh.git | + | git clone https://github.com/rosmord/jsesh.git |
</code> | </code> | ||
Line 13: | Line 13: | ||
* development: ongoing work for next version of JSesh | * development: ongoing work for next version of JSesh | ||
* jfx-test: some work to see how to adapt JSesh to Java FX. | * jfx-test: some work to see how to adapt JSesh to Java FX. | ||
+ | ===== Compiling the code ===== | ||
+ | that's | ||
+ | mvn install | ||
+ | Before that, you might choose which version of JSesh you want to compile. Various releases are tagged. So, you might | ||
+ | do something like | ||
+ | git checkout release-5.3 | ||
+ | mvn clean install | ||
+ | to compile JSesh version 5.3. all tags can be listed by typing | ||
+ | git tag | ||
+ | |||
+ | Then, you can use the JSesh libraries in your program by referencing the in your pom.xml. | ||
+ | For instance: | ||
+ | <code> | ||
+ | |||
+ | <dependency> | ||
+ | <groupId>org.qenherkhopeshef</groupId> | ||
+ | <artifactId>jseshGlyphs</artifactId> | ||
+ | <version>5.3</version> | ||
+ | </dependency> | ||
+ | <dependency> | ||
+ | <groupId>org.qenherkhopeshef</groupId> | ||
+ | <artifactId>jsesh</artifactId> | ||
+ | <version>5.3</version> | ||
+ | </dependency> | ||
+ | <dependency> | ||
+ | <groupId>org.qenherkhopeshef</groupId> | ||
+ | <artifactId>qenherkhopeshefUtils</artifactId> | ||
+ | <version>5.3</version> | ||
+ | </dependency> | ||
+ | </code> | ||
+ | |||
+ | Note that, from JSesh 6.7 onward, the groupId will be changed to | ||
+ | <groupId>org.qenherkhopeshef.jsesh</groupId> | ||
+ | in order to simplify maven repositories management (I want to be able to easily remove all old versions of JSesh with a simple rm on my computer) | ||
+ | |||
+ | If you want to *run* JSesh, the module is **jseshAppli**. The latest version of jsesh-installer provides two folders, one for Mac and one for Windows, with almost ready distributions - the end of the production-building is currently manual, see README.md at the root of the JSesh project. | ||
+ | |||
+ | |||
===== How to ===== | ===== How to ===== | ||