Changes between Version 5 and Version 6 of BuildingWorldPainter
- Timestamp:
- 04/19/20 18:05:35 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingWorldPainter
v5 v6 27 27 ''TODO: JPen has native libraries, which are currently missing (meaning the tablet support won't actually work. This has yet to be incorporated in the build somehow.'' 28 28 29 = Set up Maven toolchains30 31 !WorldPainter uses the Maven toolchain framework (https://maven.apache.org/guides/mini/guide-using-toolchains.html) to find the JDK's it needs. You need to follow the instructions on that page to configure two toolchains: one of type `jdk` and version `1.8` pointing to a Java 8 JDK, and one of type `jdk` and version `9` pointing to a Java 9 JDK.32 33 29 == JIDE Docking Framework 34 30 … … 57 53 Alternatively you could remove the JIDE Docking Framework from the code and replace it with some alternative docking framework. It's a lot of work, but doable. 58 54 55 = Set up Maven toolchains 56 57 !WorldPainter uses the Maven toolchain framework (https://maven.apache.org/guides/mini/guide-using-toolchains.html) to find the JDK's it needs. You need to follow the instructions on that page to configure two toolchains: one of type `jdk` and version `1.8` pointing to a Java 8 JDK, and one of type `jdk` and version `9` pointing to a Java 9 JDK. You can do this by placing a file called `toolchains.xml` in your `~/.m2` or `$HOME\.m2` directory with the following contents: 58 59 {{{xml 60 <toolchains> 61 <!-- JDK toolchains --> 62 <toolchain> 63 <type>jdk</type> 64 <provides> 65 <version>9</version> 66 <vendor>oracle</vendor> 67 </provides> 68 <configuration> 69 <jdkHome>C:\Program Files\Java\jdk-9.0.4</jdkHome> 70 </configuration> 71 </toolchain> 72 <toolchain> 73 <type>jdk</type> 74 <provides> 75 <version>1.8</version> 76 <vendor>oracle</vendor> 77 </provides> 78 <configuration> 79 <jdkHome>C:\Program Files\Java\jdk1.8.0_221</jdkHome> 80 </configuration> 81 </toolchain> 82 </toolchains> 83 }}} 84 59 85 = Build !WorldPainter 60 86 61 Once all dependencies are installed you can build !WorldPainter from the command line or using your favourite IDE:87 Once all dependencies are installed and the toolchains set up you can build !WorldPainter from the command line or using your favourite IDE: 62 88 63 89 == Build WPValueObjects