forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r155765 - forrest/trunk/main/targets/skins.xml
Date Tue, 01 Mar 2005 10:17:35 GMT
Author: rgardler
Date: Tue Mar  1 02:17:33 2005
New Revision: 155765

URL: http://svn.apache.org/viewcvs?view=rev&rev=155765
Log:
Provide error message skin descriptor download fails (thanks to Cyriaque Dupoirieux

Modified:
    forrest/trunk/main/targets/skins.xml

Modified: forrest/trunk/main/targets/skins.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/targets/skins.xml?view=diff&r1=155764&r2=155765
==============================================================================
--- forrest/trunk/main/targets/skins.xml (original)
+++ forrest/trunk/main/targets/skins.xml Tue Mar  1 02:17:33 2005
@@ -97,6 +97,23 @@
         <get src="@{url}" 
            dest="${forrest.skins-dir}/skins-${skin-counter}.xml"
            verbose="true" usetimestamp="true" ignoreerrors="true"/>
+        <if>
+        <not>
+       		<available file="${forrest.skins-dir}/skins-${skin-counter}.xml"/>
+       	</not>
+       <then>
+       <fail>Stopped...
+ERROR
+=====
+       
+Unable to retrieve the skins descriptors at @{url}.
+There may be more information about the reason for this in ouput
+above. The usual cause is that Forrest has been unable to download
+the file. If you are behind a firewall then set the proxy.host 
+and proxy.port values in the forrest.properties file.
+       </fail>
+     </then>
+   </if>
         <math result="skin-counter" operand1="${skin-counter}" operation="+" operand2="1"
datatype="int"/>
       </sequential>
     </for>



Mime
View raw message