-
Notifications
You must be signed in to change notification settings - Fork 21
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
error when compiling LibreClinica with OpenJDK 11 (or greater) #173
Comments
related to issue #172 |
jaxb2-maven-plugin used to generate java classes from xsd scheme have issues with Java 9+. This is relevant for compiling LC not running it. It may be worth investigating if switch to jax-maven-plugin is feasible: |
I am fed up with switching back to a java-version released shortly after the end of the neolithicum, each time a have to perform a build. |
not sure about "ready to release" we have not seen the results from automated tests. Telco before release would be preferred. There we can also discuss if java11 building compatibility is requirement for next release. |
Sorry, there won't be any real automated test - I only can run automated tests with a simple teststudy. More would require that I have a server to that a can run testclients against, but I am just to incompetent to set up libreclinica on a linux-system I even to stupid to set up a linux system and on windows the famous and precious reliatec-test-framework does only run with small and simple things. So I give it up - no real tests. |
Originally the odm module was not part of the code repository but odm.jar was coming as an external dependency into to core module and parent project however it was available only from OC servers (which is situation that we wanted to avoid). I brought odm module into the repository. I proposed that it is not necessary to version control generated java classes (why to version something that is generated, better version only the schema). This was agreed upon and thus odm.jar is created based on schema during build. Note: the other reason why this solution was chosen was that OC does store the generated classes in separate repository from where they are building odm.jar for their dependency management purposes. However there is no license information available and we wanted to avoid potential license issues. It should possible to make the classes generation work on newer java but it has to be examined carefully (new version of current jaxb2-maven-plugin should support it, but likely jakartaee namespace changes are required as well). Complaining about situation is not helpful, also you don't have to break things in working branch... just create a new branch and try to develop solution that works for java11 when it is a priority. |
I understand not a single word of this. |
As you say, odm module represents the generated java model for CDISC ODM standard. However it is not true that it will never change. We have EDC system vendor specific extensions that can change depending on new features in EDC system. And also, ODM as any other standard, it is still being developed further (e.g. ODM 2.0 is currently under development at CDISC). This means that every time we change the xsd defining the ODM with vendor specific extensions the underlying java classes need to be regenerated. |
I still don't understand - maybe I am to simply-minded for this... |
Not just export, study metadata is using this model, REST web services are using this model, I think also form printing is using it. I already mentioned to you that this was decision that was done together with rest of team long time ago (based on my proposal). Feel free to take over the ticket if you have better implementation. |
When compiling LibreClinica with OpenJDK 11 (or greater) the following error occurs.
The text was updated successfully, but these errors were encountered: