-
Notifications
You must be signed in to change notification settings - Fork 41
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
Content is not allowed in prolog #355
Comments
I suspect the line Line 94 in 413c76a
is using wrong input to detect the JAR extension - localFile is mangled by injected CacheManager. |
Well the problem is that P2 assumes that a file that ends with Since we have a buffered stream here, it would be better to look at the magic bytes what would be |
Indeed, modern Tycho customizes |
P2 relies on correct file extensions to parse cached files. Fixes eclipse-tycho#2938 See eclipse-equinox/p2#355
P2 relies on correct file extensions to parse cached files. Fixes eclipse-tycho#2938 See P2 bug: eclipse-equinox/p2#355 Integration test infrastructure touch-ups: Fix HttpServer concurrency bug. URLs returned from HttpServer.getAccessedUrls() are now stripped of context prefix. No callers have used these values until now. Fix concurrency bug in test utility class HttpServer request logging.
P2 relies on correct file extensions to parse cached files. Fixes #2938 See P2 bug: eclipse-equinox/p2#355 Integration test infrastructure touch-ups: Fix HttpServer concurrency bug. URLs returned from HttpServer.getAccessedUrls() are now stripped of context prefix. No callers have used these values until now. Fix concurrency bug in test utility class HttpServer request logging.
This is a backport from 5.0.0 P2 relies on correct file extensions to parse cached files. This change prevents cached file name from changing over HTTP redirect. See eclipse-equinox/p2#355 Fix HttpServer concurrency bug. URLs returned from HttpServer.getAccessedUrls() are now stripped of context prefix. No callers have used these values until now. Fix concurrency bug in test utility class HttpServer request logging. Add verification of request logs to ensure that metadata repository does indeed unjars fresh, non-cached artifact. Ensure that cached XML file does not produce false negative in tests. Refactor tests.
This is a backport from 5.0.0 P2 relies on correct file extensions to parse cached files. This change prevents cached file name from changing over HTTP redirect. See eclipse-equinox/p2#355 Fix HttpServer concurrency bug. URLs returned from HttpServer.getAccessedUrls() are now stripped of context prefix. No callers have used these values until now. Fix concurrency bug in test utility class HttpServer request logging. Add verification of request logs to ensure that metadata repository does indeed unjars fresh, non-cached artifact. Ensure that cached XML file does not produce false negative in tests. Refactor tests.
When fetching repository from https://github.com/fabioz/Pydev/releases/download/pydev_10_1_3 P2 is redirected from
to
it is confused by the complexity of the resulting URL and fails to recognize content as JAR.
Please see eclipse-tycho/tycho#2938 for steps to reproduce.
Happens only in Tycho, PDE seems to work fine.
The text was updated successfully, but these errors were encountered: