Author: crossley
Date: Mon Oct  7 04:05:25 2013
New Revision: 1529741

URL: http://svn.apache.org/r1529741
Log:
More if-then-else magic for deploying plugins.

Modified:
    forrest/trunk/plugins/build.xml

Modified: forrest/trunk/plugins/build.xml
URL: 
http://svn.apache.org/viewvc/forrest/trunk/plugins/build.xml?rev=1529741&r1=1529740&r2=1529741&view=diff
==============================================================================
--- forrest/trunk/plugins/build.xml (original)
+++ forrest/trunk/plugins/build.xml Mon Oct  7 04:05:25 2013
@@ -200,9 +200,17 @@
             <property name="docsVersion" value="0_90"/>
           </then>
           <else>
+            <if>
+              <contains string="${forrest.version}" substring="0.10"/>
+              <then>
+                <property name="docsVersion" value="0_100"/>
+              </then>
+              <else>
 <!-- FIXME: the docs version number should be derived programmatically from 
the forrest.version in use 
                  (see http://issues.apache.org/jira/browse/FOR-535) -->
             <fail message="Trying to deploy plugin docs to an unknown version 
of Forrest. Please update the plugin's build file."/>
+              </else>
+            </if>
           </else>
         </if>
       </else>