Community
Participate
Working Groups
Creating a Java project is loading org.eclipse.jpt.core.JptCorePlugin unnecessarily. Our contentType extensions are causing this. We need to go ahead and associate our contentTypes with the xml file extension even though we extend the org.eclipse.core.runtime.xml contentType which sets the file extension as xml. It sort of looks like a bug in the ContentType functionality, but also appears they did this on purpose. Every example I see on the web of defining an xml content type extends the org.eclipse.core.runtime.xml ContentType and redefines the file extension.
we should look at bug 285370 for another way to handle this. Otherwise we are just delaying our bundle activation until there is a .xml file in the project. This happens when a project is changed to a faceted project. Our org.eclipse.jpt.core.internal.resource.IndeterminateContentDescriber is what is being loaded.
Created attachment 172164 [details] proposed patch against head this patch just moves the IndeterminateContentDescriber to a new package org.eclipse.jpt.core.internal.resource.contenttypes and excludes that package from bundle activation
Neil, I assume this type of change is fine to make in maintenance, but wanted to run it by you. Patch is attached
resolved in HEAD for 2.3.1 maintenance
verified fixed in build wtp-sdk-M-3.2.1-20100716070539