You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/03/01 11:17:35 UTC
svn commit: r155765 - forrest/trunk/main/targets/skins.xml
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>