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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015464
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminorhave not tried2010-12-16 17:112010-12-16 19:52
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision8a2597384269
ProjectionnoneETAnoneTarget Version2.50MP25
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

0015464: excludeFilter for modulescripts & modules/*/src-wad in compileSqlc task is not working

Descriptionwhich 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 ReproduceUsing i.e. mp21
Try to update from selector version 1.0.11 or 1.0.12 to 1.0.13 (not yet released)
Proposed Solutiona.) fix exclude in compileSqlc
b.) define minimal classpath for Wad so it does not pickup random other classfiles from various locations.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00154632.50MP25 closedshuehner excludeFilter for modulescripts & modules/*/src-wad in compileSqlc task is not working 

-  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 (developer)
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
Powered by Mantis Bugtracker