Community
Participate
Working Groups
When I "load map released map projects" in to a dev. environment, the subject project shows a compile problem as listed below. It appears to me this is because the project prereqs org.eclipse.debug.ui but does not prereq org.eclipse.debug.core Should it pre-req it (I think so) or shouod org.eclipse.debug.ui re-export org.eclipse.debug.core? (probably not worth the bugzilla, even if it should :) Adding org.eclipse.debug.core, to plugin manifest.mf fixes the problem. This might be a problem at runtime given just the right sequence of loading classes, etc. Severity Description Resource In Folder Location Creation Time 2 The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.debug.core.ILaunch. Fix the build path then try building this project org.eclipse.jst.server.tomcat.ui April 20, 2005 1:05:08 PM 2 The type org.eclipse.debug.core.ILaunch cannot be resolved. It is indirectly referenced from required .class files TomcatLaunchConfigurationTabGroup.java org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal line 0 April 20, 2005 1:05:08 PM
Similar problem with org.eclipse.jst.server.generic.ui
Hi, This is on 3.1M6. I'm passing this defect on to the PDE team for the following reasons: * The org.eclipse.jst.server.tomcat.ui plugin has no direct dependance on debug.core. It extends one class from debug.ui that contains references to debug.core, but it does not extend or use any of these methods. * If I do a straight extract from CVS instead of "load map released projects", there are no errors. * If you add debug.core to the manifest, the "Find unused dependancies" action will report it as unused. This could also be a problem with the "load map..." action or a JDT bug, but this does not appear to be a problem in this plugin. FWIW, I have seen a similar problem on 3.0 where we had to import a plugin at development time to compile, even though there was no direct dependance and both build and runtime were ok without the other plugin.
*** This bug has been marked as a duplicate of 73957 ***
Mind if I re-open this for clarification. Following the many ins and outs of the 'dups' and related bugs they seem only tangentially related. Especially, because we see this difference in when we "load from map files" (a specific version) and from when we load directly from HEAD. Only the former case shows the error, not the latter. I did verify this still occus with 3.1 final version (with 3.1 as the "target"). I'm hoping sense it occurs in one case but not the other, perhaps there's a recommended work around? I frequetnly "load released map projects" to sanity check that out WTP I-build will go well ... and its quite a pain to go in and have hand edit the manifest.mf files just to get this erroneous error to go away. thanks for any advice.
Adding debug.core to the dependency list of your plugin, albeit redundant, is the only workaround. We plan to find a solution for this problem that will keep the compiler happy and not have you put extra dependencies on your classpath in 3.2 as part of bug 73957. *** This bug has been marked as a duplicate of 73957 ***