-
Notifications
You must be signed in to change notification settings - Fork 42
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
MSITE-842 #8
MSITE-842 #8
Conversation
bertysentry
commented
Jun 26, 2019
- Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports
- Sub-pages (or sub-sinks) in subdirectories are now supported
Looking into it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have several formatting shifts. Can you review and fix? I wll try meanwhile to understand your changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have several formatting shifts. Can you review and fix?
src/main/java/org/apache/maven/plugins/site/render/ReportDocumentRenderer.java
Outdated
Show resolved
Hide resolved
The fix is fine, the IT passes, Default Skin and Fluido Skin pass also. You just need to fix the formatting and I will merge and reroll 3.8.1. |
Yeah, sorry about the formatting. I don't know how I missed this... |
All fixed! Sorry for the double commit, there were still some whitespaces changes that were unintentional and unnecessary. Let me know if you prefer me to squash everything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few issues with the formatting left and then we can merge.
src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java
Outdated
Show resolved
Hide resolved
src/it/projects/MSITE-842/src/main/java/org/apache/maven/plugins/it/MyReport.java
Outdated
Show resolved
Hide resolved
All requested changes implemented. I hope I didn't introduce other problems... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still some issue left, please see comments
…aven Report plugins that use several Sink instances This closes #8 * Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports * Sub-pages (or sub-sinks) in subdirectories are now supported
…aven Report plugins that use several Sink instances This closes #8 * Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports * Sub-pages (or sub-sinks) in subdirectories are now supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All is fine now, expect for some jira on the test runner. I need to figure out why and then I can merge. Any ideas?
@michael-o What do you see in the test runner? I get all tests as "PASSED" in the integration tests (and unit tests as well). |
That's weird. The generated MSITE-842.html file must equal to the one provided in src/it. In Jenkins logs, they appear to be the same, but Groovy is saying that they are not. Maybe it's a Windows-vs-UNIX end-of-line issue, although I would have expect the File.getText() Groovy method to handle these gracefully. Jenkins seems to be running on Windows here. Maybe the source code was obtained with UNIX eol and the produced file is using Windows eol. Or the opposite, go figure... Do you have access to the actual files on Jenkins? |
I assume line ending is the case. Unfortunately, I don't have access to the Jenkins workspaces. I only see the physical paths. |
I will try to remove the license header and see how far I get. |
OK, dropped the license headers, let's see what happens. |
…aven Report plugins that use several Sink instances * Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports * Subpages (or subsinks) in subdirectories are now supported This closes #8
RAT breaks the build. We need to figure out the failure and fix it. |
As far as I remember I had a similar case with some other components in ITs. I normalized the line endings because Groovy's |
@michael-o I see the build was successful. How did you fix it? (and thank you for merging! :-) ) |
@bertysentry see: 42617d0#diff-cd32b8e8548e1b3e534123783da08916R29 I will try to roll today or tomorrow 3.8.1 |
Ok thank you for fixing the problem, and sorry about that. |