New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build the project #86
Comments
The error seems related to locale, the formatting of numbers:
Looks like nobody ran that test in Europe before. There have been discussions on how we format number, timestamp, ... I'm of the conviction that this is control system code. It's used in control rooms or on beam lines where you often have visitors from around the world. English tends to be the only common denominator. The other opinion is that formats should be based on locale, plus allow arbitrary customization |
You could try to modify the locate settings to EN/US before running the test, https://stackoverflow.com/questions/8809098/how-do-i-set-the-default-locale-for-my-jvm |
I tend to agree with Kay - we choose an ISO 8601 time and date format and we stick to it. |
What about putting it as default into a property file? |
For now, if you want the test to pass, update the NumberFormatsTest constructor to look like this:
|
Try again with the latest from master which includes the Locale setup for the test |
@kasemir @shroffk |
The main branch still cannot be built because of the following:
|
Currently
|
You get "1×10^1"? That's cool!
|
CI0011766:/ claudiorosati$ jshell jshell> System.out.println(Locale.getDefault()); |
Ah, good. Didn't see that in the Locale constants, but makes sense for Sweden. This commit fixed it: b978142 |
OK, I'll test it when in master branch. |
That commit is in the display runtime branch where I'm currently working. |
|
Right, you need to add the |
Looks like all these build errors were really test failures, so Still, the locale-based tests have been updated. I just built the latest (display_editor2 branch):
|
Hello,
I'm entered into the wacky world of Java 9, Pheobus and NetBeans 9... and I'm unable to build Phoebus.
I was able to open the maven project, and when I Clean & Build it this happens:
The text was updated successfully, but these errors were encountered: