ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9239) hot-deploy component cannot reference /ofbiz/lib/*
Date Sat, 08 Jul 2017 11:19:00 GMT

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

Deepak Dixit commented on OFBIZ-9239:
-------------------------------------

Hi Wai,

As we are using gradle to build application you need to use gradle dependency to include jars.


> hot-deploy component cannot reference /ofbiz/lib/*
> --------------------------------------------------
>
>                 Key: OFBIZ-9239
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9239
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Wai
>
> I have a hotdeploy component that refers to jar files located in /ofbiz/lib/
> In /ofbiz/hot-deploy/mycomponent/ofbiz-component.xml I have the following entries...
>     <classpath type="jar" location="../../lib/*" />
>     <classpath type="jar" location="../../lib/example.jar" />
> When ofbiz is started I get the following relevant console messages...
> 2017-03-01 06:45:02,639 |main                 |ComponentContainer            |I| Auto-Loading
component directory : [/ofbiz/hot-deploy]
> 2017-03-01 06:45:02,663 |main                 |ComponentContainer            |W| Location
'/ofbiz/hot-deploy/mycomponent/build/lib' does not exist
> 2017-03-01 06:45:02,664 |main                 |ComponentContainer            |W| Location
'/ofbiz/hot-deploy/mycomponent/lib' does not exist
> Warning : Module classpath component '/ofbiz/hot-deploy/mycomponent/../../lib/*' is not
valid and will be ignored...
> 2017-03-01 06:45:02,666 |main                 |ComponentContainer            |I| Added
class path for component : [mycomponent]
> 2017-03-01 06:45:02,669 |main                 |ComponentContainer            |I| All
components loaded



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message