Revision: 542
Author:   henryju
Date:     2006-07-28 11:40:33 -0700 (Fri, 28 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/jwebunit/?rev=542&view=rev

Log Message:
-----------
Update documentation.

Modified Paths:
--------------
    branches/1.x/src/site/xdoc/building-maven.xml
    branches/1.x/src/site/xdoc/index.xml
    branches/1.x/src/site/xdoc/installation.xml
    branches/1.x/src/site/xdoc/quickstart.xml
Modified: branches/1.x/src/site/xdoc/building-maven.xml
===================================================================
--- branches/1.x/src/site/xdoc/building-maven.xml       2006-07-28 10:02:04 UTC 
(rev 541)
+++ branches/1.x/src/site/xdoc/building-maven.xml       2006-07-28 18:40:33 UTC 
(rev 542)
@@ -51,26 +51,126 @@
        <p>
                Building jWebUnit merely consist of running Maven:
                <source>mvn package</source>
-               If you build jWebUnit for the first time and you configured 
Maven as described
+               If you build jWebUnit and you configured Maven as described
                earlier, you will see the following text:
-<source><![CDATA[NEED UPDATE]]></source></p>
+<source><![CDATA[
+$ mvn package
+[INFO] Scanning for projects...
+[INFO] Reactor build order:
+[INFO]   jWebUnit
+[INFO]   Core - API
+[INFO]   Commons Tests
+[INFO]   HtmlUnit Plugin
+[INFO] 
----------------------------------------------------------------------------
+[INFO] Building jWebUnit
+[INFO]    task-segment: [package]
+[INFO] 
----------------------------------------------------------------------------
+[INFO] [site:attach-descriptor]
+[INFO] 
----------------------------------------------------------------------------
+[INFO] Building Core - API
+[INFO]    task-segment: [package]
+[INFO] 
----------------------------------------------------------------------------
+[INFO] [resources:resources]
+[INFO] Using default encoding to copy filtered resources.
+[INFO] [compiler:compile]
+Compiling 14 source files to 
/home/julien/jwebunit-1.x/jwebunit-core/target/classes
+[INFO] [resources:testResources]
+[INFO] Using default encoding to copy filtered resources.
+[INFO] [compiler:testCompile]
+Compiling 1 source file to 
/home/julien/jwebunit-1.x/jwebunit-core/target/test-classes
+[INFO] [surefire:test]
+[INFO] Surefire report directory: 
/home/julien/jwebunit-1.x/jwebunit-core/target/surefire-reports
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+Running net.sourceforge.jwebunit.TableTest
+Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 sec
+
+Results :
+Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
+
+[INFO] [jar:jar]
+[INFO] Building jar: 
/home/julien/jwebunit-1.x/jwebunit-core/target/jwebunit-core-1.3.jar
+[INFO] 
----------------------------------------------------------------------------
+[INFO] Building Commons Tests
+[INFO]    task-segment: [package]
+[INFO] 
----------------------------------------------------------------------------
+[INFO] [resources:resources]
+[INFO] Using default encoding to copy filtered resources.
+[INFO] [compiler:compile]
+Compiling 23 source files to 
/home/julien/jwebunit-1.x/jwebunit-commons-tests/target/classes
+[INFO] [resources:testResources]
+[INFO] Using default encoding to copy filtered resources.
+[INFO] [compiler:testCompile]
+Compiling 1 source file to 
/home/julien/jwebunit-1.x/jwebunit-commons-tests/target/test-classes
+[INFO] [surefire:test]
+[INFO] Surefire report directory: 
/home/julien/jwebunit-1.x/jwebunit-commons-tests/target/surefire-reports
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+Running net.sourceforge.jwebunit.tests.util.reflect.MethodInvokerTest
+Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
+
+Results :
+Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
+
+[INFO] [jar:jar]
+[INFO] Building jar: 
/home/julien/jwebunit-1.x/jwebunit-commons-tests/target/jwebunit-commons-tests-1.3.jar
+[INFO] 
----------------------------------------------------------------------------
+[INFO] Building HtmlUnit Plugin
+[INFO]    task-segment: [package]
+[INFO] 
----------------------------------------------------------------------------
+[INFO] [resources:resources]
+[INFO] Using default encoding to copy filtered resources.
+[INFO] [compiler:compile]
+Compiling 1 source file to 
/home/julien/jwebunit-1.x/jwebunit-htmlunit-plugin/target/classes
+[INFO] [resources:testResources]
+[INFO] Using default encoding to copy filtered resources.
+[INFO] [compiler:testCompile]
+Compiling 1 source file to 
/home/julien/jwebunit-1.x/jwebunit-htmlunit-plugin/target/test-classes
+[INFO] [surefire:test]
+[INFO] Surefire report directory: 
/home/julien/jwebunit-1.x/jwebunit-htmlunit-plugin/target/surefire-reports
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+Running net.sourceforge.jwebunit.htmlunit.JWebUnitTest
+:INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
+:INFO:  jetty 6.0.0beta16
+:INFO:  Extract 
jar:file:/home/julien/jwebunit-1.x/jwebunit-commons-tests/target/jwebunit-commons-tests-1.3.jar!/testcases/
 to /tmp/Jetty__jwebunit/webapp
+:INFO:  NO JSP Support for /jwebunit, did not find 
org.apache.jasper.servlet.JspServlet
+:INFO:  Started SocketConnector @ 0.0.0.0:8082
+Tests run: 162, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.877 sec
+
+Results :
+Tests run: 162, Failures: 0, Errors: 0, Skipped: 0
+
+[INFO] [jar:jar]
+[INFO] Building jar: 
/home/julien/jwebunit-1.x/jwebunit-htmlunit-plugin/target/jwebunit-htmlunit-plugin-1.3.jar
+[INFO]
+[INFO]
+[INFO] ------------------------------------------------------------------------
+[INFO] Reactor Summary:
+[INFO] ------------------------------------------------------------------------
+[INFO] jWebUnit .............................................. SUCCESS [2.922s]
+[INFO] Core - API ............................................ SUCCESS [5.128s]
+[INFO] Commons Tests ......................................... SUCCESS [3.416s]
+[INFO] HtmlUnit Plugin ....................................... SUCCESS 
[12.735s]
+[INFO] ------------------------------------------------------------------------
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESSFUL
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 24 seconds
+[INFO] Finished at: Fri Jul 28 20:28:48 CEST 2006
+[INFO] Final Memory: 8M/19M
+[INFO] ------------------------------------------------------------------------
+]]></source></p>
        <p>
-               You now have successfully built the <tt>jwebunit-1.3.jar</tt>.
+               You now have successfully built jWebUnit 1.3. The files are in 
target/ folder.
        </p>
 </subsection>
-<subsection name="Building an assembly">
-       <p>     An assembly is a package for final users, including eventually 
all dependencies.
-               Building an assembly with Maven consists of executing Maven 
like this:
-               <source>mvn assembly:assembly -DdescriptorId=XXX</source>
-               Where XXX is one of :
-               <ul>
-                 <li>bin : Package jwebunit-xx.jar in 3 formats (zip, tar.gz 
and tar.bz2)</li>
-                 <li>jar-with-dependencies : Create 
jwebunit-xx-with-dependencies.jar, a big jar with all
-                 dependencies included</li>
-                 <li>src : Package sources of jWebUnit in 3 formats (zip, 
tar.gz and tar.bz2)</li>
-               </ul>
-       </p>
-</subsection>
 </section>
 </body>
 </document>
\ No newline at end of file

Modified: branches/1.x/src/site/xdoc/index.xml
===================================================================
--- branches/1.x/src/site/xdoc/index.xml        2006-07-28 10:02:04 UTC (rev 
541)
+++ branches/1.x/src/site/xdoc/index.xml        2006-07-28 18:40:33 UTC (rev 
542)
@@ -11,7 +11,7 @@
 <body>
 <section name="Welcome">
     <p>
-        You are on the jWebUnit 1.x website. Current version is 1.3 (will be 
available in a few days). This is
+        You are on the jWebUnit 1.x website. Current version is 1.3. This is
         the "stable" version of jWebUnit. You can also consult <a 
href="2.x/index.html">jWebUnit 2.x website</a>.
     </p>
 </section>

Modified: branches/1.x/src/site/xdoc/installation.xml
===================================================================
--- branches/1.x/src/site/xdoc/installation.xml 2006-07-28 10:02:04 UTC (rev 
541)
+++ branches/1.x/src/site/xdoc/installation.xml 2006-07-28 18:40:33 UTC (rev 
542)
@@ -8,8 +8,7 @@
 <section name="jWebUnit Installation">
        <subsection name="Using Maven">
                <p>
-                       If your project use Maven 2, it's very simple. Just add 
jwebunit maven repository to your pom,
-                       and add the plugin you want as dependency:
+                       If your project use Maven 2, it's very simple. Just add 
the plugin you want as dependency:
                </p>
                <source><![CDATA[
 <?xml version="1.0" encoding="UTF-8"?>
@@ -19,14 +18,6 @@
     <artifactId>myproject</artifactId>
     <version>0.0.1</version>
     <description>A wonderful project using jWebUnit</description>
-    <repositories>
-        <repository>
-            <releases />
-            <id>jwebunit-m2-repo-web</id>
-            <name>jWebUnit private repository</name>
-            <url>http://jwebunit.sourceforge.net/m2-repo</url>
-        </repository>
-    </repositories>
     <dependencies>
         <dependency>
             <groupId>net.sourceforge.jwebunit</groupId>
@@ -41,11 +32,8 @@
        <subsection name="Download">
                <p>
                        If you don't want to use Maven, you can download files 
manually.
-                       First download latest stable version of jWebUnit core 
and the plugin 
-                       you want from the <a 
href="http://sourceforge.net/projects/jwebunit/files";>files area</a>
+                       First download latest stable version of jWebUnit from 
the <a href="http://sourceforge.net/projects/jwebunit/files";>files area</a>
                        and expand to a local directory.
-                       You will also need all the dependencies of the plugin 
you choose. Please consult each
-                       plugin page to know what are these dependencies.
                </p>
        </subsection>
        <subsection name="Choose what plugin you want to use">
@@ -65,9 +53,8 @@
                </p>
                <p>                     
                        If you don't want to migrate to Maven, 
-                       make sure you add the jwebunit-XXX-plugin (where XXX is 
the plugin you choose) and jwebunit-core jar files to your classpath in your 
IDE.
-                       You will also need numerous additionnal dependencies, 
depending on what plugin you choose.
-                       Please refer to each plugin page to know the 
dependencies they need.
+                       make sure you add the jwebunit-htmlunit-plugin-1.3.jar, 
jwebunit-core-1.3.jar and all HtmlUnit dependencies
+(these files are in lib/ folder of the jWebUnit package) to your classpath in 
your IDE.
                </p>
        </subsection>
 </section>

Modified: branches/1.x/src/site/xdoc/quickstart.xml
===================================================================
--- branches/1.x/src/site/xdoc/quickstart.xml   2006-07-28 10:02:04 UTC (rev 
541)
+++ branches/1.x/src/site/xdoc/quickstart.xml   2006-07-28 18:40:33 UTC (rev 
542)
@@ -9,7 +9,7 @@
 <p>
     The QuickStart contains sample code and guidance to get you started with 
jWebUnit.  To see all
     of the methods available, consult the a <a 
href="apidocs/index.html">Javadocs</a> - particularly
-    the WebTestCase class.
+    the WebTester class for full documentation.
 </p>
 <subsection name="Creating a TestCase">
 <p>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


-------------------------------------------------------------------------
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
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to