src/build.xml
changeset 9013 098bbb2d79ce
parent 8556 8f1e3114223e
child 9023 1b7d3037ff3d
--- a/src/build.xml	Mon Nov 22 14:08:07 2010 +0530
+++ b/src/build.xml	Fri Nov 19 10:17:57 2010 +0100
@@ -631,6 +631,17 @@
     <antcall target="minimizeJSandCSS" inheritAll="true" inheritrefs="true" />
   </target>
     
+  
+  <target name="build.web.folder.base">
+    <mkdir dir="${base.context}/web" />
+    <copy todir="${base.context}/web" encoding="UTF-8">
+      <fileset dir="${base.modules}">
+        <include name="*/web/*/**" />
+        <exclude name="*/web/*/skins/**" />
+      </fileset>
+      <mapper type="regexp" from="(.*)(\${file.separator}web)(.*)" to="\3" />
+    </copy>
+  </target>
 
   <target name="build.web.folder.skins" if="do.skins">
 
@@ -646,13 +657,7 @@
       <fileset dir="${base.web}/skins" />
     </copy>
 
-    <copy todir="${base.context}/web" encoding="UTF-8">
-      <fileset dir="${base.modules}">
-        <include name="*/web/*/**" />
-        <exclude name="*/web/*/skins/**" />
-      </fileset>
-      <mapper type="regexp" from="(.*)(\${file.separator}web)(.*)" to="\3" />
-    </copy>
+    <antcall target="build.web.folder.base" />
 
     <copy todir="${base.context}/web/skins/ltr" encoding="UTF-8">
       <fileset dir="${base.modules}">
@@ -766,6 +771,7 @@
     <antcall inheritall="true" inheritrefs="true" target="smartbuild.no.new.wad" />
     <antcall inheritall="true" inheritrefs="true" target="compileSqlc" />
     <antcall inheritall="true" inheritrefs="true" target="postsrc" />
+    <antcall inheritall="true" inheritrefs="true" target="build.web.folder.base" />
     <antcall inheritall="true" inheritrefs="true" target="translate" />
     <antcall inheritall="true" inheritrefs="true" target="update.build.timestamp" />
   </target>