Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Other location for WebContent
Other location for WebContent [message #194942] Mon, 19 February 2007 09:30 Go to next message
Eclipse UserFriend
Originally posted by: robert.objective.se

Hi!

I was wondering whether, for dynamic web projects, there is a way to
specify a specific subfolder in the project tree for the WEB-INF and
META-INF folders. I have an existing web.xml that I would like to use.

If during the project creation wizard I specify another path for
WebContent, it seems like it will just create an additional subfolder and
recreate these files. I haven't quite gotten it to handle this the way I
want to.

Any advice appreciated.

Regards,
Robert
Re: Other location for WebContent [message #195033 is a reply to message #194942] Mon, 19 February 2007 16:54 Go to previous message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Hi Robert. Are you importing the project from the file system or from
CVS/Subversion?

To import from the file system, just create a new project and set the
project location to the directory containing your existing code. When
you get to the wizard page that asks for the "Content Directory" specify
the relative location of the directory containing WEB-INF and META-INF.

You may have to fix the source directories for your Java code as well.

If you're importing from CVS, select the option to use the New Project
Wizard as part of the checkout and specify similar options.

There's a hidden file that holds this information as well
(.settings/org.eclipse.wst.common.component). I'm not sure what the
implications of changing his file are.

HTH,

Wayne

Robert Björn wrote:
> Hi!
>
> I was wondering whether, for dynamic web projects, there is a way to
> specify a specific subfolder in the project tree for the WEB-INF and
> META-INF folders. I have an existing web.xml that I would like to use.
>
> If during the project creation wizard I specify another path for
> WebContent, it seems like it will just create an additional subfolder
> and recreate these files. I haven't quite gotten it to handle this the
> way I want to.
>
> Any advice appreciated.
>
> Regards,
> Robert
>
>
Previous Topic:Eclipse instalation
Next Topic:Setting config info for a help plug-in
Goto Forum:
  


Current Time: Fri Apr 19 06:13:02 GMT 2024

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

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

Back to the top