|
Philip, Sorry for the delayed response. Don’t
know if you figured out the problem or not, but here are the details in case
you are still struggling with this... When you defined your JBI runtime, you
probably copied something like this into your plugin.xml file: <extension point="org.eclipse.wst.common.project.facet.core.runtimes"> ... <adapter> <runtime-component id="org.eclipse.jst.server.tomcat"/> <factory class="org.eclipse.jst.server.core.internal.RuntimeClasspathProvider$Factory"/> <type class="org.eclipse.jst.common.project.facet.core.IClasspathProvider"/> </adapter> ... </extension> This sets up the classpath provider
associated with the runtime component type (tomcat in this case). If you look
in the RuntimeClasspathProvider class you will see that it only knows about the
module facets that ship with WTP. You will need to either subclass or replace
the classpath provider for the JBI runtime in order to get
ClasspathHelper.addClasspathEntries setup classpath for the JBI facet. Hope this helps. Let me know if you have
further questions. - Konstantin From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Dodds Hi, _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
_______________________________________________ wtp-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/wtp-dev
