Changes between Version 5 and Version 6 of BuildingWorldPainter


Ignore:
Timestamp:
04/19/20 18:05:35 (4 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWorldPainter

    v5 v6  
    2727''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.''
    2828
    29 = Set up Maven toolchains
    30 
    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 
    3329== JIDE Docking Framework
    3430
     
    5753Alternatively 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.
    5854
     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
    5985= Build !WorldPainter
    6086
    61 Once all dependencies are installed you can build !WorldPainter from the command line or using your favourite IDE:
     87Once all dependencies are installed and the toolchains set up you can build !WorldPainter from the command line or using your favourite IDE:
    6288
    6389== Build WPValueObjects