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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0002205
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2007-10-30 22:322008-07-03 18:03
ReportervillindView Statuspublic 
Assigned Torafaroda 
PrioritynormalResolutionfixedFixed in Version2.40beta
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0002205: Versioned files are modified during the setup process

DescriptionFiles that are versioned in the SVN are modified during the setup process. There is risk that someone accidentally checks in these changes into the SVN. Many on the files (log, jar, class) should not be in the source control in the first place, and database/build.xml should just read configuration and not to be altered.

How to reproduce:

svn co <path>
ant -f build.xml.template setup
svn st -q


All files that are modified (M) should be fixed either by removing from source control and adding them to the ignore list or then the file should not be modified.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0003514 closedrafaroda Versioned files are modified during the setup 

-  Notes
(0002551)
villind (viewer)
2007-11-19 12:45
edited on: 2008-06-12 09:22

Logged In: YES
user_id=61737
Originator: YES


One more file which is versioned and modified during the build: database/lib/dbmanager.jar

This should be excluded or the dbmanager build should not be part of the openbravo build.
(0002552)
rafaroda (viewer)
2007-11-21 10:41
edited on: 2008-06-12 09:22

Logged In: YES
user_id=1892190
Originator: NO

Hi Villind,

You are totally right. The rule must be:
* Files that are 'versioned' in SVN repository (i.e., files that can be both checked out and commited), should never be modified during installation and setup process.
Or, said in another way:
* Files created during installation and setup process, generated by compilation, should never be included in SVN repository.

We've identified the following files that have to be deleted from SVN repository and add to the ignore list:
setup/ant.install.log; setup/setup.jar; database/lib/dbmanager.jar

We would be very grateful if you could indicate us any other file in the same situation.

Concerning 'database/lib/dbmanager.jar' you're also right. By the moment, as 'dbmanager.jar' file isn't mature enough, it is built each time 'database.lib' is run. But this file will be excluded from the build process once it is stable.

Thank you very much for your feedback,

Rafa Roda Palacios
Openbravo engineering team
(0002553)
rafaroda (viewer)
2007-11-21 14:48
edited on: 2008-06-12 09:22

Logged In: YES
user_id=1892190
Originator: NO

Deleted 'database/lib/dbmanager.jar' file from SVN repository and added it to SVN ignore list ('setup/ant.install.log' and 'setup/setup.jar' no longer exist).
(0005794)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:43

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1823050 [^]

- Issue History
Date Modified Username Field Change
2008-07-03 18:03 plujan Status resolved => closed
2008-07-03 18:03 plujan Fixed in Version 2.40alpha-r2 => 2.40beta


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker