[ 
https://issues.apache.org/jira/browse/OFBIZ-7016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15403947#comment-15403947
 ] 

Jacques Le Roux commented on OFBIZ-7016:
----------------------------------------

Here I'm quoting myself from a comment at bottom of OFBIZ-7923
{quote}
I quickly tried to move the DemoMarketing.xml file in marketing/data/ but using 
component syntax does not work in ofbiz-component.xml files:
{code}
<entity-resource type="data" reader-name="demo" loader="main" 
location="component://marketing/data/DemoMarketing.xml"/>
{code}
does not work, you get 

{code}
2016-08-01 16:07:31,434 |main                 |EntityDataLoader              
|W| Could not get URL for Component ResourceHandler: 
org.apache.ofbiz.base.component.ComponentException: File Resource not found: 
C:/projectASF-Mars/ofbiz/specialpurpose/ecommerce/component://marketing/data/DemoMarketing.xml
{code}

The loaded in ofbiz-component.xml refers to the local component, hence 
*C:/projectASF-Mars/ofbiz/specialpurpose/ecommerce/component://marketing/data/DemoMarketing.xml*

We need another solution, or to code that there...later...
{quote}

> move base component demo data from specialpurpose/ecommerce to base components
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7016
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7016
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: specialpurpose/ecommerce
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Priority: Critical
>
> Currently a lot of demo data exists in the ecommerce component that should go 
> into the appropriate base components (e.g. party, product, etc)...
> If a adopting organisation wants to assess OFBiz without the components in 
> special purpose (which should be possible), loading of the demo data of sec 
> the base components fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to