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

Taher Alkhateeb updated OFBIZ-7937:
-----------------------------------
    Description: 
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.

  was:
Quoting Taher in OFBIZ-7893
{quote}
We should fine tune the sourcesets block (specifically the resources section) 
to exclude whatever we want in there.
{quote}
{quote}
It would be great to identify the exact resources needed for startup. The 
reason why we have excess ones is because I included everything in every config 
folder. I know that the properties files in the start component are necessary 
and probably also the files in the config directory of the base component. I'm 
not sure that this covers everything needed for starting up the server. Ideas?
{quote}



> 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
>            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)

Reply via email to