[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Wtp-wst-dev] about IRuntimeTargetHandlerDelegate.setRuntimeTarget
|
Hi Amy,
These methods were deprecated before
WTP 1.0 when they were replaced by facets. The runtime for a project is
now set using methods like:
org.eclipse.wst.common.project.facet.core.IFacetedProject.setPrimaryRuntime(IRuntime,
IProgressMonitor)
If you specifically want to set the
classpath for your server when the facet runtime is set, then yes, you
do want the
org.eclipse.jst.server.core.runtimeClasspathProviders
extension point and an
org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate
implementation. You can find an example
of these in the org.eclipse.jst.server.tomcat.core plugin.
Thanks,
Tim deBoer
WebSphere Tools - IBM Canada Ltd.
deboer@xxxxxxxxxx
Amy Wong <Amy.w@xxxxxxxxxxxx>
Sent by: wtp-wst-dev-bounces@xxxxxxxxxxx
10/01/2007 06:56 PM
Please respond to
"Web Standard Tools developer discussions." <wtp-wst-dev@xxxxxxxxxxx> |
|
To
| wtp-wst-dev@xxxxxxxxxxx
|
cc
|
|
Subject
| [Wtp-wst-dev] about IRuntimeTargetHandlerDelegate.setRuntimeTarget |
|
Hi,
I have noticed that these methods
org.eclipse.wst.server.core.model.RuntimeTargetHandlerDelegate.setRuntimeTarget(IProject
project, IRuntime runtime, IProgressMonitor monitor) throws CoreException
and
org.eclipse.wst.server.core.model.RuntimeTargetHandlerDelegate.removeRuntimeTarget(IProject
project, IRuntime runtime, IProgressMonitor monitor) throws CoreException;
are deprecated in RSA v7.0.
Is org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate
replaced org.eclipse.wst.server.core.model.RuntimeTargetHandlerDelegate?
Also, what are the replacement for those method?
Thanks.
Cheers,
Amy
_______________________________________________
wtp-wst-dev mailing list
wtp-wst-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-wst-dev