[jira] [Created] (OFBIZ-9239) hot-deploy component cannot reference /ofbiz/lib/*

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9239) hot-deploy component cannot reference /ofbiz/lib/*

Nicolas Malin (Jira)
Wai created OFBIZ-9239:
--------------------------

             Summary: 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.3.15#6346)