Adding server to existing project? [message #79554] |
Wed, 02 March 2005 18:10  |
Eclipse User |
|
|
|
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 #79854 is a reply to message #79762] |
Thu, 03 March 2005 10:45  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.06466 seconds