What i meant is making a dynamic web project in Eclipse in which i can work with Wicket, without using maven.But now i am looking also looking at m2e-wtp.
Martin Grigorov <[email protected]> , 20-11-2013 12:13: On Wed, Nov 20, 2013 at 12:57 PM, Gerrit Wassink <[email protected] > wrote: > Hello Martin, > Thanks a lot for your quick response! > Is there also a way to build a dynamic web project with Wicket > structure.This must be possible?I did many research on the web but not very > succesful.I have to build What do you mean exactly ? Wicket is all about dynamic web applications. > a java webapplication with Wicket and Hibernate.The nice book "Wicket in > Action" give me a lot of inspiration but how to get to work with it. > Gerrit > > Martin Grigorov <[email protected]> , 20-11-2013 11:41: > Hi, > > I am user of Intellij IDEA now but before when I was an Eclipse user I have > used embedded Jetty. See Start.java in Wicket quickstart application. > If you want to use Tomcat as you described I think you need > http://www.eclipse.org/m2e-wtp/. This project integrates Eclipse's Web > Tools with Maven based web projects. > > Give a try to embedded Jetty. Is is much faster to develop with it and I > didn't have any major problems using Jetty for development and Tomcat for > production. > > > On Wed, Nov 20, 2013 at 12:28 PM, Gerrit Wassink < > [email protected] > > wrote: > > > Hello members, > > My name is Gerrit Wassink and i am junior java developer.I am trying to > > setup a development environment in Eclipse Juno and want to use Wicket in > > it.Until now i did not succeed in getting a working structure which can > > work with Tomcat.I want to run and debug in Eclipse with the embedded > > Tomcat server.What is the best approach to have a working environment. > > I did some (re)search before in this mailinglist and found similar > > problem(s), but the right solution is not clear to me. > > I hope you can give me a workaround and thank you in advance. > > below you find exact the things i also tried > > ====================================== > > Get started with Wicket (again) and banging my head on Eclipse and > > Tomcat. What is a typical way to setup a project (in Eclipse) so that it > is > > easy totest and develop (locally) in Tomcat? > > Here is what I've been trying. Install Eclipse with Tomcat > > integration. Works fine. I can build an Eclipse Dynamic Web App. Can > > write servletsand JSPs, and debugging and developing is easy via > Eclipse's > > Run As Servercommand. > > Ideally, I'd like to manually setup an Eclipse project to work with > > Wicket. But, I don't know how to get the project structure right and have > > the classand HTML files copied into the resultant WAR. So, I use Maven > to > > create anew web app: > > mvn archetype:create -DgroupId=com.mycompany.app > > -DartifactId=my-webapp-DarchetypeArtifactId=maven-archetype-webapp > > and then generate Eclipse project files > > mvn eclipse:eclipse > > Then I import the project into Eclipse. Problem is that the > > projectappears to be a Java project and not a webapp. There is no Run As > > Servercommand. > > ====================================================== > > Greetings Gerrit >
