Fixes issue 12910: RTL and LTR are generated when neede
authorAugusto Mauch <augusto.mauch@openbravo.com>
Wed, 28 Mar 2012 12:55:28 +0200
changeset 15962 541a4becfc84
parent 15961 4543f3987ed7
child 15963 6d62caf89ace
Fixes issue 12910: RTL and LTR are generated when neede

Prior to the fix, if the user deleted the WebContent folder and executed smartbuild, the WebContent/web/skins/rtl and WebContent/web/skins/ltr folders were not generated unless the property changes.in.md5.sk
ins was true.

Now, both folders are regenerated when any of them are missing when executing the smartbuild.
src/build.xml
--- a/src/build.xml	Tue Mar 27 10:35:50 2012 +0200
+++ b/src/build.xml	Wed Mar 28 12:55:28 2012 +0200
@@ -590,6 +590,12 @@
         <not>
           <istrue value="${smart.mode}"/>
         </not>
+        <not>
+          <available file="${base.context}/web/skins/rtl" type="dir"/>
+        </not>
+        <not>
+          <available file="${base.context}/web/skins/ltr" type="dir"/>
+        </not>
       </or>
     </condition>