[
https://issues.apache.org/jira/browse/OFBIZ-11315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008687#comment-17008687 ]
Jacques Le Roux commented on OFBIZ-11315:
-----------------------------------------
Hi Paul,
It's true that some code would need to be added.
Build time is not concerned as long as you don't trigger the "--graph" task:
{noformat}
C:\projectsASF\Git\ofbiz-framework>gradlew ofbiz
Starting a Gradle Daemon, 7 busy Daemons could not be reused, use --status for details
> Configure project :
You are using one or more deprecated Asciidoctor task or plugins. To help with migration run with --warnings=all
> Task :compileJava
> Task :compileGroovy
> Task :processResources UP-TO-DATE
> Task :classes
> Task :ofbiz
Config.java using configuration file start.properties
Set OFBIZ_HOME to - C:\projectsASF\Git\ofbiz-framework
[...]
{noformat}
So I don't think it's an issue for production. Maintaining the code is also not a concern regarding to build and running OFBiz in production or not. So I don't think it's a burden. Morevoer it's very few code: [^OFBIZ-11315_standard-no-prefix-format_0001-Implemented-Add-graph-option.patch] . So if ever it's no longer used it's easy to remove, a revert on a single commit is always simple. It's not always the case with multiple commits...
> Add “--graph” option
> --------------------
>
> Key: OFBIZ-11315
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11315> Project: OFBiz
> Issue Type: New Feature
> Components: framework
> Affects Versions: Trunk
> Reporter: Mathieu Lirzin
> Assignee: Mathieu Lirzin
> Priority: Minor
> Attachments: 0001-Implemented-Add-graph-option.patch, OFBIZ-11315-complete.patch, OFBIZ-11315_standard-no-prefix-format_0001-Implemented-Add-graph-option.patch, ofbiz.dot
>
>
> In order to inspect what components are loaded by OFBiz and their dependency
> relationship, it is convenient to have a visual graph representation.
> {code}
> gradlew "ofbiz --graph"
> {code}
> will output a {{ofbiz.dot}} file that can be processed with Graphviz:
> {code}
> cat ofbiz.dot | dot -T png -o ofbiz.png
> {code}
> Currently there is no dependency relationship specified by components but to check the kind of graph is produced it is possible to revert commit aae1c8a8f5fed7de717290c938297be62c0460fa
--
This message was sent by Atlassian Jira
(v8.3.4#803005)