Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [Wtp-wst-dev] Link between moduleType and actual resource

Let me rephrase the question slightly (and apologies if you answered exactly that question and I am just not getting it).

 

How do we define the link between a moduleType and a particular resource in the workspace? Where in the code does it say: “this file resource/folder/project… is an instance of moduleType x.y”?

 

Do we express this via adapters, is it an argument of some extension point…

 

Again, sorry if I am just being a bit thick here J

 

Cheers,

 

-- Bruno


From: Ted Bashor [mailto:tbashor@xxxxxxx]
Sent: 08 June 2006 18:50
To: B.Wassermann; Web Standard Tools developer discussions.; Philip Dodds
Subject: RE: [Wtp-wst-dev] Link between moduleType and actual resource

 

“module type” is derived from the WTP j2ee facets set on the project:  jst.web, jst.ejb, jst.ear, jst.utility.

 

I don’t believe there’s a general wtp extension point for saying “file with extension .xyz should only be allowed in project with facet X”.  That checking/handling would have to be handled by some extension, and would probably be associated with some facet (e.g. xxx.bpel) that might be implemented to have a dependency on one of the wtp j2ee module facets.

 

Cheers, Ted

 


From: wtp-wst-dev-bounces@xxxxxxxxxxx [mailto:wtp-wst-dev-bounces@xxxxxxxxxxx] On Behalf Of Bruno Wassermann
Sent: Wednesday, June 07, 2006 3:12 PM
To: 'Philip Dodds'; 'Web Standard Tools developer discussions.'
Subject: RE: [Wtp-wst-dev] Link between moduleType and actual resource

 

Hi Phil,

 

If I understand correctly, this means that a moduleType is always a project and not an individual file. Is that correct?

 

-- Bruno


From: Philip Dodds [mailto:philip.dodds@xxxxxxxxx]
Sent: 07 June 2006 17:23
To: B.Wassermann; Web Standard Tools developer discussions.
Subject: Re: [Wtp-wst-dev] Link between moduleType and actual resource

 

I believe that a ModuleType is more usually assocated with a facet (which would exist on a project).

Therefore a project would need to have a facet (ie. bpel) then that would be associated to a module type,  there might be other ways but this is how I've seen it used

Cheers

P

On 6/7/06, Bruno Wassermann <B.Wassermann@xxxxxxxxxxxx> wrote:

Hi,

This might be an obvious one, but nevertheless...

How is the link between a moduleType and an actual resource defined, if that
resource is just a file with a certain extension? Where in the code does it
say: "This resource with file extension .xyz is of moduleType A and hence
supported by runtimes S and T"?

Please enlighten me in case I am missing something here...

Many thanks,

-- Bruno

______________________________________________
Bruno Wassermann

Research Fellow

University College London      Tel: +44 (0)20 7679 0369 (Direct Dial)
Dept. of Computer Science      Fax: +44 (0)20 7387 1397
Gower Street
London WC1E 6BT                http://www.cs.ucl.ac.uk/staff/B.Wassermann
United Kingdom
______________________________________________



_______________________________________________
wtp-wst-dev mailing list
wtp-wst-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-wst-dev

 

_______________________________________________________________________
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.

Back to the top