Re: unable to build from source

2020-12-09 Thread Joseph Tsai
Windows 10 with English (Australia) system locale and WSL 2 with C locale. On Thu, 10 Dec 2020 at 01:05, Apache wrote: > I was just about to ask what platform you were building on. I can run > other operating systems in a VM to try to duplicate the problem. Aloso, in > this case knowing what you

Re: unable to build from source

2020-12-09 Thread Apache
I was just about to ask what platform you were building on. I can run other operating systems in a VM to try to duplicate the problem. Aloso, in this case knowing what your default locale is would probably help. Ralph > On Dec 9, 2020, at 12:17 AM, Joseph Tsai wrote: > >  > I have been tryin

Re: unable to build from source

2020-12-09 Thread Volkan Yazıcı
Great to hear Joseph! Regarding the test errors that you observe, as Ralph has also noted, we are aware of them, hence the -DskipTests flag in the commands I have shared with you. For reference, you can check our CI pipelines on GitHub and Jenkins

Re: unable to build from source

2020-12-08 Thread Joseph Tsai
I have been trying to figure out why I'm failing the assertion test [image: image.png] So far from looking at LocalizedMessage.java [image: image.png] I think $locale is always null and therefore $bundle is always null, and this sets $msgPattern to $myKey which $myKey is just "hello_world". And ev

Re: unable to build from source

2020-12-08 Thread Ralph Goers
You are making progress! I saw those same errors in one of our automated builds the other day. I am not sure what the problem is but haven’t looked into it yet. Ralph > On Dec 8, 2020, at 9:23 AM, Joseph Tsai wrote: > > I kinda inferred that from reading the mvnw script when Volkan directed me

Re: unable to build from source

2020-12-08 Thread Matt Sicker
The full build isn't compatible with Java 11 yet, so you need both 8 and 11 configured in a toolchains.xml config. Then you need to use Java 8 as the default JVM (or at least the contents of JAVA_HOME), and the build will switch to higher version compilers for the modules that require it. Ideally,

Re: unable to build from source

2020-12-08 Thread Volkan Yazıcı
Would you mind changing the default JDK you start *mvnw* to version 8 and retrying via *./mvnw clean package -DskipTests*, please? (Here *clean* goal is necessary for removing the class files compiled earlier with the wrong JDK.) [Sorry for the short answer, struggling with my day-job in the meanti

Re: unable to build from source

2020-12-08 Thread Joseph Tsai
Hi Volkan, I just installed both JDK8 and 11 and tried to do mvn clean install. The same error persists, and I think it's looking at my default Java installation? Running "sudo update-alternatives --config java" shows the following: [image: image.png] Currently it is defaulted to Java15, and every

Re: unable to build from source

2020-12-08 Thread Volkan Yazıcı
Hello Joseph, You need to have both JDK 8 and 11 installed and configured in your toolchains.xml file. For reference, you can check how we do it in GitHub Actions workflow: maven.yml and maven-toolchains.xml