[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [wtp-dev] API question for webtools projects
|
Rob,
The api you are looking for is in
org.eclipse.wst.common.modulecore plugin. You want to do roughly the
following...
IVirtualComponent comp = ComponentCore.createComponent(
<IProject> );
comp.addReferences( ... );
Hope this helps.
- Konstantin
Hi All...
Can anyone tell me the API / model to update files
in the .settings folder of an EAR project? Specifically the
.settings/org.eclipse.wst.common.component file? I've spent quite a while
looking for it.
Also, if anyone is intimately familiar and knows where
this is off hand, where I can some example code of a project type adding itself
or removing itself from there as a dependent module.
Basically, I want
to know how to add and remove the following lines via API:
<dependent-module deploy-path="/"
handle="module:/resource/TestLonelyWeb/TestLonelyWeb">
<dependent-object>WebModule_1166745362046</dependent-object>
<dependency-type>uses</dependency-type>
Thanks for any help, all.
- Rob Stryker
_______________________________________________________________________
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.