I have some notes from a foss4g workshop, but have not had the time to add to the developer guide. Critical thing is to use Java 8, and then install the error prone plugin for compiling (against java 8). -- Jody Garnett
On Wed, 26 Aug 2020 at 01:08, maven apache <[email protected]> wrote: > I want to make some customization to Geoserver, so I tried to build > Geoserver from source at first by following the docs( > https://docs.geoserver.org/latest/en/developer/quickstart/intellij.html) > > 1 First clone the codes, and run `mvn clean install > -Dmaven.test.skip=true` in `/geoserver/src directory`. The build was > completed successfully. > > 2 Import it to IDEA > After import and setup the required configuration, I tried to start > geoserver by `org.geoserver.web.Start.main()`, however the following error > message came out: > ``` > Information:java: Errors occurred while compiling module 'gs-platform' > Information:javac 11 was used to compile java sources > Error:java: Illegal/unsupported escape sequence near index 13 > D:\workspace\java\geoserver\src\platform\target/generated-sources/.* > ``` > This is the Start Configuration: https://i.imgur.com/CZ6CtJI.png > > Then I tried to start it directly by `mvn jetty:run` from > `/geoserver/src/web/app`, it worked. > > However, if this is the desired workflow, it means every time I change the > codebase, I have to install again , and run jetty, it is time-consuming > and unacceptable. > > So I wonder how you work with IDEA during development? > > > Java: > openjdk version "11" 2018-09-25 > OpenJDK Runtime Environment 18.9 (build 11+28) > OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) > > Maven: > Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) > Java version: 11, vendor: Oracle Corporation, runtime: > D:\install\java\jdk_jre\jdk11 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" > > IDEA: 2020.1.3 Community Edition > > _______________________________________________ > Geoserver-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-devel >
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
