[build-cleanup] Remove some not needed mkdir calls
authorStefan Hühner <stefan.huehner@openbravo.com>
Sun, 09 Jul 2017 14:34:48 +0200
changeset 32771 5f147a9c2478
parent 32770 392bba693482
child 32772 4a0991bbc795
[build-cleanup] Remove some not needed mkdir calls

ant mkdir target does create any missing parent folders when creating a fodler.
That allows to remove some mkdir calls for such parent folders when we create
subfolder directly afterwards anyway.
src/build.xml
--- a/src/build.xml	Sun Jul 09 14:27:29 2017 +0200
+++ b/src/build.xml	Sun Jul 09 14:34:48 2017 +0200
@@ -84,15 +84,12 @@
   <target name="init">
     <mkdir dir="${build}" />
     <mkdir dir="${base.design}/design" />
-    <mkdir dir="${build.sqlc}" />
     <mkdir dir="${build.sqlc}/src" />
     <mkdir dir="${build.sqlc}/srcAD" />
-    <mkdir dir="${build.AD}" />
     <mkdir dir="${build.AD}/org/openbravo/erpWindows" />
     <mkdir dir="${build.AD}/org/openbravo/erpCommon/ad_actionButton" />
     <mkdir dir="${build.AD}/org/openbravo/erpCommon/ad_callouts" />
     <mkdir dir="${build.AD}/org/openbravo/erpCommon/reference" />
-    <mkdir dir="${build.docs}" />
   </target>
   <macrodef name="updatesystemstatus">
      <attribute name="v" default="NOT SET"/>
@@ -554,8 +551,6 @@
   <target name="build.web.folder.skins" if="do.skins">
 
     <delete includeEmptyDirs="true" dir="${base.context}/web/skins" quiet="yes" />
-    <mkdir dir="${base.context}/web" />
-    <mkdir dir="${base.context}/web/skins" />
     <mkdir dir="${base.context}/web/skins/ltr" />
     <copy todir="${base.context}/web/skins/ltr" encoding="UTF-8">
       <fileset dir="${base.web}/skins" />