src/build.xml
changeset 12082 3f4efabf3019
parent 11995 e7b20e55553e
child 12094 315eeeb8e204
--- a/src/build.xml	Tue May 10 16:58:27 2011 +0200
+++ b/src/build.xml	Tue May 10 17:08:16 2011 +0200
@@ -25,7 +25,6 @@
 init: creates all the folders.
 trl.clean: clean the AD_TEXTINTERFACES table
 clean: delete all folders.
-copy.srcClient: copy the content of the srcClient to the src folder.
 sqlc: generates the java from the xsql files.
 compileSqlc: compiles all the java generated from the xsqls.
 wad: generates all the files from the mda.
@@ -71,7 +70,6 @@
   <property name="tab" value="%" />
 
   <property name="base.translate.structure" value="org/openbravo/erpWindows" />
-  <property name="client.web.xml" value="${base.client.src}/web.xml" />
   <property name="extension" value="html" />
   <property name="src" value="." />
   <property name="tr" value="yes" />
@@ -182,7 +180,7 @@
     </javac>
   </target>
   
-  <target name="sqlc" depends="copy.srcClient">
+  <target name="sqlc">
     <java classname="org.openbravo.data.Sqlc" fork="yes" jvm="${env.JAVA_HOME}/bin/java" maxmemory="${build.maxmemory}" failonerror="true">
       <arg line="'${base.config}'/Openbravo.properties .xsql . '${build.sqlc}'/src" />
       <classpath refid="project.class.path" />
@@ -203,15 +201,6 @@
     <ant dir="${build.AD}" target="buildAD" inheritAll="true" inheritRefs="true" />
   </target>
 
-  <target name="copy.srcClient">
-    <mkdir dir="${base.client.src}" />
-    <copy todir="${basedir}" overwrite="true" failonerror="false">
-      <fileset dir="${base.client.src}">
-        <exclude name="**/web.xml" />
-      </fileset>
-    </copy>
-  </target>
-
   <target name="clean.src.gen">
     <delete includeEmptyDirs="true" failonerror="false">
       <fileset dir="${base.src.gen}" >
@@ -422,7 +411,7 @@
   
   <target name="wad" depends="init, wadvalidation">
     <java classname="org.openbravo.wad.Wad" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}" failonerror="true">
-      <arg line="'${base.config}' '${tab}' '${build.AD}/org/openbravo/erpWindows' '${build.AD}/org/openbravo/erpCommon' '${build.sqlc}/src' '${webTab}' '${build.AD}/org/openbravo/erpCommon/ad_actionButton' '${base.design}' '${base.translate.structure}' '${client.web.xml}' '..' '${attach.path}' '${web.url}' '${base.src}' '${complete}' '${module}' 'noquick'" />
+      <arg line="'${base.config}' '${tab}' '${build.AD}/org/openbravo/erpWindows' '${build.AD}/org/openbravo/erpCommon' '${build.sqlc}/src' '${webTab}' '${build.AD}/org/openbravo/erpCommon/ad_actionButton' '${base.design}' '${base.translate.structure}' '' '..' '${attach.path}' '${web.url}' '${base.src}' '${complete}' '${module}' 'noquick'" />
       <classpath refid="wad.class.path" />
       <syspropertyset>
          <propertyref name="java.security.egd" />
@@ -433,7 +422,7 @@
 
   <target name="wad.quick" depends="init, wadvalidation">
     <java classname="org.openbravo.wad.Wad" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}">
-      <arg line="'${base.config}' '${tab}' '${build.AD}/org/openbravo/erpWindows' '${build.AD}/org/openbravo/erpCommon' '${build.sqlc}/src' '${webTab}' '${build.AD}/org/openbravo/erpCommon/ad_actionButton' '${base.design}' '${base.translate.structure}' '${client.web.xml}' '..' '${attach.path}' '${web.url}' '${base.src}' '${complete}' '${module}' 'quick'" />
+      <arg line="'${base.config}' '${tab}' '${build.AD}/org/openbravo/erpWindows' '${build.AD}/org/openbravo/erpCommon' '${build.sqlc}/src' '${webTab}' '${build.AD}/org/openbravo/erpCommon/ad_actionButton' '${base.design}' '${base.translate.structure}' '' '..' '${attach.path}' '${web.url}' '${base.src}' '${complete}' '${module}' 'quick'" />
       <classpath refid="wad.class.path" />
       <syspropertyset>
          <propertyref name="java.security.egd" />
@@ -500,7 +489,7 @@
   </target>
 
   <!-- FIXME: These tasks is only for development and testing purposes, remove it afterwards-->
-  <target name="sqlcmod" depends="copy.srcClient">
+  <target name="sqlcmod">
     <java classname="org.openbravo.data.Sqlc" fork="yes" jvm="${env.JAVA_HOME}/bin/java" maxmemory="${build.maxmemory}" failonerror="true">
       <arg line="'${base.config}'/Openbravo.properties .xsql '${base.modules}' '${build.sqlc}'/src */src" />
       <classpath refid="project.class.path" />