| Summary: | API tooling errors while exporting using class files compiled in workspace | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Darin Wright <darin.eclipse> | ||||
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aniefer, Olivier_Thomann | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.7 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Darin Wright
For some reason, this only happens when exporting & installing. If I just export the bundle, I do not see any errors. I cannot reproduce. Removing target milestone until I can reproduce it reliably. I discovered that this only happens when the option to "Use class files compiled in the workspace" is checked on the export options. When PDE build goes to generate the API description it points to an output location of class files that is empty, and API tooling can't resolve any of the types that the description needs to be generated for. For example, the API description generation task is set up with a binary location that points to "C:/eclipse-dev/dev-3.6-2010/.metadata/.plugins/org.eclipse.pde.core/temp/destination/plugins/org.eclipse.jdt.ui_3.6.0.201006031129/@dot". However, that location contains no class files (just package directories that are empty). Not sure if PDE build can pass in the workspace location when it knows it's using workspace class files? Moving to PDE/Build. The ant task expects to be able to find .class files. It works fine when simply exporting the bundle. It fails only when exporting and installing into host the bundle and using existing class files. Looking at the build script, I don't understand why the api description file generator is getting an empty container only in the second case. Created attachment 171762 [details]
patch
currently testing this
btw, Darin, I like the "Support software installation in the launched application" for selfhosting, I didn't know that was there.
patch released to 3.7 HEAD |