Related bug 27542: Added some options to ant task javac and dependence "init"
authorInigo Sanchez <inigo.sanchez@openbravo.com>
Thu, 04 Dec 2014 10:11:17 +0100
changeset 25525 ef79806f8488
parent 25524 2f5ab667b99a
child 25526 27969a86b459
Related bug 27542: Added some options to ant task javac and dependence "init"

It have been added options to ant task javac like fork, deprecation,encoding,
debug and debuglevel. Besides, it has been added dependence "init" to setup ant task.
build.xml
--- a/build.xml	Thu Dec 04 10:20:33 2014 +0100
+++ b/build.xml	Thu Dec 04 10:11:17 2014 +0100
@@ -997,12 +997,12 @@
   
   <target name="setup.compile">
 	<mkdir dir="build/classes" />
-    <javac srcdir="src/org/openbravo/configuration" destdir="build/classes" includeantruntime="false">
+    <javac srcdir="src/org/openbravo/configuration" destdir="build/classes" fork="true" deprecation="off" encoding="UTF-8" debug="true" debuglevel="lines,vars,source" includeantruntime="false">
       <classpath refid="project.class.path"/>  
     </javac>
   </target>
 
-  <target name="setup" depends="setup.compile">    
+  <target name="setup" depends="init, setup.compile">
     <echo message="Launching configuration application..."/>
     <taskdef name="configurationApp" classname="org.openbravo.configuration.ConfigurationApp">
       <classpath refid="project.class.path" />