Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0015464 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] A. Platform | minor | have not tried | 2010-12-16 17:11 | 2010-12-16 19:52 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | shuehner | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | 8a2597384269 | |||
| Projection | none | ETA | none | Target Version | 2.50MP25 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0015464: excludeFilter for modulescripts & modules/*/src-wad in compileSqlc task is not working | |||||||
| Description | which leads to the classes of src-wad in a module not being excluded and being present in their current version in the normal classpath. When now a module is updated which has an 'internal' abi-change (like java and its xsql file in selector 1.0.12 -> 1.0.13) then Wad-call (using big project.class.path) will encounter the old class file from the wrong location, mixing it with the new class file for the xsql file and the whole update/compile willl fail. | |||||||
| Steps To Reproduce | Using i.e. mp21 Try to update from selector version 1.0.11 or 1.0.12 to 1.0.13 (not yet released) | |||||||
| Proposed Solution | a.) fix exclude in compileSqlc b.) define minimal classpath for Wad so it does not pickup random other classfiles from various locations. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0033245) hgbot (developer) 2010-12-16 17:44 |
Repository: erp/stable/2.50 Changeset: 8a25973842698edb3013065bf2d8ace599e65d52 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Thu Dec 16 17:41:19 2010 +0100 URL: http://code.openbravo.com/erp/stable/2.50/rev/8a25973842698edb3013065bf2d8ace599e65d52 [^] Fixed 15464: Fix updating modules having src-wad parts with internal changes The excludeFilter for the src-wad parts of a module did not work correctly so when updating a module having a src-wad which did changes its 'internal' api between i.e. a xsql-file and a java class calling this the update process failed it was mixing the old java class with the new version of the xsql file. Fixed by: - fixing exclude filter in compileSqlc task to really not module src-wad part of a module in normal compile - define a new minimal classpath for Wad invcocation during compilation to not pickup those unwanted .class file even if they do exist. - Along the way also fix excludeFilter in same location for src-util (moduleScripts) as it was also broken --- M build.xml M src/build.xml --- |
|
(0033253) marvintm (viewer) 2010-12-16 19:52 |
Works fine. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-12-16 17:11 | shuehner | Type | defect => backport |
| 2010-12-16 17:11 | shuehner | fix_in_branch | => 2.50 |
| 2010-12-16 17:44 | hgbot | Checkin | |
| 2010-12-16 17:44 | hgbot | Note Added: 0033245 | |
| 2010-12-16 17:44 | hgbot | Status | scheduled => resolved |
| 2010-12-16 17:44 | hgbot | Resolution | open => fixed |
| 2010-12-16 17:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/8a25973842698edb3013065bf2d8ace599e65d52 [^] |
| 2010-12-16 19:52 | marvintm | Note Added: 0033253 | |
| 2010-12-16 19:52 | marvintm | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |