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

Move bundle classpath transformation to URLs from JasperClassLoader to swissbox [PAXSB-59] #72

Open
ops4j-issues opened this issue Sep 19, 2012 · 2 comments
Labels
Milestone

Comments

@ops4j-issues
Copy link

Tuomas Kiviaho created PAXSB-59

Swissbox BundleUtils could have one static method for translating Bundle-Classpath to URLs. This functionality already exists at pax-web-jsp/src/main/java/org/ops4j/pax/web/jsp/internal/JasperClassLoader.java but using of it requires an inconvenient dependency to pax-web-jsp an on top of that a classloader needs to be created and immediately discarded.

This feature is needed for projects like RestEASY that require classpath scanning and I'm unaware of an alternative approach.


Fixed in: 1.9.0
Votes: 0, Watches: 0

@ops4j-issues
Copy link
Author

Achim Nierbeck commented

I'm gonna take care of it, cause in Pax-Web there are usecases for using this also in different places ...

@ops4j-issues
Copy link
Author

Achim Nierbeck commented

Is the method you depend on right now this one?
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-api/src/main/java/org/ops4j/pax/web/utils/ClassPathUtil.java#L55
If so, yes this makes absolute sense to move it to Swissbox...

@ops4j-issues ops4j-issues added the type: improvement Improvement label Feb 23, 2021
@ops4j-issues ops4j-issues added this to the 1.9.0 milestone Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant