Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

If you are new to OFBiz or come from an OFBiz version which uses Ant for building and now want to use a newer version with Gradle, here is the documentation you are looking for

Step-by-step guide

  1. Though it's part of the CleanAll Gradle task, you might be interested by the temporary cleanAnt task which cleans old artifacts generated by Ant. This task has been removed from the trunk but is still present in the R16.11 branch hence all R16.11.* releases
  2. If you used to run one of the download-* Ant targets (download-PG-JDBC, download-activemq, download-mySQL-JDBC) those have been removed.
    See  Unable to render Jira issues macro, execution error.  if interested in more details
  3. If you use your own custom libs (jar) shared by several of your own components you might put these libs in the lib folder just under the OFBiz root folder.
    You will find a README there with more details. You might also read  Unable to render Jira issues macro, execution error.  for history reason.
  4. It's clearly documented in the README.MD and below, but you might be interested to know that the debug port is now the standard 5005 rather than previously the OFBiz specific 8091
  5. If you are interested by all the changes done in the context of the Ant to Gradle migration please check  Unable to render Jira issues macro, execution error. .
    It's a WIP so there are still some minor issues pending (see sub-tasks there)


Gradle documentation

The documentation bloc below is the HTML import of the conversion of README.MD into HTML by Pandoc using this command line locally in root folder

pandoc README.md -s -o README.md.html

Here is README.md.html in the repository that you are reading below

Error rendering macro 'html'

URL was not found.

 

Gradle Plugins that could be used to improve OFBiz code

Style
https://docs.gradle.org/current/userguide/checkstyle_plugin.html

Bugs
https://docs.gradle.org/current/userguide/findbugs_plugin.html

Better code
https://docs.gradle.org/current/userguide/pmd_plugin.html
https://docs.gradle.org/current/userguide/jdepend_plugin.html
https://docs.gradle.org/current/userguide/codenarc_plugin.html

Tests coverage
https://plugins.gradle.org/plugin/org.sonarqube
https://docs.gradle.org/current/userguide/jacoco_plugin.html

  • No labels