Asdfasf

Showing posts with label webapp. Show all posts
Showing posts with label webapp. Show all posts

Saturday, August 11, 2012

Eclipse'de Mavenized Web Projesi Olusturmak

Asagidaki adimlar izlenir
1.) Eclipse'de New Maven Project with archtpe maven-archetype-webapp
2.) Dependency'ler pom.xml'e girilir.
3.) Maven dependency'lerinin eclipse classpath'ine eklenmesi icin mvn eclipse:eclipse calistirilir.
4.) Eclipse projesi refresh edilir.
5.) WTP (Web Tools Platform) yuklu oldugundan emin olun
Help ->Install menusunden http://download.eclipse.org/webtools/repository/helios repository'sinden yuklenebilir.
6.) Bu projeyi dynamic web project haline ceviren sihirli komut: mvn eclipse:eclipse -Dwtpversion=2.0
7.) Bu asamada proje Eclipse embedded Tomcat ustunde calisir hale gelmistir. Tomcat, projeyi yuklerken maven dependency'lerini goremiyor ise son care olarak:
8.) Proje uzerinden Properties -> Deployment Assembly -> Add -> Java Build Path Entries -> burdaki listeden maven dependency'leri secilerek Tomcat classpath'ine eklenmesi saglanir.