Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Adding server to existing project?
Adding server to existing project? [message #79554] Wed, 02 March 2005 18:10 Go to next message
Eclipse UserFriend
Hello,
Is it possible to configure an existing project to use the Web Tools,
specifically to deploy to a Tomcat server? Currently when I go to the
project's Server properties, it says "This project cannot be deployed to a
server." If I just add the Tomcat libraries to the classpath, would that
work? (And how do I add those libraries?)

Thanks. The Web Tools project looks great so far.
Jacob
Re: Adding server to existing project? [message #79762 is a reply to message #79554] Thu, 03 March 2005 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Jacob Weber wrote:
> Hello,
> Is it possible to configure an existing project to use the Web Tools,
> specifically to deploy to a Tomcat server? Currently when I go to the
> project's Server properties, it says "This project cannot be deployed to a
> server." If I just add the Tomcat libraries to the classpath, would that
> work? (And how do I add those libraries?)
>
> Thanks. The Web Tools project looks great so far.
> Jacob
>
>

Jacob,

You need to set a tomcat server runtime on the project to get the
project compile against tomcat. To set a server runtime you need to
create one using Windows -> Preferences -> Server -> Installed Runtimes
and click Add to setup the Apache tomcat server version you are
interested in. Once this is setup, when you bring up the Project ->
Properties -> Server you will have the tomcat server available in the
drop down list to set it on the project.

- Vijay
Re: Adding server to existing project? [message #79854 is a reply to message #79762] Thu, 03 March 2005 10:45 Go to previous message
Eclipse UserFriend
Vijay,

Actually, I did that...I have a Tomcat 5.0 server set up in Preferences. But
it won't give me any choices in the Server properties for an existing
project. I can set up a new J2EE project from scratch, and it will give me
the option of using Tomcat with it. But my existing projects just say "This
project cannot be deployed to a server."

Thanks,
Jacob



"Vijay Bhadriraju" <vbhadrir@us.ibm.com> wrote in message
news:d07710$379$1@www.eclipse.org...
> Jacob Weber wrote:
>> Is it possible to configure an existing project to use the Web Tools,
>> specifically to deploy to a Tomcat server?
>
> You need to set a tomcat server runtime on the project to get the project
> compile against tomcat. To set a server runtime you need to create one
> using Windows -> Preferences -> Server -> Installed Runtimes and click Add
> to setup the Apache tomcat server version you are interested in. Once this
> is setup, when you bring up the Project -> Properties -> Server you will
> have the tomcat server available in the drop down list to set it on the
> project.
Previous Topic:Context menu for default JSP editor
Next Topic:WTP M3: Error opening xml document with XML Editor
Goto Forum:
  


Current Time: Mon May 05 02:05:04 EDT 2025

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

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

Back to the top