Hi,
These are references to the module fragments in the application.xml file. Without this link, there is no way to tell (other than uri name lookup) what component reference this is linked to....
Please send me a direct email if you have further questions...
- Chuck
Rational J2EE Tooling Team Lead
IBM Software Lab - Research Triangle Park, NC
Email: [EMAIL PROTECTED]
Phone: 919-254-1848 (T/L: 444)
| "Konstantin Komissarchik"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 10/26/2006 11:42 AM
|
|
I recently started noticing these dependent-object tags showing up in the component files. The last time I remember seeing these tags is back in wtp 0.7 days. Then they seemed to have disappeared until recently. Has something changed to re-introduce this behavior? What purpose do they serve?
- Konstantin
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Stryker
Sent: Wednesday, October 25, 2006 11:58 AM
To: [email protected]
Subject: [wtp-dev] dependency-object in ear project .setting fileundocumented
I've been attempting to create a webtools-style faceted project that will mimic an EJB or Web project in ui and functionality to discover all that is involved in the process and, once successful, potentially use this infrastructure to create further project types.
To compare, I created an EJB project with an associated EAR, and compared it with my project type (an EJB 3.0 implementation) and an EAR for that as well. The EJB projects themselves and their .settings/* files matched almost identically, as was expected.
The ear projects and their settings almost matched identically except for the addition of a dependency-object tag in the .settings/org.eclipse.wst.common.component file. After browsing http://www.eclipse.org/webtools/wst/api/overview/componentCore.xsd, the dependency-object tag is not present in the schema.
I'm fairly unfamiliar with the component core APIs so this is new ground for me. I'm curious if anyone knows where the webtools ear got that line, while mine did not. It's possible I missed some line when copying webtools code, but I'm unsure of even the API to modify this file so I'm not sure what to look for.
Thanks for your time, everyone.
Excerpts from the two ear projects follow.
- Rob Stryker
Official EJB project via webtools:
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="Official30Ear">
<wb-resource deploy-path="/" source-path="/EarContent"/>
<dependent-module deploy-path="/" handle="module:/resource/OfficialEjb/OfficialEjb">
<dependent-object>EjbModule_1161800979593</dependent-object>
<dependency-type>uses</dependency-type>
</dependent-module>
</wb-module>
</project-modules>
My implementation:
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="Test30EAR">
<wb-resource deploy-path="/" source-path="/EarContent"/>
<dependent-module deploy-path="/" handle="module:/resource/Test30/Test30">
<dependency-type>uses</dependency-type>
</dependent-module>
</wb-module>
</project-modules>
_______________________________________________________________________
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
_______________________________________________ wtp-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/wtp-dev
