-
Notifications
You must be signed in to change notification settings - Fork 2
Maintenance/mps2021.3 #1
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
base: master
Are you sure you want to change the base?
Conversation
Updated docx4j version to 11.4.8 Migrated project.
|
@enikao from a distance, changes look good to me. Do you want to review as well? |
|
I want to review. Monday 24 oct at the latest
…Sent from my iPhone
On 20 Oct 2022, at 16:40, Eugen Schindler ***@***.***> wrote:
@enikao from a distance, changes look good to me. Do you want to review as well?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
OK |
|
I helped Atanas, so @jennek is probably better suited. |
Thanks for the explanation. Clear. I'll leave it to you and Jennek to finish the PR. If you run into any issues like permissions our you need something done, you know where to find me :) |
|
I've updated my first comment with more information on what I did. |
|
[S] org.xmlunit can't find dependency: Hamcrest |
|
model The original intention was to write XML level assertions for generated docx snippets. If that is no longer the intention, better remove the xmlunit related modules from the project. |
|
when running the tests in |
|
when running tests in |
|
@jennek What MPS version are you running this on? I had the same problem occur to me on previous MPS versions. If it's 2021.3 what plugins do you have installed on it? I ran the project on a fresh install today and I had no problems generating the com.dslfoundry.docx.samples model. I haven't touched any code in the com.dslfoundry.docx.samples.tests module, it could've worked on previous versions, but there are some issues now. Regarding the com.dslfoundry.docx.samples.tests.unit model - I ran the tests and I got --- Content is not Equal --- messages for the files, but when I open the expected and actual files the contents are the same. How did you create the expected docx files? |
Migrated project to MPS 2021.3 - had to manually change some try statements inside the project, and fix some missing dependencies.
Updated docx4j to 11.4.8. Changed JAXb Implementation to MOXy 11.4.8. Updated all samples to docx4j-samples 11.4.8.
Added docx4j-docx-anon library because it was needed to run some of the samples.
The biggest improvement is that all docx4j dependencies are from the original package - no need to change them with any native MPS libraries.
I haven't touched the org.xmlunit solutions so they don't work because of a missing dependency - Hamcrest.
Cleaned up all languages' and solutions' dependencies.