You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2007/02/15 18:49:42 UTC

svn commit: r508035 - /incubator/roller/trunk/apps/planet/build.xml

Author: agilliland
Date: Thu Feb 15 09:49:41 2007
New Revision: 508035

URL: http://svn.apache.org/viewvc?view=rev&rev=508035
Log:
build a WAR file as part of the "dist" target.  and a small fix for testing against a 3rd party db.


Modified:
    incubator/roller/trunk/apps/planet/build.xml

Modified: incubator/roller/trunk/apps/planet/build.xml
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/apps/planet/build.xml?view=diff&rev=508035&r1=508034&r2=508035
==============================================================================
--- incubator/roller/trunk/apps/planet/build.xml (original)
+++ incubator/roller/trunk/apps/planet/build.xml Thu Feb 15 09:49:41 2007
@@ -263,11 +263,10 @@
         </copy>         
         <chmod perm="+x" dir="${build.webapp}/WEB-INF/scripts" includes="*.sh" />
         
-        <!-- distributable WAR file 
+        <!-- distributable WAR file -->
         <mkdir dir="${dist}/webapp" />
-        <war destfile="${dist}/webapp/roller-planet.war"
-             basedir="${build.webapp}"
-             webxml="${build.webapp}/WEB-INF/web.xml" /> -->
+        <jar destfile="${dist}/webapp/roller-planet.war"
+             basedir="${build.webapp}" />
              
     </target>
     
@@ -328,6 +327,9 @@
         
                 <!-- testdata.  the equivalent of /WEB-INF/classes in a webapp -->
                 <pathelement location="${basedir}/testdata" />
+                
+                <!-- plus the classpath for jars needed to talk to the test db -->
+                <pathelement path="${test.db.cpath}" />
             </classpath>
             
             <!-- needed to satisfy ref in log4j.properties -->