src/build.xml
changeset 7526 ad55dd7c0779
parent 7520 896cbca4578c
parent 7386 2ccd08241915
child 7537 24cd5a49d2c5
--- a/src/build.xml	Tue May 18 16:14:24 2010 +0200
+++ b/src/build.xml	Fri May 21 10:24:46 2010 +0200
@@ -132,7 +132,6 @@
     <java classname="org.openbravo.translate.Translate" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}">
       <arg line="clean '${base.config}/Openbravo.properties'" />
       <classpath refid="project.class.path" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
   </target>
   
@@ -140,7 +139,6 @@
     <java classname="org.openbravo.translate.Translate" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}">
       <arg line="remove '${base.config}/Openbravo.properties'" />
       <classpath refid="project.class.path" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
   </target>
 
@@ -164,13 +162,11 @@
     <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" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
     <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" />
       <jvmarg value="-Dsqlc.queryExecutionStrategy=traditional"/>
       <classpath refid="project.class.path" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
     <copy file="${base.src}/buildAD.xml" tofile="${build.AD}/build.xml" />
     <copy file="${base.src}/log4j.lcf" tofile="${build.AD}/log4j.lcf" />
@@ -255,7 +251,6 @@
     <workflow debug="false" srcGenPath="${base.src.gen}" propertiesFile="${base.config}/Openbravo.properties" file="${base.src}/org/openbravo/base/gen/gen_entity.oaw" fork="true" maxmemory="${build.maxmemory}">
       <param name="ob.properties.location" value="${base.config}/Openbravo.properties" />
       <param name="base.src.gen" value="${base.src.gen}" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
       <classpath>
         <path refid="project.class.path" />
       </classpath>
@@ -278,6 +273,11 @@
   </target>
 
   <target name="run.tests" depends="compileSqlc,generate.entities.quick">
+    
+    <copy todir="${build}">
+      <fileset dir="${base.src.test}" includes="**/*.xml" />
+    </copy>
+    
     <junit printsummary="yes" haltonfailure="yes">
       <classpath refid="project.class.path" />
       <formatter type="plain" usefile="no"/>
@@ -286,6 +286,11 @@
   </target>
 
   <target name="run.all.tests" depends="compileSqlc,generate.entities.quick">
+    
+    <copy todir="${build}">
+      <fileset dir="${base.src.test}" includes="**/*.xml" />
+    </copy>
+
     <junit printsummary="yes" haltonfailure="yes">
       <classpath refid="project.class.path" />
       <formatter type="plain" usefile="no"/>
@@ -296,6 +301,11 @@
   </target>
 
   <target name="run.quick.tests" depends="compileSqlc,generate.entities.quick">
+    
+    <copy todir="${build}">
+      <fileset dir="${base.src.test}" includes="**/*.xml" />
+    </copy>
+    
     <junit printsummary="yes" haltonfailure="yes">
       <classpath refid="project.class.path" />
       <formatter type="plain" usefile="no"/>
@@ -304,6 +314,11 @@
   </target>
 
   <target name="run.webservice.tests" depends="compileSqlc,generate.entities.quick">
+    
+    <copy todir="${build}">
+      <fileset dir="${base.src.test}" includes="**/*.xml" />
+    </copy>
+
     <junit printsummary="yes" haltonfailure="yes">
       <classpath refid="project.class.path" />
       <formatter type="plain" usefile="no"/>
@@ -403,7 +418,6 @@
     <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'" />
       <classpath refid="project.class.path" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
     <antcall target="postwad" inheritall="true" inheritrefs="true" />
   </target>
@@ -412,7 +426,6 @@
     <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'" />
       <classpath refid="project.class.path" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
     <antcall target="postwad" inheritall="true" inheritrefs="true" />
   </target>
@@ -478,7 +491,6 @@
     <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" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
   </target>
 
@@ -747,7 +759,6 @@
     <java classname="org.openbravo.translate.Translate" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}">
       <arg line="'${base.config}/Openbravo.properties' ${extension} '${base.modules}' '*/src'" />
       <classpath refid="project.class.path" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
   </target>
 
@@ -773,7 +784,6 @@
     <java classname="org.openbravo.translate.Translate" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}">
       <arg line="'${base.config}/Openbravo.properties' ${extension} '${basedir}'" />
       <classpath refid="project.class.path" />
-      <sysproperty key="java.security.egd" value="${java.security.egd}"/>
     </java>
   </target>