You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by ip...@apache.org on 2004/12/11 20:29:12 UTC

svn commit: r111616 - /incubator/muse/trunk/maven.xml

Author: ips
Date: Sat Dec 11 11:29:10 2004
New Revision: 111616

URL: http://svn.apache.org/viewcvs?view=rev&rev=111616
Log:
website goal fails if FORREST_HOME is not set

Modified:
   incubator/muse/trunk/maven.xml

Modified: incubator/muse/trunk/maven.xml
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/maven.xml?view=diff&rev=111616&p1=incubator/muse/trunk/maven.xml&r1=111615&p2=incubator/muse/trunk/maven.xml&r2=111616
==============================================================================
--- incubator/muse/trunk/maven.xml	(original)
+++ incubator/muse/trunk/maven.xml	Sat Dec 11 11:29:10 2004
@@ -83,18 +83,20 @@
   <goal name="website"         
         description="generates project website using Forrest">
 
+    <fail unless="env.FORREST_HOME" message="ERROR: FORREST_HOME environment variable is not set." />
+    <echo>FORREST_HOME=${env.FORREST_HOME}</echo>
     <property name="forrest.home"        location="${env.FORREST_HOME}" />
     <property name="forrest.install.dir" location="${forrest.home}/../.." />
     <property name="forrest.ant.home"    location="${forrest.install.dir}/tools/ant" />
     
-    <!-- unzip disk.wsdl -->	
+    <!-- extract disk.wsdl from disk-types jar -->	
     <mkdir dir="${basedir}/src/site/content/tutorial/disk/src/wsdl" />
     <echo>Expanding disk.wsdl from jar  ${diskjar}</echo>
-    <unzip src="${diskjar}" dest="${basedir}/src/site/content/tutorial/disk/src/">        
+    <unjar src="${diskjar}" dest="${basedir}/src/site/content/tutorial/disk/src/">        
       <patternset>
         <include name="wsdl/disk.wsdl"/>           
       </patternset> 
-    </unzip>
+    </unjar>
     	
     <java classname="org.apache.tools.ant.Main"
           fork="true"

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org