Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How do I change "WebContent" folder in web project?
How do I change "WebContent" folder in web project? [message #217914] Tue, 22 July 2008 01:45 Go to next message
Eclipse UserFriend
Originally posted by: ben.playscapegames.com

How do I change "WebContent" folder to another value in a Dynamic Web
Project in Web Tools 3.0?

I am using Maven which wants to put web content in a subfolder. But I
couldnt find the setting to customize the web content path.

Thank you
Ben
Re: How do I change "WebContent" folder in web project? [message #217933 is a reply to message #217914] Tue, 22 July 2008 08:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mauro.molinari.cardinis.com

Ben Hutchison ha scritto:
> How do I change "WebContent" folder to another value in a Dynamic Web
> Project in Web Tools 3.0?
>
> I am using Maven which wants to put web content in a subfolder. But I
> couldnt find the setting to customize the web content path.
>
> Thank you
> Ben

AFAIK you have manually edit the file called
org.eclipse.wst.common.component in .settings of your project.
Use CTRL+SHIFT+R to open it.
Replace WebContent with the folder you need.

There's an enhancement request open to provide a UI way of editing that
file:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=133359
Please comment and/or vote on it if you are interested.

Mauro.
Re: How do I change "WebContent" folder in web project? [message #217997 is a reply to message #217914] Tue, 22 July 2008 16:07 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
You can specify an alternate web content directory during project
creation. If you already have a project created, you can invoke the
refactor action on WebContent and specify the new location. I believe that
will update the component metadata.
Re: How do I change "WebContent" folder in web project? [message #220139 is a reply to message #217933] Thu, 04 September 2008 03:15 Go to previous message
Eclipse UserFriend
Originally posted by: e.komissarov.dartit.ru

Why I can't set root folder as "WebContent" in new Dynamic Web Project
Wizard?
Only manually edit the file org.eclipse.wst.common.component.

Mauro Molinari пишет:
> Ben Hutchison ha scritto:
>> How do I change "WebContent" folder to another value in a Dynamic Web
>> Project in Web Tools 3.0?
>>
>> I am using Maven which wants to put web content in a subfolder. But I
>> couldnt find the setting to customize the web content path.
>>
>> Thank you
>> Ben
>
> AFAIK you have manually edit the file called
> org.eclipse.wst.common.component in .settings of your project.
> Use CTRL+SHIFT+R to open it.
> Replace WebContent with the folder you need.
>
> There's an enhancement request open to provide a UI way of editing that
> file:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=133359
> Please comment and/or vote on it if you are interested.
>
> Mauro.
Previous Topic:Tomcat 6 web app is not started because of "java.io.IOException: invalid header"
Next Topic:Array cannot be resolved error
Goto Forum:
  


Current Time: Sat Apr 20 09:05:29 GMT 2024

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

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

Back to the top