build.xml
changeset 7543 064f42583bf3
parent 7541 fe31293e17a5
child 7545 6e532d6c081e
equal deleted inserted replaced
7542:5ccd207918d2 7543:064f42583bf3
   216       <include name="*/build/classes/" />
   216       <include name="*/build/classes/" />
   217     </dirset>
   217     </dirset>
   218     <pathelement path="${basedir}/../../src-util/modulescript/build/classes/" />
   218     <pathelement path="${basedir}/../../src-util/modulescript/build/classes/" />
   219   </path>
   219   </path>
   220 
   220 
       
   221   <!-- This classpath is needed only for the compile.apply.module task-->
       
   222   <path id="apply.module.compile.classpath">
       
   223     <pathelement path="${build.apply.module}" />
       
   224     <pathelement path="${base.src}" />
       
   225     <fileset dir="${base.lib}">
       
   226       <include name="**/*.jar" />
       
   227     </fileset>
       
   228     <fileset dir="${build.core.lib}">
       
   229       <include name="openbravo-core.jar" />
       
   230     </fileset>
       
   231     <fileset dir="${build.trl.lib}">
       
   232       <include name="openbravo-trl.jar" />
       
   233     </fileset>
       
   234     <fileset dir="${build.wad.lib}">
       
   235       <include name="openbravo-wad.jar" />
       
   236     </fileset>
       
   237     <fileset dir="${base.lib}">
       
   238       <include name="**/*.jar" />
       
   239     </fileset>
       
   240     <fileset dir="${base.db}/lib/">
       
   241       <include name="**/*.jar" />
       
   242     </fileset>
       
   243     <fileset dir="${base.modules}">
       
   244       <include name="*/lib/**" />
       
   245     </fileset>
       
   246     <dirset dir="${base.modules}">
       
   247       <include name="*/build/classes/" />
       
   248     </dirset>
       
   249     <pathelement path="${basedir}/../../src-util/modulescript/build/classes/" />
       
   250   </path>
       
   251   
   221   <!-- This classpath is needed only for the apply.module task-->
   252   <!-- This classpath is needed only for the apply.module task-->
   222   <path id="apply.module.classpath">
   253   <path id="apply.module.runtime.classpath">
   223     <pathelement path="${build.apply.module}" />
   254     <pathelement path="${build.apply.module}" />
       
   255     <pathelement path="${build}" />
   224     <pathelement path="${base.src}" />
   256     <pathelement path="${base.src}" />
   225     <fileset dir="${base.lib}">
   257     <fileset dir="${base.lib}">
   226       <include name="**/*.jar" />
   258       <include name="**/*.jar" />
   227     </fileset>
   259     </fileset>
   228     <fileset dir="${build.core.lib}">
   260     <fileset dir="${build.core.lib}">
   708   and if the normal build folder is included, none of them are recompiled by default unless the whole build directory is specified.
   740   and if the normal build folder is included, none of them are recompiled by default unless the whole build directory is specified.
   709   -->
   741   -->
   710   <target name="apply.module" depends="compile.apply.module">
   742   <target name="apply.module" depends="compile.apply.module">
   711     <java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" fork="true" maxmemory="${build.maxmemory}" failonerror="true">
   743     <java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" fork="true" maxmemory="${build.maxmemory}" failonerror="true">
   712       <arg line="'${base.src}'" />
   744       <arg line="'${base.src}'" />
   713       <classpath refid="apply.module.classpath" />
   745       <classpath refid="apply.module.runtime.classpath" />
   714     </java>
   746     </java>
   715    <delete includeEmptyDirs="true"  dir="${build.apply.module}" />
   747    <delete includeEmptyDirs="true"  dir="${build.apply.module}" />
   716   </target>
   748   </target>
   717   
   749   
   718   <target name="apply.modules.compile" depends="wad.lib">
   750   <target name="apply.modules.compile" depends="wad.lib">