Openbravo Issue Tracking System - Modules
View Issue Details
0048331ModulesReportingpublic2021-12-27 13:132021-12-27 16:46
shuehner 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
 
shuehner
0048331: org.openbravo.reporting.tools compilation of dataloader fails when targetDir is empty (i.e. first run)
The fix for 48319 is deleting the lib subfolder of the targetDir to start with a clean set of libraries.

That is failing on first run when the targetDir is empty as then the folder deletion fails

BUILD FAILED
<source.path>/modules/org.openbravo.reporting.tools/build.xml:168: Directory does not exist: /tmp/output/lib
mkdir /tmp/output
ant generate.dataloader.application -DtargetDir=/tmp/output
Adding failonerror="false" to the delete command should be sufficient.
No tags attached.
caused by defect 0048319 closed mtaal org.openbravo.reporting.tools compilation of dataloader does not support changed/removed libraries 
Issue History
2021-12-27 13:13shuehnerNew Issue
2021-12-27 13:13shuehnerAssigned To => mtaal
2021-12-27 13:14shuehnerRelationship addedcaused by 0048319
2021-12-27 16:18hgbotResolutionopen => fixed
2021-12-27 16:18hgbotStatusnew => resolved
2021-12-27 16:18hgbotNote Added: 0133993
2021-12-27 16:46shuehnerReview Assigned To => shuehner
2021-12-27 16:46shuehnerNote Added: 0133994
2021-12-27 16:46shuehnerStatusresolved => closed

Notes
(0133993)
hgbot   
2021-12-27 16:18   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.tools [^]
Changeset: ed3b1f9fd691591e20698f1d44a6168941866aba
Author: Martin Taal <martin.taal@openbravo.com>
Date: 27-12-2021 16:18:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.tools/-/commit/ed3b1f9fd691591e20698f1d44a6168941866aba [^]

Fixes ISSUE-0048331: org.openbravo.reporting.tools compilation of dataloader fails when targetDir is empty (i.e. first run)

---
M build.xml
---
(0133994)
shuehner   
2021-12-27 16:46   
Tested both:
- generate.dataloader.application initial run (empty targetDir)
  Working now
- repeated execution with changed jar-filename from source.path
  Still working and creating fresh lib folder in output (without duplicated jars)