webwork/src/docs/manual fundamentals-building.html,1.2,1.3
[email protected] Sun, 02 Nov 2003 09:57:52 -0800
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/opensymphony/webwork/src/docs/manual In directory sc8-pr-cvs1:/tmp/cvs-serv18336/src/docs/manual Modified Files: fundamentals-building.html Log Message: Talk about test targets and removed run Index: fundamentals-building.html =================================================================== RCS file: /cvsroot/opensymphony/webwork/src/docs/manual/fundamentals-building.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- fundamentals-building.html 18 Jul 2002 13:57:46 -0000 1.2 +++ fundamentals-building.html 2 Nov 2003 17:57:50 -0000 1.3 @@ -13,24 +13,27 @@ For example, to build WW documentation you would type build docs. Ant would load the <em>build.xml</em> script and invoke the docs target.</p> -<p>The main targets used to build WW are the following:</p> +<p>The main targets used to build WW are the following:</p> <ul> -<li><em>main</em> - will compile all classes and create appropriate jar, war, and ear files. +<li><em>main</em> - will compile all classes and create appropriate jar, war, and ear files. These files will be located in dist/lib for jar files and dist/deploy for war and ear files. Main is the default target in the script file which means you can type build with no target and Ant will invoke main.</li> <li><em>compile</em> - will compile all classes.</li> -<li><em>run</em> - will call main first and then copy deploy file to deploy directory. -The particular deploy file (war or ear) and deploy directory is determined by -property settings in the build.properties file. -</li> <li><em>docs</em> - will call javadocs target and then copy regular documentation to dist/docs.</li> <li><em>javadocs</em> - will build the API. The output is dist/docs/api.</li> <li><em>dist</em> - calls main and docs targets. It also copies the source and examples to dist.</li> +<li><em>test-web</em> - Build the instrumented test-web webapp. In order to run the unit tests +this target must be run first, and then deployed into your servlet container</li> +<li><em>test</em> - Run the unit tests. This unit tests expect a servlet container running with +the test-web webapp deployed in it. You can configure the url and server location by modifying +build.properties in the root directory.</li> +<li><em>clover.report</em> - Creates the clover html reports for code coverage of the unit tests. +This target requires that you had previously run the test target</li> <li><em>clean</em> - removes build and dist directories.</li> </ul> -<p>WW provides a build.bat and build.sh file under src/build to build specified Ant targets. +<p>WW provides a build.bat and build.sh file under src/build to build specified Ant targets. If you have Ant referenced in your system, you can use it without using the build files.</p> </body> ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/