[jira] [Commented] (OFBIZ-3500) Umbrella issue for components dependency

2021-11-28 Thread Ioan Eugen Stan (Jira)


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

Ioan Eugen Stan commented on OFBIZ-3500:


I have spent some time on figuring out how to break ofbiz into real gradle 
projects and I got a good feel of how things are right now.

This is added as source sets dynamically. 

We can break ofbiz first into: 
 * framework
 * application
 * themes
 * plugins - should add plugins dynamically 

{noformat}
getDirectoryInActiveComponentsIfExists lib []

getDirectoryInActiveComponentsIfExists src/main/java 

[framework/base/src/main/java, framework/entity/src/main/java, 
framework/security/src/main/java, framework/datafile/src/main/java, 
framework/minilang/src/main/java, framework/common/src/main/java, 
framework/service/src/main/java, framework/catalina/src/main/java, 
framework/entityext/src/main/java, framework/webapp/src/main/java, 
framework/widget/src/main/java, framework/testtools/src/main/java, 
framework/webtools/src/main/java, applications/party/src/main/java, 
applications/securityext/src/main/java, applications/content/src/main/java, 
applications/workeffort/src/main/java, applications/product/src/main/java, 
applications/manufacturing/src/main/java, 
applications/accounting/src/main/java, applications/humanres/src/main/java, 
applications/order/src/main/java, applications/marketing/src/main/java, 
plugins/rest-api/src/main/java, framework/start/src/main/java]

getDirectoryInActiveComponentsIfExists src/main/groovy 

[framework/service/src/main/groovy, framework/webtools/src/main/groovy, 
applications/party/src/main/groovy, applications/content/src/main/groovy, 
applications/product/src/main/groovy, applications/accounting/src/main/groovy, 
applications/order/src/main/groovy, applications/marketing/src/main/groovy]
getDirectoryInActiveComponentsIfExists src/main/resources 
[framework/base/src/main/resources, framework/entity/src/main/resources, 
framework/minilang/src/main/resources, framework/common/src/main/resources, 
framework/webapp/src/main/resources, framework/widget/src/main/resources, 
framework/webtools/src/main/resources, applications/content/src/main/resources, 
applications/product/src/main/resources, framework/start/src/main/resources]

getDirectoryInActiveComponentsIfExists config 

[framework/base/config, framework/entity/config, framework/security/config, 
framework/minilang/config, framework/common/config, framework/service/config, 
framework/catalina/config, framework/entityext/config, framework/webapp/config, 
framework/widget/config, framework/webtools/config, themes/netdavaofbiz/config, 
themes/rainbowstone/config, themes/helveticus/config, 
themes/common-theme/config, applications/party/config, 
applications/securityext/config, applications/content/config, 
applications/workeffort/config, applications/product/config, 
applications/manufacturing/config, applications/accounting/config, 
applications/humanres/config, applications/order/config, 
applications/marketing/config, applications/commonext/config, 
plugins/rest-api/config]

getDirectoryInActiveComponentsIfExists dtd 

[framework/base/dtd, framework/entity/dtd, framework/security/dtd, 
framework/datafile/dtd, framework/minilang/dtd, framework/service/dtd, 
framework/webapp/dtd, framework/widget/dtd, framework/testtools/dtd, 
applications/content/dtd, applications/product/dtd, plugins/rest-api/dtd]

getDirectoryInActiveComponentsIfExists src/test/java 

[framework/base/src/test/java, framework/entity/src/test/java, 
framework/security/src/test/java, framework/common/src/test/java, 
framework/webapp/src/test/java, framework/widget/src/test/java, 
framework/start/src/test/java]

getDirectoryInActiveComponentsIfExists src/test/groovy 
[framework/base/src/test/groovy]

getDirectoryInActiveComponentsIfExists src/test/resources 
[framework/base/src/test/resources]

getDirectoryInActiveComponentsIfExists groovyScripts 
[framework/base/groovyScripts, framework/common/groovyScripts, 
framework/entityext/groovyScripts, framework/webtools/groovyScripts, 
applications/party/groovyScripts, applications/content/groovyScripts, 
applications/workeffort/groovyScripts, applications/product/groovyScripts, 
applications/manufacturing/groovyScripts, 
applications/accounting/groovyScripts, applications/humanres/groovyScripts, 
applications/order/groovyScripts, applications/marketing/groovyScripts, 
applications/commonext/groovyScripts]
{noformat}
 

 

> Umbrella issue for components dependency
> 
>
> Key: OFBIZ-3500
> URL: https://issues.apache.org/jira/browse/OFBIZ-3500
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Major
> Attachments: dependencyCheck.groovy
>
>

[jira] [Commented] (OFBIZ-3500) Umbrella issue for components dependency

2021-06-30 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-3500:


Thanks Eugen,

This should be best discussed in dev ML where the audience is bigger

> Umbrella issue for components dependency
> 
>
> Key: OFBIZ-3500
> URL: https://issues.apache.org/jira/browse/OFBIZ-3500
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Major
> Attachments: dependencyCheck.groovy
>
>
> This issue is dedicated to group components dependency related issues.
> Chris Snow created [this related Wiki 
> page|http://cwiki.apache.org/confluence/x/eIOJ]
> There is now a 
> https://cwiki.apache.org/confluence/display/OFBIZ/Component+and+Component+Set+Dependencies
>  wiki page which is more up to data (still small things to clean)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-3500) Umbrella issue for components dependency

2021-06-29 Thread Ioan Eugen Stan (Jira)


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

Ioan Eugen Stan commented on OFBIZ-3500:


I think this would be much simpler to see components if ofbiz used a 
build.gradle file (subproject)  per component. 
Right now activateComponent scans the classpath and creates gradle projects 
dynamically. 

Why not use actual build.gradle configurations for the framework and 
applications ?

Projects can use common dependencies: 
[https://stackoverflow.com/questions/9547170/in-gradle-how-do-i-declare-common-dependencies-in-a-single-place]
 :
{code:java}
libraries = [
spring: [ // Groovy list literal
"org.springframework:spring-core:3.1", 
"org.springframework:spring-jdbc:3.1"
]
]

dependencies { compile libraries.spring }
{code}
By using real projects we could also publish a jar per component and those 
could be used as libraries. 
I would love to use OFBiz framework as a library (the entity layer is very 
useful).

> Umbrella issue for components dependency
> 
>
> Key: OFBIZ-3500
> URL: https://issues.apache.org/jira/browse/OFBIZ-3500
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Major
> Attachments: dependencyCheck.groovy
>
>
> This issue is dedicated to group components dependency related issues.
> Chris Snow created [this related Wiki 
> page|http://cwiki.apache.org/confluence/x/eIOJ]
> There is now a 
> https://cwiki.apache.org/confluence/display/OFBIZ/Component+and+Component+Set+Dependencies
>  wiki page which is more up to data (still small things to clean)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)