Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005961
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajoralways2008-11-14 09:282009-04-22 00:00
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision10019
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0005961: After removing dbsourcemanagerlight.jar, update.database doesn't work

DescriptionAfter 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.
Steps To ReproduceJust do update.database in Openbravo trunk.
Proposed SolutionThe 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.
Tagsdbsm_migrate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0010273)
svnbot (reporter)
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 [^]

- Issue History
Date Modified Username Field Change
2008-11-14 09:28 marvintm New Issue
2008-11-14 09:30 svnbot Checkin
2008-11-14 09:30 svnbot Note Added: 0010273
2008-11-14 09:30 svnbot Status new => resolved
2008-11-14 09:30 svnbot Resolution open => fixed
2008-11-14 09:30 svnbot svn_revision => 10019
2008-11-28 12:54 jpabloae Assigned To => marvintm
2008-12-18 12:38 jpabloae Sticky Issue No => Yes
2008-12-18 12:39 jpabloae Sticky Issue Yes => No
2008-12-18 12:39 jpabloae Tag Attached: dbsm_migrate
2008-12-18 12:41 jpabloae Project @4@ => Openbravo ERP
2008-12-18 12:41 jpabloae Category => Y. DBSourceManager
2009-04-21 11:07 psarobe Status resolved => closed
2009-04-22 00:00 anonymous sf_bug_id 0 => 2777914


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker