Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010091Openbravo ERPA. Platformpublic2009-07-28 15:442012-04-01 20:37
psarobe 
guilleaer 
normalmajoralways
closedfixed 
5
pi 
3.0MP10 
Core
No
0010091: To run the ant task package.core you need to compile
This is wrong. You should able to run this task without to compile
1. Do a clone of PI
2. run the task ant package.core
 you will see this error

BUILD SUCCESSFUL
Total time: 8 seconds
C:\OpenbravoERP-Main-obx\main>ant package.core
Buildfile: build.xml

set.code.rev:

code.rev:

init:

set.version.from.file:

set.version.calculated:
     [echo] calculating core revision...

BUILD FAILED
C:\OpenbravoERP-Main-obx\main\build.xml:887: taskdef class org.openbravo.erpCommon.utility
.CalculateCoreRevision cannot be found
No tags attached.
related to defect 0037496 closed shuehner CalculateCoreRevision class is unused and should be removed 
Issue History
2009-07-28 15:44psarobeNew Issue
2009-07-28 15:44psarobeAssigned To => rafaroda
2009-07-28 15:44psarobeStatusnew => scheduled
2009-07-28 15:44psarobeAssigned Torafaroda => shuehner
2009-07-28 15:44psarobefix_in_branch => pi
2009-07-28 15:53shuehnerNote Added: 0018660
2011-05-20 15:13psarobeNote Added: 0037281
2011-05-20 15:13psarobeTarget Version => 3.0MP0
2011-05-20 15:13psarobefix_in_branchpi =>
2011-05-20 15:13psarobePriorityhigh => urgent
2011-05-23 13:13shuehnerNote Added: 0037321
2011-05-23 13:13shuehnerPriorityurgent => normal
2011-05-23 13:46psarobeTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:57dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-08-02 12:46shuehnerNote Added: 0039770
2011-08-02 12:46shuehnerTarget Version3.0MP2 =>
2012-02-20 11:19shuehnerAssigned Toshuehner => alostale
2012-02-22 09:45alostaleAssigned Toalostale => guilleaer
2012-03-05 15:40hgbotCheckin
2012-03-05 15:40hgbotNote Added: 0046044
2012-03-05 15:40hgbotStatusscheduled => resolved
2012-03-05 15:40hgbotResolutionopen => fixed
2012-03-05 15:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cd0c49fbd501929417bedbdf90c6bcd6db11330a [^]
2012-03-07 11:15guilleaerNote Added: 0046122
2012-03-09 12:08alostaleNote Added: 0046227
2012-03-09 12:08alostaleStatusresolved => closed
2012-03-09 12:08alostaleFixed in Version => 3.0MP10
2012-04-01 20:37hudsonbotCheckin
2012-04-01 20:37hudsonbotNote Added: 0047032
2017-12-16 17:38shuehnerRelationship addedrelated to 0037496

Notes
(0018660)
shuehner   
2009-07-28 15:53   
The package.core task just uses one single java file. Problem is that this file is contained in src/ forcing the user to do full slow compile cycle. Moving the file to src-core and adding core.lib dependency to the package.core subtasks solves this easily.
(0037281)
psarobe   
2011-05-20 15:13   
Requires an api-change so better doing before mp0
(0037321)
shuehner   
2011-05-23 13:13   
update to priority normal: nice to have, but not must for mp0
(0039770)
shuehner   
2011-08-02 12:46   
postponing as doesn't fit in mp2
(0046044)
hgbot   
2012-03-05 15:40   
Repository: erp/devel/pi
Changeset: cd0c49fbd501929417bedbdf90c6bcd6db11330a
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Mar 02 10:57:07 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cd0c49fbd501929417bedbdf90c6bcd6db11330a [^]

Fixed issue 10091: Now run ant package.core is possible without compile

The tasks that were done in java file now are done using ant.

---
M build.xml
M src/org/openbravo/erpCommon/utility/CalculateCoreRevision.java
---
(0046122)
guilleaer   
2012-03-07 11:15   
Test plan
---------

1. Execute the command "ant package.core" in the terminal.
2. This task will be done without using the java class (CalculateCoreRevision.java).

Now this task doesn't need a full compilation.

Regression risk
---------------
ant package.core has been changed but its behavior shouldn't be changed
(0046227)
alostale   
2012-03-09 12:08   
Code reviewed and tested on pi@4fdfa4d1c5ba
(0047032)
hudsonbot   
2012-04-01 20:37   
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/640de9acc2d5 [^]

Maturity status: Test