|runtimePath variable in Component Core [message #231901]
||Thu, 28 May 2009 00:45
Originally posted by: rstryker.redhat.com|
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)?
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
Powered by FUDForum
. Page generated in 0.02303 seconds