Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » runtimePath variable in Component Core
runtimePath variable in Component Core [message #231901] Thu, 28 May 2009 00:45
Eclipse UserFriend
Originally posted by: rstryker.redhat.com

Howdy =]

In IVirtualComponent, and IVirtualReference, I'm noticing some behavior
inconsistancies while I trace through, primarily in JEE Tools, so I
thought I'd post this question just to verify.

In all of the following methods, should the result be a path to a folder
or a path to a file (assuming the resource in question is a file)?

IVirtualReference.getRuntimePath()
VirtualArchiveComponent.getRuntimePath()
IVirtualResource.getRuntimePath()

After some tracing, my understanding is that IVirtualResource should
contain a full runtime path (/path/to/file.war), whereas
IVirtualReference should only be listing the folder (/path/to) and
similar behavior with VirtualArchiveComponent.

However since the javadoc on these classes is a bit vague, I also assume
it means its up to the extender (in this case JEE Tools) to be
consistant in their own way?

Problem being, some of these references (specifically binary ones) are
not using their runtimePath() variable at all, and my efforts to force
them to are causing, naturally, more divergence in behaviour between
export and publish ;) (yeah yeah same story different day... it's all I
talk about anymore huh ;))

Anyway, was just looking for clarification. Since my goal is to expose
these IVirtualReference runtimePaths in a UI, and let users change them,
it'd be pretty handy if this was actually specified and consistant =]

- Rob Stryker
Previous Topic:Creating solo tags (i.e. <tag .../>) with WST XML api
Next Topic:Serializing namespaces on the xsd schema level
Goto Forum:
  


Current Time: Fri Apr 19 05:52:30 GMT 2024

Powered by FUDForum. Page generated in 0.01944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top