src/build.xml
changeset 16444 95a918e7ff24
parent 16403 9a7580f8f358
child 16451 287d83bfc399
--- a/src/build.xml	Wed May 02 18:06:13 2012 +0200
+++ b/src/build.xml	Fri May 04 12:21:04 2012 +0200
@@ -327,8 +327,21 @@
 	<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>