Summary: | Can't attach source to some ZIP files | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Andrew Cornwall <andrew_cornwall> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | RESOLVED INVALID | QA Contact: | |||||||
Severity: | major | ||||||||
Priority: | P2 | CC: | support | ||||||
Version: | 2.0.2 | ||||||||
Target Milestone: | 2.1 M5 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows 2000 | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Andrew Cornwall
2003-01-16 13:42:05 EST
Created attachment 3014 [details]
example.zip
ZIP file containing classes
Created attachment 3015 [details]
example-src.zip
Source file (.java) for example.zip
No problem in 2.1. Are there any workarounds for 2.0.2? As long as the example.zip was compiled with debug attributes, it should work. Olivier - can you investigate if this was the case ? The HelloWorld.class in the example.zip file doesn't contain any debug attribute. The source file attribute is enough, but it is not there. Therefore it failed. I checked that if the file contains debug attributes (default one: source and lines), it works fine. So the workaround is to compile with source file attribute. Ok to close? Close as INVALID. There is no problem. In 2.0.2 the source file attribute is used to retrieve the attached source. This behavior has been improved in 2.1. |