src/buildAD.xml
author Augusto Mauch <augusto.mauch@openbravo.com>
Tue, 18 Mar 2014 17:23:09 +0100
changeset 22729 05acae86769b
parent 9085 79e55dfc8af0
permissions -rw-r--r--
Fixes issue 25558: Fixes callout of manual forms

The code that applies the response of the manual forms callout was taking for granted that there one only one frame called appFrame. This was true in Openbravo 2.50, but in Openbravo 3.0 many manual windows can be opened at the same time, so there may be several frames called appFrame in one given moment.

This has been fixed by storing the active manual frame (the one whose tab is focused), and using that frame when applying the response of the callout.
carlos@0
     1
<?xml version="1.0" encoding="ISO-8859-1" ?>
carlos@0
     2
<!--
carlos@0
     3
 *************************************************************************
carlos@0
     4
 * The contents of this file are subject to the Openbravo  Public  License
priya@9085
     5
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     7
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     8
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    11
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    12
 * under the License. 
carlos@0
    13
 * The Original Code is Openbravo ERP. 
ggi@6702
    14
 * The Initial Developer of the Original Code is Openbravo SLU 
antonio@7592
    15
 * All portions are Copyright (C) 2001-2010 Openbravo SLU 
carlos@0
    16
 * All Rights Reserved. 
carlos@0
    17
 * Contributor(s):  ______________________________________.
carlos@0
    18
 ************************************************************************
carlos@0
    19
-->
carlos@0
    20
carlos@0
    21
<project name="openbravo" default="buildAD" basedir=".">
martin@2868
    22
  <property environment="env" />
martin@2868
    23
  <property name="separator" value="/" />
martin@2868
    24
carlos@0
    25
  <target name="buildAD">
martin@2868
    26
    <java classname="org.openbravo.data.Sqlc" fork="yes" jvm="${env.JAVA_HOME}/bin/java" maxmemory="${build.maxmemory}">
martin@2868
    27
      <arg line="'${base.config}'/Openbravo.properties .xsql ../srcAD '${build.sqlc}'/src" />
stefan@5227
    28
      <jvmarg value="-Dsqlc.queryExecutionStrategy=traditional"/>
martin@2868
    29
      <classpath refid="project.class.path" />
antonio@7592
    30
      <syspropertyset>
antonio@7592
    31
         <propertyref name="java.security.egd" />
antonio@7592
    32
      </syspropertyset>
carlos@0
    33
    </java>
carlos@0
    34
carlos@0
    35
  </target>
carlos@0
    36
</project>