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

Master does not build anymore #1492

Closed
claesrosell opened this issue Nov 9, 2023 · 2 comments
Closed

Master does not build anymore #1492

claesrosell opened this issue Nov 9, 2023 · 2 comments

Comments

@claesrosell
Copy link
Contributor

claesrosell commented Nov 9, 2023

The master branch doesn't build.

There are a lot of these in the build log:

[ERROR] The package javax.xml.namespace is accessible from more than one module: <unnamed>, java.xml
[ERROR] /home/jenkins/agent/workspace/build_master/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/soapengine/api/AvailableOperation.java:[704] 
[ERROR] 	elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.eclipse.org/birt", "Export"));
[ERROR] 	                         ^^^^^^^^^^^^^^^^^^^

The changes between the last successful build and the first failed build do not seem to be directly related to this error. But for some reason the viewer does now have the package javax.xml.namespace accessible from both the JRE and ,probably, an OSGI bundle with Automatic-Module-Name: javax.xml .

I will start a -X build on my fork, hopefully I have more information in the morning.

@merks
Copy link
Contributor

merks commented Nov 10, 2023

Strange, the build worked for me locally. I'll kick another build...

merks added a commit to merks/birt that referenced this issue Nov 10, 2023
This also fixes the strange java.xml.namespace.QName compile error
though why that's the case isn't clear.

eclipse-birt#1492
merks added a commit to merks/birt that referenced this issue Nov 10, 2023
This also fixes the strange java.xml.namespace.QName compile error
though why that's the case isn't clear.

eclipse-birt#1492
merks added a commit that referenced this issue Nov 10, 2023
This also fixes the strange java.xml.namespace.QName compile error
though why that's the case isn't clear.

#1492
@merks
Copy link
Contributor

merks commented Nov 10, 2023

I don't know why the target platform change fixed the problem, but it did. 😨

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

No branches or pull requests

2 participants