On Sun, 2006-10-01 at 13:41 -0600, Guy Davis wrote: > Hi all, > > Sorry if this list isn't the right place for a question about the > Eclipse-plugin called Wicket Bench, but the site didn't have any > mailing lists, forums or even a FAQ. I'm trying to use wicket-bench on > an existing project I have. We have embedded Tomcat as part of our > server application. Our project SVN directory looks like so: > > src/java/ > - holds our application code (in packages) > src/web/ > - holds the Wicket .java and .html files (in packages) > tomcat/webapps/ROOT/ > - holds stylesheets, images, and WEB-INF including web.xml > > In Eclipse, both the src directories above are in the Java Build Path as > source folders. The tomcat directory is not on the classpath at all, > but is used as the Tomcat root when we start it in embedded mode. > > I tried to configure the Wicket-Bench properties: > - Mark as Wicket project (checked) > - Conext root: tomcat/webapps/ROOT/ > - Style sheets: images/style.css (this path is relative to context root) > When I open a Wicket webpage Java file, I get the following error: > Can't preview file. Check your wicket:preview paths. Reason: > org.eclipse.internal.resources.Folder > > Any ideas? What is the expected directory layout? Wicket-bench looks > neat so I'd like to get it working for my project.
Hi Guy, Your directory layout looks fine to me. Try to change style sheets to /images/style.css and please let me know if it helps. Joni ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
