Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] api for getting the WebContent folder name

Kaloyan & John.

Thanks a lot. It works :-)

I was little confused after looking at this api:

WebPropertiesUtil.getModuleServerRoot() in
org.eclipse.jst.j2ee.internal.web.operations. May be I should raise a
bug for this?


- TG.

--
www.googlipse.com
An Eclipse plugin for Google Web Toolkit (GWT)

On 7/26/06, John Lanuti <jlanuti@xxxxxxxxxx> wrote:


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
jlanuti@xxxxxxxxxx
t/l 441-7861




"Raev, Kaloyan" <kaloyan.raev@xxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

07/26/2006 06:42 AM

Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>


To"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>

cc

SubjectRE: [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: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx]
On Behalf Of TG.
Sent: Wednesday, July 26, 2006 12:55 PM
To: wtp-dev@xxxxxxxxxxx
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
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


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





Back to the top