[
https://issues.apache.org/jira/browse/OFBIZ-7937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467163#comment-15467163
]
Taher Alkhateeb commented on OFBIZ-7937:
----------------------------------------
Since Pierre Smits already did the work of excluding the files, we can reuse
those files in the above mentioned sourceset block. Just as more exclude
expressions with a pattern to match whatever. It's pretty well documented in
[sourceset
documentation|https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:sourceSets(groovy.lang.Closure)]
> 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)