Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » How does one convert an existing Eclipse project to use the WebTools nature?
How does one convert an existing Eclipse project to use the WebTools nature? [message #90529] Wed, 06 April 2005 15:43 Go to next message
Eclipse UserFriend
This was asked back in January; no real/correct answers, though.
I have a simple web app to which I'd like to add WebTools
nature/capabilities. I do not want to have to start from
scratch and create a new Web project and try to import all my
code etc. into it.

What is the migration path for moving to WebTools for existing projects?

Conversely, the ability to back out such changes is useful.

thanks
Re: How does one convert an existing Eclipse project to use the WebTools nature? [message #90624 is a reply to message #90529] Wed, 06 April 2005 22:05 Go to previous messageGo to next message
Eclipse UserFriend
On Wed, 06 Apr 2005 15:43:22 -0400, David Biesack <David.Biesack@sas.com> wrote:

> This was asked back in January; no real/correct answers, though.
> I have a simple web app to which I'd like to add WebTools
> nature/capabilities. I do not want to have to start from
> scratch and create a new Web project and try to import all my
> code etc. into it.
>
> What is the migration path for moving to WebTools for existing projects?
>
> Conversely, the ability to back out such changes is useful.
>
> thanks
>

Currently I don't think there is any reproducible way ... and last time
I had an informal chat with anyone about this there was no easy/obvious way
to do this in an Eclipse Friendly way.

I suggest you open a feature request. The more detail the better, of two kinds.
1. Types of projects and verions of Eclipse (?previous/existing tools, plugins?)
(e.g. I assume 'java' project, but ... I hate to assume too much).

2. Importance ... number of projects, inhibitors for use, etc.

My guess is the best we could do for Release 1 is provide some "hand edit .project file"
way ... but, not knowing more about it myself, I know the way to track it is to
request it :)
Re: How does one convert an existing Eclipse project to use the WebTools nature? [message #90639 is a reply to message #90529] Thu, 07 April 2005 03:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkrukovsky.yahoo.com

David Biesack wrote:
> This was asked back in January; no real/correct answers, though.
> I have a simple web app to which I'd like to add WebTools
> nature/capabilities. I do not want to have to start from
> scratch and create a new Web project and try to import all my
> code etc. into it.
>
> What is the migration path for moving to WebTools for existing projects?
>
> Conversely, the ability to back out such changes is useful.
>
> thanks

You can try the way I did.

1. Create new J2EE web project.
2. Look at all .project, .j2ee etc. files in old project and newly
created one. Add new files to old project which are not there. Add new
entries from new web project.
3. Do a refresh or restart.

Good luck!


--
Denis Krukovsky
http://dotuseful.sourceforge.net/
Re: How does one convert an existing Eclipse project to use the WebTools nature? [message #92003 is a reply to message #90529] Wed, 13 April 2005 18:13 Go to previous message
Eclipse UserFriend
Originally posted by: jeff.duska_removethis.noaa.gov

David Biesack wrote:
> This was asked back in January; no real/correct answers, though.
> I have a simple web app to which I'd like to add WebTools
> nature/capabilities. I do not want to have to start from
> scratch and create a new Web project and try to import all my
> code etc. into it.
>
> What is the migration path for moving to WebTools for existing projects?
>
> Conversely, the ability to back out such changes is useful.
>
> thanks

David:

You'll need to use the flexible project support. IMHO it is not ready
for prime time in M3. One of my problems, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=89136, has been fixed in
the current codebase, so it might work with an I build.

I also found out that not all of the deployment builders support
flexible projects in M3. This was very confusing, because changes to JSP
pages and other files wouldn't be deployed to the context. I thought
there was something wrong with my code. When the problem was the
deployment builder. Not my idea of fun. Too bleeding edge for me. If you
do use it,I suggest that force redeploy to make sure you changes are
updated.

Since M4 is just around the corner, I'd wait.


HTH,

Jeff Duska
Previous Topic:can not see any server runtime
Next Topic:how can I get the api
Goto Forum:
  


Current Time: Thu May 01 13:26:47 EDT 2025

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

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

Back to the top