src/build.xml
changeset 16458 b97198212bc3
parent 16451 287d83bfc399
child 17945 d6111f597f9c
--- a/src/build.xml	Mon May 07 11:48:33 2012 +0200
+++ b/src/build.xml	Mon May 07 11:56:08 2012 +0200
@@ -326,9 +326,26 @@
 	<property name="export" value="no" />
 	<jstest apiDetailsPath="${api.test.javascript.details}" jsPath="${base.web}/js" export="${export}" />
   </target>
-  
+
+  <path id="my-src-dirs">
+    <pathelement path="${basedir}" />
+    <pathelement path="${build.sqlc}/src" />
+    <pathelement path="${build.sqlc}/srcAD" />
+    <pathelement path="${base.src.test}" />
+    <dirset dir="${base.modules}">
+      <include name="*/*" />
+      <exclude name="*/src-util" />
+      <exclude name="*/src-wad" />
+    </dirset>
+  </path>
+ 
   <target name="compileSqlc" depends="sqlc">
-    <javac  srcdir="${basedir}:${build.sqlc}/src:${build.sqlc}/srcAD:${base.src.test}:${base.modules}" excludes="*/src-wad/**,*/src-util/**" destdir="${build}" encoding="UTF-8" fork="true" memorymaximumsize="${build.maxmemory}" debug="true" debuglevel="lines,vars,source" nowarn="${friendlyWarnings}" includeantruntime="false">
+    <javac excludes="*/src-wad/**,*/src-util/**,**/org/openbravo/erpWindows/**" destdir="${build}" encoding="UTF-8" fork="true" memorymaximumsize="${build.maxmemory}" debug="true" debuglevel="lines,vars,source" nowarn="${friendlyWarnings}" includeantruntime="false">
+      <src refid="my-src-dirs"/>
+      <classpath refid="project.class.path" />
+    </javac>
+
+    <javac srcdir="${build.sqlc}/srcAD" destdir="${build}" encoding="UTF-8" fork="true" memorymaximumsize="${build.maxmemory}" debug="true" debuglevel="lines,vars,source" nowarn="${friendlyWarnings}" includeantruntime="false">
       <classpath refid="project.class.path" />
     </javac>