Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Recommended approach for getting IPath for "WebContent" folder?

Hi,
 
For the JSF Tools Project, we have situations where we need to obtain an IPath for the "WebContent" (regardless of actual name that user specifies) folder. We have discovered at least one approach (get WebArtifactEdit, get its deployment descriptor path, strip a couple of segments from it), but now I am wondering if there is an approach that feels like less of a hack.
 
Is there a recommended (and robust, of course) approach that anyone is willing to recommend (taking into consideration the fact that we cannot assume a constant name of "WebContent", since the user can change this)?
 
Thanks in advance,
 - Ian
 
------------------------------------------------------------
Ian Trimble
JDeveloper Group
Oracle Corporation Canada Inc.
Office: (250) 954-0837
------------------------------------------------------------
This email may contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies.
 

Back to the top