Just keep in mind there may be more than one physical content root for a web project.  You can find the virtual folder using VirtualComponent.getRootFolder().

Hope that helps,

John Lanuti
Software Engineer, IBM Rational
IBM Software Lab - Research Triangle Park, NC
[EMAIL PROTECTED]
t/l 441-7861



"Raev, Kaloyan" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

07/26/2006 06:42 AM

Please respond to
"General discussion of project-wide or architectural issues." <[email protected]>

To
"General discussion of project-wide or architectural issues." <[email protected]>
cc
Subject
RE: [wtp-dev] api for getting the WebContent folder name





Hi,

Take a look at the NewJSPFileWizardPage.getWebContentPath() method. This
is in plugin org.eclipse.jst.jsp.ui, package
org.eclipse.jst.jsp.ui.internal.wizard.
You should not use this method directly (if possible at all), but just
get the idea how the webContent folder is retrieved.

Greetings
Kaloyan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of TG.
Sent: Wednesday, July 26, 2006 12:55 PM
To: [email protected]
Subject: [wtp-dev] api for getting the WebContent folder name

Hi,

     What is the standard way to get the name of Content Directory
(the WebContent folder) of a Dynamic Web Project ?

- TG.

--
www.googlipse.com
An Eclipse plugin for Google Web Toolkit (GWT)
_______________________________________________
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

_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to