[jira] [Commented] (OFBIZ-6268) Improve Start.java Component Loading

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

[jira] [Commented] (OFBIZ-6268) Improve Start.java Component Loading

Nicolas Malin (Jira)

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

Jacopo Cappellato commented on OFBIZ-6268:
------------------------------------------

This is indeed a good point and a good idea for an improvement.
The current code that does this:
{code}
        collectClasspathEntries(new File(home, "framework"), classPath, libraryPath);
        collectClasspathEntries(new File(home, "applications"), classPath, libraryPath);
        collectClasspathEntries(new File(home, "specialpurpose"), classPath, libraryPath);
        collectClasspathEntries(new File(home, "hot-deploy"), classPath, libraryPath);
{code}

should instead look at the content of the component-loader file you mention; I didn't think about it when I have implemented the code.


> Improve Start.java Component Loading
> ------------------------------------
>
>                 Key: OFBIZ-6268
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6268
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Upcoming Branch
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: OFBIZ-6268.patch
>
>
> The current code for loading components parses configuration files twice. This issue is intended for review of code improvements.



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