src/build.xml
changeset 7539 0911fd2387bb
parent 7537 24cd5a49d2c5
child 7545 fe31293e17a5
--- a/src/build.xml	Tue Jun 01 10:36:57 2010 +0200
+++ b/src/build.xml	Tue Jun 01 18:08:35 2010 +0200
@@ -158,6 +158,20 @@
     </delete>
   </target>
 
+  <target name="compile.apply.module" depends="init">
+    <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" />
+      <jvmarg value="-Dsqlc.listOfFiles=ComboTableQuery_data.xsql,ActionButton_data.xsql,PInstanceProcess_data.xsql,SessionLogin_data.xsql,ApplyModule_data.xsql,TableSQLQuery_data.xsql,DateTime_data.xsql,ComboTableQuery_data.xsql,PrintJR_data.xsql,DocumentNo_data.xsql,WindowAccess_data.xsql,ComboTable_data.xsql,Tab_data.xsql,WindowTree_data.xsql,ErrorTextParser_data.xsql,Utility_data.xsql,MessageBD_data.xsql,LanguageCombo_data.xsql,Translation_data.xsql,Buscador_data.xsql,WindowTabs_data.xsql,Pinstance_data.xsql,ProcessRequest_data.xsql,Trigger_data.xsql,ProcessRun_data.xsql,Process_data.xsql,OrgTree_data.xsql,Seguridad_data.xsql,DefaultOptions_data.xsql,SystemPreferences_data.xsql,DefaultSessionValues_data.xsql,DefaultValues_data.xsql,Attribute_data.xsql,ClassInfo_data.xsql,"/>
+      <classpath refid="project.class.path" />
+    </java>
+    <javac includes="org/openbravo/erpCommon/modules/ApplyModuleTask.java" destdir="${build}" encoding="UTF-8" fork="true" memorymaximumsize="${build.maxmemory}" debug="true" debuglevel="lines,vars,source" deprecation="on" verbose="false" nowarn="${friendlyWarnings}">
+      <src path="${base.src}"/>
+      <src path="../build/javasqlc/src"/>
+      <src path="../build/javasqlc/srcAD"/>
+      <classpath refid="project.class.path" />
+    </javac>
+  </target>
+  
   <target name="sqlc" depends="copy.srcClient">
     <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" />