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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020266
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-04-13 15:112012-05-02 17:28
ReportershuehnerView Statuspublic 
Assigned Tomigueldejuana 
PriorityurgentResolutionfixedFixed in Version3.0MP11
StatusclosedFix in branchpiFixed in SCM revision9f69a26123c3
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

0020266: ant install.source does not clean src-core/build, src-trl/build and src-wad/build

Descriptionant install.source does indirectly delete + recreate the main build folder
but does not do the same for the three sub-projects' build folders.

src-core/build
src-trl/build
src-wad/build

So old .class files present there will not be removed one a new install.source run.

Noticed in try as stale old .class files are still lying around after new compiles which does affect the api-check in some special situations.

Note: eclipse.install.source most like has the same problem.
Steps To Reproducechange one src-core java file to create a new inner class (as that produces a second .class file in addition to the normal one)
run ant core.lib to recompile core
now undo the java code-change
run ant install.source
noticed that the second .class file is still present and was not removed by ant install.source
Proposed SolutionManual fix is to run i.e.

ant -f src-core/build.xml clean
ant -f src-trlbuild.xml clean
ant -f src-wad/build.xml clean


Some equivalent of that in the correct place of install.source + eclipse.install.source should probably be sufficient.

note, probably a new small target should be added to call those three + that new target added to the depends line of 'install.source' & 'eclipse.install.source' after init before calling 'create.database'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0010943 closedshankarb ant clean target should really clean 
related to defect 0041924 newTriage Platform Base ant clean unification 

-  Notes
(0047669)
hgbot (developer)
2012-04-17 13:36

Repository: erp/devel/pi
Changeset: bc914387cb253e0d74aea3547d8d1575c0fd69ee
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Apr 17 13:34:24 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bc914387cb253e0d74aea3547d8d1575c0fd69ee [^]

Fixed issue 20266: install.source clean src-core,src-trl & src-wad build folder
New small target have been added to call src-core,src-trl and src-wad clean target. This new target have been added to the depends line of 'install.source' & 'eclipse.install.source' after init before calling 'create.database'.

---
M build.xml
---
(0047670)
migueldejuana (developer)
2012-04-17 13:38

Test Plan:

-See Steps To Reproduce and Proposed Solution.


Should be no risky.
(0047676)
hgbot (developer)
2012-04-17 18:02

Repository: erp/devel/pi
Changeset: 9f69a26123c3817e57782d580531c13d39e754e9
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Apr 17 18:00:02 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9f69a26123c3817e57782d580531c13d39e754e9 [^]

Fixed issue 20266: install.source clean src-core,src-trl & src-wad build folder
New small target have been added to call src-core,src-trl and src-wad clean target. This new target have been added to the depends line of 'install.source' & 'eclipse.install.source' after init before calling 'create.database'.

---
M build.xml
---
(0047718)
migueldejuana (developer)
2012-04-18 18:01

changeset: 16111:8f43187f575a
user: Miguel de Juana <miguel.dejuana@openbravo.com>
date: Tue Apr 17 14:40:31 2012 +0200
summary: related to 20266: Backout, error install.source
(0047821)
hudsonbot (developer)
2012-04-21 14:24

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2eb57286c1fc [^]

Maturity status: Test
(0047823)
hudsonbot (developer)
2012-04-21 14:24

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2eb57286c1fc [^]

Maturity status: Test
(0047869)
AugustoMauch (administrator)
2012-04-23 11:22

Clode reviewed and verified in pi@4c5f3e0c2556.
(0048241)
migueldejuana (developer)
2012-05-02 17:28

It has been reopened by accident.

- Issue History
Date Modified Username Field Change
2012-04-13 15:11 shuehner New Issue
2012-04-13 15:11 shuehner Assigned To => alostale
2012-04-13 15:11 shuehner Modules => Core
2012-04-16 14:29 alostale Assigned To alostale => migueldejuana
2012-04-17 13:36 hgbot Checkin
2012-04-17 13:36 hgbot Note Added: 0047669
2012-04-17 13:36 hgbot Status new => resolved
2012-04-17 13:36 hgbot Resolution open => fixed
2012-04-17 13:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bc914387cb253e0d74aea3547d8d1575c0fd69ee [^]
2012-04-17 13:38 migueldejuana Note Added: 0047670
2012-04-17 18:02 hgbot Checkin
2012-04-17 18:02 hgbot Note Added: 0047676
2012-04-17 18:02 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/bc914387cb253e0d74aea3547d8d1575c0fd69ee [^] => http://code.openbravo.com/erp/devel/pi/rev/9f69a26123c3817e57782d580531c13d39e754e9 [^]
2012-04-18 18:01 migueldejuana Note Added: 0047718
2012-04-21 14:24 hudsonbot Checkin
2012-04-21 14:24 hudsonbot Note Added: 0047821
2012-04-21 14:24 hudsonbot Checkin
2012-04-21 14:24 hudsonbot Note Added: 0047823
2012-04-23 11:22 AugustoMauch Note Added: 0047869
2012-04-23 11:22 AugustoMauch Status resolved => closed
2012-04-23 11:22 AugustoMauch Fixed in Version => 3.0MP11
2012-05-02 17:22 migueldejuana Assigned To migueldejuana => rgoris
2012-05-02 17:22 migueldejuana Status closed => new
2012-05-02 17:22 migueldejuana Resolution fixed => open
2012-05-02 17:22 migueldejuana Fixed in Version 3.0MP11 =>
2012-05-02 17:27 migueldejuana Status new => scheduled
2012-05-02 17:27 migueldejuana Assigned To rgoris => migueldejuana
2012-05-02 17:27 migueldejuana fix_in_branch => pi
2012-05-02 17:28 migueldejuana Status scheduled => resolved
2012-05-02 17:28 migueldejuana Fixed in Version => 3.0MP11
2012-05-02 17:28 migueldejuana Resolution open => fixed
2012-05-02 17:28 migueldejuana Note Added: 0048241
2012-05-02 17:28 migueldejuana Status resolved => closed
2012-05-11 10:45 shuehner Relationship added related to 0010943
2019-10-03 10:35 gorka_gil Relationship added related to 0041924


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker