Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006766Openbravo ERPY. DBSourceManagerpublic2009-01-02 11:322009-04-21 11:09
jpabloae 
mtaal 
highmajoralways
closedfixed 
20Gentoo - 2.6.25
pi 
 
Core
No
0006766: create.database insufficiente output with Ant 1.7.1
The create.database task shows almost no output when using Ant 1.7.1. I attach 2 logs to compare them:

* create-db_ant171.log: "ant create.database" log when using Ant 1.7.1
* create-db_ant170.log: "ant create.database" log when using Ant 1.7.0
1. Install Ant 1.7.0
2. Run "ant create.database"
3. Install Ant 1.7.1
4. Run "ant create.database"
5. Compare the outputs
No tags attached.
log create-db_ant170.log (1,795) 2009-01-02 11:35
https://issues.openbravo.com/file_download.php?file_id=613&type=bug
log create-db_ant171.log (727) 2009-01-02 11:35
https://issues.openbravo.com/file_download.php?file_id=614&type=bug
log retest_ant_171.log (3,711) 2009-01-06 15:40
https://issues.openbravo.com/file_download.php?file_id=619&type=bug
Issue History
2009-01-02 11:32jpabloaeNew Issue
2009-01-02 11:32jpabloaeAssigned To => marvintm
2009-01-02 11:32jpabloaesf_bug_id0 => 2482163
2009-01-02 11:32jpabloaeRegression testing => No
2009-01-02 11:34jpabloaeSummarycreate.database insufficiente output swith Ant 1.7.1 => create.database insufficiente output with Ant 1.7.1
2009-01-02 11:35jpabloaeFile Added: create-db_ant170.log
2009-01-02 11:35jpabloaeFile Added: create-db_ant171.log
2009-01-05 18:36iciordiaAssigned Tomarvintm => mtaal
2009-01-06 15:40mtaalNote Added: 0011929
2009-01-06 15:40mtaalFile Added: retest_ant_171.log
2009-01-06 15:40mtaalAssigned Tomtaal => jpabloae
2009-01-06 15:40mtaalStatusnew => feedback
2009-01-06 16:23jpabloaeNote Added: 0011932
2009-01-06 17:08jpabloaeStatusfeedback => new
2009-01-06 17:09jpabloaeAssigned Tojpabloae => mtaal
2009-01-07 14:23svnbotCheckin
2009-01-07 14:23svnbotNote Added: 0011947
2009-01-07 14:23svnbotStatusnew => resolved
2009-01-07 14:23svnbotResolutionopen => fixed
2009-01-07 14:23svnbotsvn_revision => 11683
2009-04-21 11:09psarobeStatusresolved => closed

Notes
(0011929)
mtaal   
2009-01-06 15:40   
Hi Juan Pablo,
I tested this with ant 1.7.1 but I got a different result than you. See the attached log file. I downloaded ant 1.7.1 and unzipped it in a directory and used this ant version to do create.database.

Maybe you have used a different install procedure, so what do you mean with install ant 1.7.1?

gr. Martin
(0011932)
jpabloae   
2009-01-06 16:23   
This is the procedure I follow:

- Download apache-ant-1.7.1-bin.tar.gz from http://ant.apache.org/bindownload.cgi. [^]
- Open a terminal session:
  - Extract it with "tar zxvf" into e.g. /home/jpabloae/tmp/apache-ant-1.7.1
  - export ANT_HOME=/home/jpabloae/tmp/apache-ant-1.7.1
  - export PATH=$ANT_HOME/bin:$PATH
  - cd openbravo/trunk
  - ant create.database
(0011947)
svnbot   
2009-01-07 14:23   
Repository: openbravo
Revision: 11683
Author: mtaal
Date: 2009-01-07 14:23:03 +0100 (Wed, 07 Jan 2009)

Fixes issue 6766, create.database insufficiente output with Ant 1.7.1, Updated dbsourcemanager tasks to log through the OBLogAppender by setting the ant Project instance in the OBLogAppender.

---
U trunk/src/org/openbravo/erpCommon/utility/AntExecutor.java
U trunk/src-db/database/lib/dbsourcemanager.jar
---

https://dev.openbravo.com/websvn/openbravo/?rev=11683&sc=1 [^]