build.xml
changeset 20765 091b2c16deaf
parent 20746 d7795b2b29fe
child 24247 a0955a83d426
--- a/build.xml	Thu Jul 18 09:31:04 2013 +0530
+++ b/build.xml	Thu Jul 18 18:46:02 2013 +0530
@@ -372,9 +372,10 @@
   </target>
 
   <target name="migrate.attachments" depends="init">
-    <java classname="org.openbravo.erpCommon.utility.MigrateAttachments" fork="true" failonerror="yes" jvm="${env.JAVA_HOME}/bin/java">
+    <taskdef name="MigrateAttachments" classname="org.openbravo.erpCommon.utility.MigrateAttachments" >
       <classpath refid="project.class.path" />
-    </java>
+    </taskdef>
+    <MigrateAttachments/>
   </target>
 
   <target name="smartbuild" depends="init">