How do I create a new eclipse project for jetty from a tomcat based project and versioned with svnsubclipse

De openkb
Aller à : Navigation, rechercher

Sommaire

Questions

Is there a simple way to solve the following problem? I have an eclipse workspace with a dynamic web project shared in svn using subclipse plug-in. The project is based on tomcat7. Now I would like to move the project to jetty8, leaving the source files in the same svn repository. Is that possible? I don t want to kill the previous project on tomcat but I would like to mantain both projects.

I tryed importing the tomcat project into a new workspace as is but it s doesn t work. Which steps should I do if there is a smothless procedure?

Answers

I solved in this way:

    • create a branch of the tomcat project in the repository
    • import the tomcat project into a new workspace
    • switch the project to the previously created branch
    • as the project cannot run on jetty as is, change the targeted runtimes property to jetty
    • as eclipse does not include all the jetty jars in the classpath, add the missing ones from the jetty lib directory
    http://stackoverflow.com/questions/7715985/ http://stackoverflow.com/questions/7715985/

and now it works perfectly! Hope this could help someone else.

Source

License : cc by-sa 3.0

http://stackoverflow.com/questions/8916606/how-do-i-create-a-new-eclipse-project-for-jetty-from-a-tomcat-based-project-and

Related

Outils personnels
Espaces de noms

Variantes
Actions
Navigation
Outils