Thanks, David. Hey, does it matter if I create the project as a Java or Simple project?
-----Original Message----- From: David Graham [mailto:dgraham1980@;hotmail.com] Sent: Thursday, October 31, 2002 11:53 AM To: [EMAIL PROTECTED] Subject: Re: [OT] Eclipse and webapp organization There are lots of ways to do it. Eclipse projects live in $ECLIPSE_HOME/workspace by default but you can point eclipse to an outside project folder. I have one java project for each web-app. It contains my java source under /WEB-INF/src and builds into /WEB-INF/classes. My jsps just live in directories under the project root. The tomcat plugin is helpful for web development: http://www.sysdeo.com/eclipse/tomcatPlugin.html David >From: "Dan Payne" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: [OT] Eclipse and webapp organization >Date: Thu, 31 Oct 2002 11:42:54 -0600 > >I've started looking at Eclipse (thanks to the suggestions of many on this >list) and was curious how other Struts developers organized their webapps >w/in Eclipse. I currently develop each webapp at > >C:\webapps\<app-name>\bin >C:\webapps\<app-name>\build >C:\webapps\<app-name>\dist >C:\webapps\<app-name>\docs >C:\webapps\<app-name>\pre (preproduction: contains image templates, stock >logos, etc) >C:\webapps\<app-name>\src >C:\webapps\<app-name>\unused >C:\webapps\<app-name>\web >C:\webapps\<app-name>\build.xml (for use with ant) >C:\webapps\<app-name>\startup.bat (to startup tomcat instance) >C:\webapps\<app-name>\shutdown.bat (to shutdown tomcat instance) > >Ant deploys to the relative context at > >C:\contexts\<app-name>\webapps\ROOT\ > >Each context has its own tomcat instance. > >Anyways, I've been doing it this way for quite some time now and am >consequently suffering tunnel vision. How can I smoothly import my existing >apps (these contain many, many JSPs and lots of java packages) into >Eclipse? >I tried creating a new project with the base set at c:\webapps\<app-name> >but that threw thousands of errors with my classes, mostly "The import ><package-name> cannot be resolved." Do I need to set up separate projects, >one for my java classes and the other for my JSPs, or do I need a >reshuffling of my folders/files? Any help would be appreciated. I checked >the documentation but didn't see any examples on how to integrate both, >what >seems to me to be, a simple project and a java project. I really like what >I >see with eclipse and would like to get started with it. > >Thanks again, all. > >-Dan > > >-- >To unsubscribe, e-mail: ><mailto:struts-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: ><mailto:struts-user-help@;jakarta.apache.org> _________________________________________________________________ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>