You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2016/10/11 17:53:21 UTC

[jira] [Closed] (OFBIZ-7937) Shortlist the needed resources to start OFBiz in the sourcesets block in Gradle

     [ https://issues.apache.org/jira/browse/OFBIZ-7937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-7937.
----------------------------------
    Resolution: Fixed

Fixed at revision: 1764280

Apart a bunch of files and directories present in config directories which should not have been included in ofbiz.jar, I removed all properties files but some, and the entityengine config xml file. They are needed for unit tests run by Gradle and integration tests. The list of these not excluded files may need to be augmented when new unit tests will be added...

I also removed the DTDs from the resources, they are useless there.


> Shortlist the needed resources to start OFBiz in the sourcesets block in Gradle
> -------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7937
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7937
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: Gradle
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> In gradle we must define both the java sources and resources (non-java files) that allow the system to start correctly.
> Currently, the sources are defined as the folders for each component in /src/main/java and the resources are defined as the /config directory in each component. However, this is not necessary because many components have a config directory which is not related to the runtime resources needed for OFBiz to run. So we need to identify and shortlist the resources essential for the system to actually run. We should do that in the sourcesets block.



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