Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Creating a web project around an existing file structure?
Creating a web project around an existing file structure? [message #226823] Fri, 16 January 2009 17:04 Go to next message
Michael Sullivan is currently offline Michael Sullivan
Messages: 37
Registered: July 2009
Member
I've spent a day and a half researching this and I'm stumped - I found
lots of discussion about it from 3-4 years ago, but nothing recent.

I have an existing project with a source directory and a jsp directory. I
want to create an Eclipse project to work on the code.

If I just create a web project at the shared root of the two directories,
it creates a project with all of those files but it doesn't parse the java
files into packages and it doesn't seem to treat the jsp files as anything
special.

I found old topics talking about editing the .wtproperties files but even
when I create a new Web project that file never seems to be created.

Has this problem been solved or does WTP require mimicking its desired
directory structure?

Thanks,
Mike
Re: Creating a web project around an existing file structure? [message #226830 is a reply to message #226823] Fri, 16 January 2009 17:27 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3131
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

Michael Sullivan wrote:
> I've spent a day and a half researching this and I'm stumped - I found
> lots of discussion about it from 3-4 years ago, but nothing recent.
>
> I have an existing project with a source directory and a jsp directory.
> I want to create an Eclipse project to work on the code.
>
> If I just create a web project at the shared root of the two
> directories, it creates a project with all of those files but it doesn't
> parse the java files into packages and it doesn't seem to treat the jsp
> files as anything special.
>
> I found old topics talking about editing the .wtproperties files but
> even when I create a new Web project that file never seems to be created.
>
> Has this problem been solved or does WTP require mimicking its desired
> directory structure?
>
> Thanks,
> Mike
>

Plain old Java projects are pretty flexible this way, but you are
probably right about Dynamic Web Projects not being so flexible. There
is some latitude on naming and structure, but I always follow what the
current version of Eclipse WTP I'm using wants to use.

Sorry for this non-answer.

Russ Bateman
Previous Topic:Re: Setting up a new dynamic web project
Next Topic:Why can not tomcat be started from within eclipse ?
Goto Forum:
  


Current Time: Mon Jul 28 06:26:46 EDT 2014

Powered by FUDForum. Page generated in 0.02391 seconds