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

Tc9.x Initial suport for Tomact9 #30

Open
wants to merge 15 commits into
base: trunk
Choose a base branch
from
Open

Conversation

poolborges
Copy link

A set of commit to add plugin version for tomcat 9

@poolborges
Copy link
Author

This only conflicting here because need of new version of maven

poolborges and others added 4 commits February 29, 2020 12:43
This was causing the artefact build to fail as it ignored the \ escapes.
Setup the webapp like it would be normally and let Tomcat handle everything. There is one hack to work around a hack in Weld’s WebAppBeanArchiveScanner, which explicitly looks for WEB-INF/classes.
@karlvr
Copy link

karlvr commented Apr 21, 2020

@poolborges thank you for your work on this! This is a useful thing to have. I've just made a PR on your repo, so I'm just adding the link here to complete the loop.

poolborges#1

return new JarResource( this, //
getPath(), //
filePath, //
url.getPath().substring( 0, idx ), //
jarEntry, //
"", //
null );
*/

JarResourceSet jr = new JarResourceSet(context.getResources(), getPath(), filePath, getPath());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

original internal path is "", and set to getPath(), please verify as "/", or getPath().

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liudongmiao I think that particular line might have gone in the merge from my code... if not, could you please explain what you're seeing that's wrong here? The JarResourceSet parameters are a little opaque to me, so I'd appreciate some more explanation!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for outdated.

Yes, for the code, it's changed from getPath() to "/" in commit 7f26908.
And the internal path is always "/" now.

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

Successfully merging this pull request may close these issues.

3 participants