You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2010/02/19 02:19:40 UTC

svn commit: r911671 - in /incubator/wookie/trunk: build.xml widgets/build.xml

Author: rgardler
Date: Fri Feb 19 01:19:40 2010
New Revision: 911671

URL: http://svn.apache.org/viewvc?rev=911671&view=rev
Log:
Use a flag to indicate we are deploying to a dev server otherwise test failed when deploying locally

Modified:
    incubator/wookie/trunk/build.xml
    incubator/wookie/trunk/widgets/build.xml

Modified: incubator/wookie/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/build.xml?rev=911671&r1=911670&r2=911671&view=diff
==============================================================================
--- incubator/wookie/trunk/build.xml (original)
+++ incubator/wookie/trunk/build.xml Fri Feb 19 01:19:40 2010
@@ -43,6 +43,7 @@
   	<!-- deploy widgets -->
   	<delete dir="${widget.build.dir}"/>
   	<subant antfile="build.xml" target="deploy-widget" inheritall="true">
+  	  <property name="deployToDev" value="true"/>
   	  <fileset dir="${wookie.widgets.dir}">
   	  	<include name="${widget.deploy.include}"/>
   	  	<exclude name="${widget.deploy.exclude}"/>

Modified: incubator/wookie/trunk/widgets/build.xml
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/build.xml?rev=911671&r1=911670&r2=911671&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/build.xml (original)
+++ incubator/wookie/trunk/widgets/build.xml Fri Feb 19 01:19:40 2010
@@ -27,7 +27,7 @@
     </target>
 		
 	<target name="_validate">
-		<fail unless="widget.deploy.directory" message="Please run your ant targets from within the root directory of Wookie to ensure your environment is correctly set up."/>
+		<fail unless="deployToDev" message="Please run your ant targets from within the root directory of Wookie to ensure your environment is correctly set up."/>
 	</target>
 	   
 	<target name="_clean">