...
- In Eclipse, go to File -> Import -> Team Project Set.
- Download WebSurveyToolboxTeamProjectSet.psf and import it. This will get you all of the key project files.
- When you've checked out the project, set up the standard code formatting so that you'll use the same code style as the rest of the project members. Go to "Window" -> "Preferences" -> "Java" -> "Code Style".
- From there, go to "Code Formatter" and import the XML settings file in your project to format code, "jspsurveylib/EclipseStandardCodeFormatting.xml".
- From there, go to "Code Templates" and import the XML settings file for new files, etc, in "jspsurveylib/EclispeStandardCodeTemplates.xml". You may want to change a few of the templates so that they have your name as the file creator instead.
Note | ||
---|---|---|
| ||
If you get an error saying "The type javax.faces.context.ExternalContext cannot be resolved", try this:
|
Note | ||
---|---|---|
| ||
You may, when you start up tomcat, see this and some other messages just like it: "SEVERE: Error configuring application listener of class org.eclipse.birt.report.listener.ViewerServletContextListener Sometimes the first time you run Tomcat with the manager, due to a bug in eclipse, the .jar files won't export. You'll get a bunch of class not found errors for BIRT and IceFaces at startup, and the startup will fail. To verify that it's this particular problem, check [Your-Eclipse-Workspace]\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\WST_Manager_Webapp\WEB-INF\lib -- if the lib folder is missing (but it's parent META-INF is there), you know you're hitting this bug. I tried the following and then it worked:
|
Note | ||
---|---|---|
| ||
Follow the same steps to solve as above – close your project, quit eclipse, open your project, clean it, and try again. |
Note | ||
---|---|---|
| ||
If you see this in Tomcat, you should follow these directions . |