You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/05/19 16:38:57 UTC

svn commit: r170936 - in /incubator/beehive/trunk/samples/petstoreWeb: README.txt build-dist.xml build.xml

Author: ekoneil
Date: Thu May 19 07:38:57 2005
New Revision: 170936

URL: http://svn.apache.org/viewcvs?rev=170936&view=rev
Log:
Fixup README.txt with some changes from Scott and add the deletion of "classes/" to the petstore's "clean" targets.

BB: self
DRT: Beehive pass / build.dist


Modified:
    incubator/beehive/trunk/samples/petstoreWeb/README.txt
    incubator/beehive/trunk/samples/petstoreWeb/build-dist.xml
    incubator/beehive/trunk/samples/petstoreWeb/build.xml

Modified: incubator/beehive/trunk/samples/petstoreWeb/README.txt
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/README.txt?rev=170936&r1=170935&r2=170936&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/README.txt (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/README.txt Thu May 19 07:38:57 2005
@@ -105,6 +105,10 @@
 Check the Beehive Wiki or your application container's documentation for information about
 deploying to other application containers.
 
+Once deployed, if you have not created the tables in your Derby database before, you must do 
+this now. Simply go to the home page of the petstore app and click on the link that says
+"Initialize the DB".
+
 Testing
 =======
 The petstore webapp includes a set of HTTPUnit tests that can be used to verify 
@@ -114,13 +118,14 @@
   http://httpunit.sourceforge.net/
 
 Once HTTPUnit has been downloaded, set the "httpunit.dir" property in build.properties
-so that the JARs can be located by the build file.
+so that the JARs can be located by the build file. Also, you must copy junit.jar into 
+the $ANT_HOME/lib.
 
 To build the tests, run:
 
   $> ant test.build
 
-To run the tests, deploy the petstore webapp and run:
+To run the tests, deploy the petstore webapp then run:
 
   $> ant test.run
 

Modified: incubator/beehive/trunk/samples/petstoreWeb/build-dist.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/build-dist.xml?rev=170936&r1=170935&r2=170936&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/build-dist.xml (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/build-dist.xml Thu May 19 07:38:57 2005
@@ -132,6 +132,7 @@
     </target>
 
     <target name="clean" description="Clean the webapp">
+        <delete dir="${testclasses.dir}"/>
         <delete dir="${build.dir}/WEB-INF/classes"/>
         <delete dir="${build.dir}/WEB-INF/jspc-src"/>
         <delete dir="${build.dir}/WEB-INF/${tmp.sourcegen.dir}"/>

Modified: incubator/beehive/trunk/samples/petstoreWeb/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/build.xml?rev=170936&r1=170935&r2=170936&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/build.xml (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/build.xml Thu May 19 07:38:57 2005
@@ -134,6 +134,7 @@
     </target>
 
     <target name="clean" description="Clean the webapp">
+        <delete dir="${testclasses.dir}"/>
         <delete dir="${build.dir}/WEB-INF/classes"/>
         <delete dir="${build.dir}/WEB-INF/jspc-src"/>
         <delete dir="${build.dir}/WEB-INF/${tmp.sourcegen.dir}"/>