Skip to content
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

Can we compile it without OC servers? OpenJDK 11? #172

Closed
mirek-resq opened this issue Mar 23, 2020 · 3 comments
Closed

Can we compile it without OC servers? OpenJDK 11? #172

mirek-resq opened this issue Mar 23, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@mirek-resq
Copy link

mirek-resq commented Mar 23, 2020

Is it possible to compile LibreClinica 1.0 without trying to get modules from OpenClinica servers? I have those modules saved offline so I can recompile OC 3.14, but it would be nice to be able to compile without OC servers. Can we compile LC using OpenJDK 11? OC was working/tested on version 8 only.

@chae-reliatec chae-reliatec added the question Further information is requested label Mar 23, 2020
@chae-reliatec chae-reliatec self-assigned this Mar 23, 2020
@chae-reliatec
Copy link
Member

Unfortunately it is not possible to compile LibreClinica 1.0 without the OpenClinica servers. We are working hard to make this possible but for the moment at least the lib org.jmesa:jmesa-oc is needed from the OpenClinica repos.
Since we do provide the compiled war archives it shouldn't be an issue for the average user. Users who modify LibreClinica and therefore need to build LibreClinica itself still need the OpenClinica servers.

@chae-reliatec
Copy link
Member

Unfortunately it is not possible to build LibreClinica 1.0 with OpenJDK 11 and OpenJDK 13. This is the error you will get:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.3:xjc (schemas-generate) on project LibreClinica-odm: Execution schemas-generate of goal org.codehaus.mojo:jaxb2-maven-plugin:2.3:xjc failed: A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.3:xjc: com/sun/codemodel/CodeWriter
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.mojo:jaxb2-maven-plugin:2.3
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

@mirek-resq
Copy link
Author

Thanks for info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants