Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005961Openbravo ERPY. DBSourceManagerpublic2008-11-14 09:282009-04-22 00:00
marvintm 
marvintm 
highmajoralways
closedfixed 
5
 
 
Core
No
0005961: After removing dbsourcemanagerlight.jar, update.database doesn't work
After removing dbsourcemanagerlight.jar file from the Openbravo trunk, update.database fails with this error:

BUILD FAILED
/home/openbravo/workspaces/modularity/openbravo/build.xml:348: The following error occurred while executing this line:
/home/openbravo/workspaces/modularity/openbravo/src-db/database/build.xml:75: taskdef class org.openbravo.ddlutils.task.CreateDatabase cannot be found

The reason for this is a wrong reference in the classpath in the src-db/database/build.xml file.
Just do update.database in Openbravo trunk.
The classpath runtime-classpath-create has to be removed from the src-db/database/build.xml file, and createdatabase task should use standard classpath. It should be noted that create.database task actually uses the src-db/database/build-create.xml file instead of the standard one, because of issues when trying to use it without a compiled DAL. However, it is necessary to fix it in order for ant to allow other tasks to be used.
dbsm_migrate
Issue History
2008-11-14 09:28marvintmNew Issue
2008-11-14 09:30svnbotCheckin
2008-11-14 09:30svnbotNote Added: 0010273
2008-11-14 09:30svnbotStatusnew => resolved
2008-11-14 09:30svnbotResolutionopen => fixed
2008-11-14 09:30svnbotsvn_revision => 10019
2008-11-28 12:54jpabloaeAssigned To => marvintm
2008-12-18 12:38jpabloaeSticky IssueNo => Yes
2008-12-18 12:39jpabloaeSticky IssueYes => No
2008-12-18 12:39jpabloaeTag Attached: dbsm_migrate
2008-12-18 12:41jpabloaeProject@4@ => Openbravo ERP
2008-12-18 12:41jpabloaeCategory => Y. DBSourceManager
2009-04-21 11:07psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777914

Notes
(0010273)
svnbot   
2008-11-14 09:30   
Repository: openbravo
Revision: 10019
Author: marvintm
Date: 2008-11-14 09:29:47 +0100 (Fri, 14 Nov 2008)

Fixed issue 5961. Now update.database should work again, instead of giving a 'taskdef class not found' error.

---
U trunk/src-db/database/build.xml
---

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