Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009758Openbravo ERPA. Platformpublic2009-07-03 11:532009-07-27 00:00
vmromanos 
mtaal 
normalminoralways
closedfixed 
20Ubuntu 8.04
pi 
pi2.50MP3 
Core
No
0009758: Validation error when packaging a module with hidden folders/files
If you try to package a module with hidden folders/files (like .svn, .hg), the package process shows the following error:

$ ant package.module -Dmodule=org.openbravo.module.taxreportlauncher

Buildfile: build.xml

package.module:
     [echo] Validating Module...
[validateModules] 0    [main] ERROR SystemValidation  -
[validateModules]
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++
[validateModules] Errors for Validation type: MODULE_ERROR
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++
[validateModules] The source directory of the Module Tax Report Launcher is
invalid, it contains directories which are not part of the javaPackage of the
module: org.openbravo.module.taxreportlauncher
[validateModules] The source directory of the Module Tax Report Launcher is
invalid, it contains directories which are not part of the javaPackage of the
module: org.openbravo.module.taxreportlauncher
[validateModules] The source directory of the Module Tax Report Launcher is
invalid, it contains directories which are not part of the javaPackage of the
module: org.openbravo.module.taxreportlauncher
[validateModules] The source directory of the Module Tax Report Launcher is
invalid, it contains directories which are not part of the javaPackage of the
module: org.openbravo.module.taxreportlauncher
Package a module with a hidden folder
250MP3releasecandidate
Issue History
2009-07-03 11:53vmromanosNew Issue
2009-07-03 11:53vmromanosAssigned To => mtaal
2009-07-03 11:56hgbotCheckin
2009-07-03 11:56hgbotNote Added: 0017783
2009-07-03 11:56hgbotStatusnew => resolved
2009-07-03 11:56hgbotResolutionopen => fixed
2009-07-03 11:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8936c5b606d457cae8bfcc9b3344711fa66876ad [^]
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-26 22:07psarobeStatusresolved => closed
2009-07-27 00:00anonymoussf_bug_id0 => 2827492

Notes
(0017783)
hgbot   
2009-07-03 11:56   
Repository: erp/devel/pi
Changeset: 8936c5b606d457cae8bfcc9b3344711fa66876ad
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jul 03 11:55:55 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8936c5b606d457cae8bfcc9b3344711fa66876ad [^]

fixes issue 9758: Validation error when packaging a module with hidden folders/files

---
M src/org/openbravo/service/system/ModuleValidator.java
---