From 63e0b9c75de582a2410d75ca1095efbd3a3e6569 Mon Sep 17 00:00:00 2001 From: Erwin Vervaet Date: Tue, 9 Jan 2007 10:22:11 +0000 Subject: [PATCH] Fixed some small typos. --- .../docs/reference/src/practical.xml | 92 +++++++++---------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/spring-webflow/docs/reference/src/practical.xml b/spring-webflow/docs/reference/src/practical.xml index 594a9453..1ccd5eb6 100644 --- a/spring-webflow/docs/reference/src/practical.xml +++ b/spring-webflow/docs/reference/src/practical.xml @@ -58,9 +58,9 @@ Building from the Command Line - Java 1.5 (or greater) and Ant 1.6 (or greater) are prerequisites for building the sample applications. - Ensure those are present in the system path or are passed on the command line. To build Web Flow - samples from the command line, open a prompt, cd to the directory where Spring Web Flow was + Java 1.5 (or greater) and Ant 1.6 (or greater) are prerequisites for building the sample applications. + Ensure those are present in the system path or are passed on the command line. To build Web Flow + samples from the command line, open a prompt, cd to the directory where Spring Web Flow was unzipped and run the following: cd projects/spring-webflow/build-spring-webflow @@ -68,9 +68,9 @@ ant dist This builds all samples preparing "target" areas within each sample project subdirectory containing webapp structures in both exploded and WAR archive forms. The build also provides basic helper targets - for deploying to Tomcat from Ant; however these webapp structures can be copied to any servlet container, - and each project is also a Eclipse Dynamic Web Project (DWP) for easy deployment inside Eclipse - with the Eclipse Webtools project (WTP). + for deploying to Tomcat from Ant; however these webapp structures can be copied to any servlet container, + and each project is also a Eclipse Dynamic Web Project (DWP) for easy deployment inside Eclipse + with the Eclipse Webtools Project (WTP). @@ -78,52 +78,52 @@ ant dist Importing the sample projects into Eclipse is easy. With a new or an existing workspace select: File > Import > Existing Projects into Workspace. In the resulting dialog browse to the project - subdirectory where Spring Web Flow was unzipped and choose it as the root directory to import form. - Select OK. Here Eclipse will list all projects it found including the sample application projects. + subdirectory where Spring Web Flow was unzipped and choose it as the root directory to import from. + Select OK. Here Eclipse will list all projects it found including the sample application projects. Select the projects you're interested in, and select Finish. - If you previously built each project from the command line Eclipse will compile with no errors. - If not you will need to run the Ant build once for these errors to clear - and you can do that within Eclipse. - - - To build all projects inside Eclipse, import and expand the build-spring-webflow project, right-click on - build.xml and select Run As > Ant Build. - Doing this will run the default Ant target and will build all sample projects. - - - To build a single project inside Eclipse, simply select the project, right-click, and - select Run As > Ant Build. You can also use the convenient - shortcut ALT + SHIFT + X (Execute menu), then Q (Run Ant Build). - + If you previously built each project from the command line Eclipse will compile with no errors. + If not you will need to run the Ant build once for these errors to clear + and you can do that within Eclipse. + - After ant runs and the libraries needed to compile each project are downloaded, - all errors in the Eclipse problems view should go away. Try refreshing a project (F5) - if you still have errors. In general, from this point on you no longer need Ant: you - can rely on Eclipse's incremental compile and Eclipse's web tools (WTP) built-in JEE support - for deployment. (Ant is only needed in the system for command-line usage or when the list of + To build all projects inside Eclipse, import and expand the build-spring-webflow project, right-click on + build.xml and select Run As > Ant Build. + Doing this will run the default Ant target and will build all sample projects. + + + To build a single project inside Eclipse, simply select the project, right-click, and + select Run As > Ant Build. You can also use the convenient + shortcut ALT + SHIFT + X (Execute menu), then Q (Run Ant Build). + + + After Ant runs and the libraries needed to compile each project are downloaded, + all errors in the Eclipse problems view should go away. Try refreshing a project (F5) + if you still have errors. In general, from this point on you no longer need Ant: you + can rely on Eclipse's incremental compile and Eclipse's web tools (WTP) built-in JEE support + for deployment. (Ant is only needed in the system for command-line usage or when the list of jar dependencies for a project changes and new jars need to be downloaded). - - - Deploying projects inside Eclipse using Eclipse Web Tools (WTP) - - Each Spring Web Flow sample application project is a Eclipse Dynamic Web Project (DWP), - for easy deployment to a server running inside the Eclipse IDE. To take advantage - of this, you must be running Eclipse 3.2 with Web Tools 1.5. - - - To run a sample application as a webapp inside Eclipse, simply select the project, - right-click, and select Run -> Run On Server. A convenient - shortcut for this action is ALT + SHIFT + X (Execute menu), R (Run on Server). - The first time you do this you will be asked to setup a Server, where you are - expected to point Eclipse to a location where you have a Servlet Container - such as Apache Tomcat installed. Once your container has been setup and you finish the - deployment wizard, Eclipse will start the container and automatically publish - your webapp to it. In addition, it will launch a embedded web browser allowing you - to run the webapp fully inside the IDE. - + + + Deploying projects inside Eclipse using Eclipse Web Tools (WTP) + + Each Spring Web Flow sample application project is a Eclipse Dynamic Web Project (DWP), + for easy deployment to a server running inside the Eclipse IDE. To take advantage + of this, you must be running Eclipse 3.2 with Web Tools 1.5. + + + To run a sample application as a webapp inside Eclipse, simply select the project, + right-click, and select Run -> Run On Server. A convenient + shortcut for this action is ALT + SHIFT + X (Execute menu), R (Run on Server). + The first time you do this you will be asked to setup a Server, where you are + expected to point Eclipse to a location where you have a Servlet Container + such as Apache Tomcat installed. Once your container has been setup and you finish the + deployment wizard, Eclipse will start the container and automatically publish + your webapp to it. In addition, it will launch a embedded web browser allowing you + to run the webapp fully inside the IDE. + Other IDE's