Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » how to change or newly set web root's source folder
icon5.gif  how to change or newly set web root's source folder [message #669912] Thu, 12 May 2011 04:01 Go to next message
jared  is currently offline jared Friend
Messages: 2
Registered: May 2011
Junior Member

just in the following config file
\.settings\org.eclipse.wst.common.component

<wb-resource deploy-path="/" source-path="/WebContent"/>

i want to change /WebContent to /myweb;

who can tell me how to do this changing in GUI? Sad
Re: how to change or newly set web root's source folder [message #670020 is a reply to message #669912] Thu, 12 May 2011 12:35 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3268
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.05.11 22:01, jared wrote:
>
> just in the following config file
> \.settings\org.eclipse.wst.common.component
>
> <wb-resource deploy-path="/" source-path="/WebContent"/>
>
> i want to change /WebContent to /myweb;
>
> who can tell me how to do this changing in GUI? :(

It's easier to do when creating the project. At that time, you're given
the option to leave WebContent or change it. After creation, I don't
personally know the problems involved.
Re: how to change or newly set web root's source folder [message #670032 is a reply to message #669912] Thu, 12 May 2011 13:06 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
On 5/12/2011 12:01 AM, jared wrote:
>
> just in the following config file
> \.settings\org.eclipse.wst.common.component
>
> <wb-resource deploy-path="/" source-path="/WebContent"/>
>
> i want to change /WebContent to /myweb;
>
> who can tell me how to do this changing in GUI? :(

You should be able to Rename the folder and that change would be picked
up in the "org.eclipse.wst.common.component" file. You can check by
opening the project's Properties dialog and going to the Deployment
Assembly page. This page would be where you would add, change, and
remove folders if you wanted only to make changes to
"org.eclipse.wst.common.component".

Cheers,
Larry
Previous Topic:Syntax error on token "get", : expected after this token (JSDT with object getter setter)
Next Topic:Is it possible to manually specify "no namespace" schema to use for XML for wst xml editor
Goto Forum:
  


Current Time: Tue Dec 23 02:59:01 GMT 2014

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

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