update.database.launch
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 18 Mar 2015 10:50:25 +0100
changeset 26205 e7c1d9e51ba8
parent 1550 f84e3b62bd71
permissions -rw-r--r--
fixed bug 29329: can't download attachments for 2 rows with same name & no ext

When trying to download at once attachemnts for different records that have the
same name and it does not have extension, it fails.

The problem is in case of duplicated names to be included within the zipped file,
a number is appended to the file name before the extension. Extesion is present
is assumed, failing if not.

Fix: don't assume file name has extension.
rafael@1550
     1
<?xml version="1.0" encoding="UTF-8"?>
rafael@1550
     2
<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
rafael@1550
     3
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
rafael@1550
     4
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
rafael@1550
     5
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
rafael@1550
     6
<listEntry value="1"/>
rafael@1550
     7
</listAttribute>
rafael@1550
     8
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
rafael@1550
     9
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
rafael@1550
    10
</listAttribute>
rafael@1550
    11
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/openbravo}"/>
rafael@1550
    12
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
rafael@1550
    13
<stringAttribute key="org.eclipse.ant.ui.ATTR_BUILD_SCOPE" value="${none}"/>
rafael@1550
    14
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
rafael@1550
    15
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_TARGETS" value="update.database,"/>
rafael@1550
    16
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
rafael@1550
    17
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="openbravo"/>
rafael@1550
    18
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
rafael@1550
    19
<listEntry value="/openbravo/build.xml"/>
rafael@1550
    20
</listAttribute>
rafael@1550
    21
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/openbravo/build.xml}"/>
rafael@1550
    22
</launchConfiguration>