Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014995Openbravo ERPA. Platformpublic2010-10-22 16:202010-12-16 22:16
vmromanos 
marvintm 
normalmajoralways
closedfixed 
20Debian 5.0
pi 
2.50MP25 
Core
No
0014995: Modulescript *Data.java files are created in the same module folder
I have an installation with several modules, where 2 of them have modulescripts.
I'm developing a new modulescript for my module.

When compiling the module script for my module (ant compile.modulescript -Dmodule=org.openbravo.assetsmanagement), all the modulescript *Data.java files created based on the .xsql files of the "other" modules are stored into my module folder:

 ? build/classes/org/openbravo/advpaymentmngt/modulescript/CreateAccountingConfigurationData.class
? build/classes/org/openbravo/advpaymentmngt/modulescript/CreateDocumentNoSequenceData.class
? build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateGeneratedUsedCreditColumnsData.class
? build/classes/org/openbravo/assetsmanagement/modulescript/CreateAccountingConfiguration4Assets.class
? build/classes/org/openbravo/assetsmanagement/modulescript/CreateAccountingConfiguration4AssetsData.class
? build/classes/org/openbravo/modulescript/CreatePeriodControlConfigurationData.class
? src-util/modulescript/src/org/openbravo/assetsmanagement/modulescript/CreateAccountingConfiguration4Assets.java
? src-util/modulescript/src/org/openbravo/assetsmanagement/modulescript/CreateAccountingConfiguration4Assets_data.xsql
? src-util/modulescript/src/src/org/openbravo/accrualsanddeferrals/modulescript/CreatePeriodControlConfigurationData.java
? src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/CreateAccountingConfigurationData.java
? src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/CreateDocumentNoSequenceData.java
? src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateGeneratedUsedCreditColumnsData.java
? src-util/modulescript/src/src/org/openbravo/assetsmanagement/modulescript/CreateAccountingConfiguration4AssetsData.java
See attached file
No tags attached.
has duplicate defect 0015145 closed marvintm compile.modulescript -Dmodule=[Module] compiles the files from all modules 
diff diffmodulescript.diff (827) 2010-10-22 16:20
https://issues.openbravo.com/file_download.php?file_id=3271&type=bug
Issue History
2010-10-22 16:20vmromanosNew Issue
2010-10-22 16:20vmromanosAssigned To => marvintm
2010-10-22 16:20vmromanosFile Added: diffmodulescript.diff
2010-10-22 16:21marvintmNote Added: 0032122
2010-10-22 16:22vmromanosversion => pi
2010-10-22 16:22vmromanosSummaryModulescripts *Data.java are created in the compiled module => Modulescript *Data.java files are created in the same module folder
2010-10-22 16:23vmromanosDescription Updatedbug_revision_view_page.php?rev_id=1122#r1122
2010-10-25 08:55alostaleStatusnew => scheduled
2010-11-25 11:56hgbotCheckin
2010-11-25 11:56hgbotNote Added: 0032842
2010-11-25 11:56hgbotStatusscheduled => resolved
2010-11-25 11:56hgbotResolutionopen => fixed
2010-11-25 11:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1842c1d65c817bdfbba6934fd1cb7896cda6486a [^]
2010-11-25 15:45marvintmRelationship addedhas duplicate 0015145
2010-11-30 17:52hudsonbotCheckin
2010-11-30 17:52hudsonbotNote Added: 0032946
2010-12-14 16:40alostaleStatusresolved => closed
2010-12-14 16:40alostaleFixed in Version => 2.50MP25
2010-12-16 22:16anonymoussf_bug_id0 => 3138787

Notes
(0032122)
marvintm   
2010-10-22 16:21   
buildvalidations probably are also affected and should be fixed in the same way
(0032842)
hgbot   
2010-11-25 11:56   
Repository: erp/devel/pi
Changeset: 1842c1d65c817bdfbba6934fd1cb7896cda6486a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Nov 25 11:46:00 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1842c1d65c817bdfbba6934fd1cb7896cda6486a [^]

Fixed issue 14995. compile.modulescript and compile.buildvalidation will no longer copy all the xsql related files of all the modules into the module you are compiling

---
M src-util/buildvalidation/build.xml
M src-util/modulescript/build.xml
---
(0032946)
hudsonbot   
2010-11-30 17:52   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/1842c1d65c81 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c27b4b566df [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19017.obx [^]