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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009286
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-06-02 12:062009-06-20 00:00
ReporterjpabloaeView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revisionb0d067451972
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision497df2a505ef 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009286: Cannot run install.source without sampledata

DescriptionIt's not possible to run "ant install.source" without any XML files in referencedata. You get this error:

import.sample.data:

init:

compile.src.gen:

clean.src.gen:

generate.entities:
 [workflow] Adding param: /home/jpabloae/src/openbravo/erp/pi/src/org/openbravo/base/gen/gen_entity.oaw
 [workflow] Adding param: -pob.properties.location=/home/jpabloae/src/openbravo/erp/pi/config/Openbravo.properties
 [workflow] Adding param: -pbase.src.gen=/home/jpabloae/src/openbravo/erp/pi/src-gen
 [workflow] Adding param: --ant
    [javac] Compiling 441 source files to /home/jpabloae/src/openbravo/erp/pi/build/classes

import.sample.data:
     [echo] Importing sample reference data

BUILD FAILED
/home/jpabloae/src/openbravo/erp/pi/build.xml:501: The following error occurred while executing this line:
/home/jpabloae/src/openbravo/erp/pi/build.xml:405: The following error occurred while executing this line:
/home/jpabloae/src/openbravo/erp/pi/src/build.xml:180: org.openbravo.base.exception.OBException: No import files present in the import directory: /home/jpabloae/src/openbravo/erp/pi/referencedata/sampledata

Total time: 16 minutes 27 seconds
Steps To Reproduce1. Delete referencedata/sampledata/*
2. ant install.source
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0016855)
jpabloae (reporter)
2009-06-02 12:06

Reminder sent to: iciordia

(0016860)
jpabloae (reporter)
2009-06-02 12:24

Workaround:

Create a noclient.xml file in referencedata/sampledata/ with these lines:

<?xml version="1.0" encoding="UTF-8"?>
<ob:Openbravo xmlns:ob="http://www.openbravo.com"> [^]
</ob:Openbravo>
(0016861)
jpabloae (reporter)
2009-06-02 12:25

Lowering the priority because we have a workaround.

Reassigning to marvintm per request of iciordia.
(0017212)
hgbot (developer)
2009-06-11 12:18

Repository: erp/devel/pi
Changeset: b0d0674519720688182c688a75f66a704d69495b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jun 11 12:17:59 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b0d0674519720688182c688a75f66a704d69495b [^]

Fixed 9286. Now install.source should work without sampledata

---
M src/org/openbravo/service/db/ImportReferenceDataTask.java
---
(0017478)
sureshbabu (reporter)
2009-06-19 13:00

Tested working fine

- Issue History
Date Modified Username Field Change
2009-06-02 12:06 jpabloae New Issue
2009-06-02 12:06 jpabloae Assigned To => alostale
2009-06-02 12:06 jpabloae Issue Monitored: iciordia
2009-06-02 12:06 jpabloae Note Added: 0016855
2009-06-02 12:24 jpabloae Note Added: 0016860
2009-06-02 12:25 jpabloae Note Added: 0016861
2009-06-02 12:25 jpabloae Assigned To alostale => marvintm
2009-06-02 12:25 jpabloae Priority immediate => urgent
2009-06-05 13:13 psarobe Status new => scheduled
2009-06-05 13:13 psarobe fix_in_branch => pi
2009-06-11 12:18 hgbot Checkin
2009-06-11 12:18 hgbot Note Added: 0017212
2009-06-11 12:18 hgbot Status scheduled => resolved
2009-06-11 12:18 hgbot Resolution open => fixed
2009-06-11 12:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b0d0674519720688182c688a75f66a704d69495b [^]
2009-06-19 13:00 sureshbabu Status resolved => closed
2009-06-19 13:00 sureshbabu Note Added: 0017478
2009-06-19 13:00 sureshbabu Fixed in Version => pi
2009-06-20 00:00 anonymous sf_bug_id 0 => 2809269


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker