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

Use ClassGraph #28

Merged
merged 5 commits into from
Aug 15, 2019
Merged

Use ClassGraph #28

merged 5 commits into from
Aug 15, 2019

Conversation

jamesward
Copy link
Member

No description provided.

webJarResources.forEachInputStream(new ResourceList.InputStreamConsumer() {
@Override
public void accept(Resource resource, InputStream inputStream) {
final String prefix = WEBJARS_PATH_PREFIX + File.separator + webJarName + File.separator + (webJarVersion == null ? "" : webJarVersion + File.separator);
Copy link

Choose a reason for hiding this comment

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

Using File.separator here is incorrect. In Windows backslash will be used, however the defined path separator in JAR files is / - it is not platform-dependent. Fix is here: #119

@mkurz
Copy link

mkurz commented Nov 22, 2023

@jamesward You can delete the classgraph branch here, it's merged in.

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.

None yet

2 participants