Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: deprecated


Info

If you are new to OFBiz, or come from

...

an OFBiz version whic


Warning
titleDeprecated

This is quite deprecated now (2021/02/05)


h uses Ant for building and you now want to use a newer version with Gradle, here is the documentation you are looking for.

This is for the trunk and releases post R16.11. If you are looking for the same for a R16.11 releases see From Ant to Gradle - R16.11 version

Table of Contents
maxLevel2

Step-by-step guide

  1. If you used to run one of the download-* Ant targets (download-PG-JDBC, download-activemq, download-mySQL-JDBC) those have been removed.
    See 
    Jira
    serverASF JIRA
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
    keyOFBIZ-7793
     if interested in more details
  2. 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 
    Jira
    serverASF JIRA
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
    keyOFBIZ-7910
     for history reason.
  3. 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
  4. If you are interested by all the changes done in the context of the Ant to Gradle migration please check 
    Jira
    serverASF JIRA
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
    keyOFBIZ-7534
    .

...

Surviving Corporate Environments with Gradle - Gradle Summit 2016

I thought it would be interesting to share this (disclaimer: maybe some parts are already obsolete):

Widget Connector
urlhttps://www.youtube.com/watch?v=7G_9ZrYErkA


 

...

Gradle documentation

The documentation bloc below is the HTML import of the conversion of the main README.adoc (in OFBiz root) into HTML by Asciidoctor

Code Block
asciidoctor README.adoc -o tools/wiki-files/README.htm

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

HTML
script#http#https://svnci.apache.org/viewvcprojects/ofbiz/site/trunk/toolsreadme/documentationhtml5/README.md.html?view=co&content-type=text%2Fplain
 

 

Step-by-step guide

 

...

Content by Label
showLabelsfalse
max5
spacesOFBIZ
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("ant","gradle","migration") and type = "page" and space = "OFBIZ"
labelsAnt Gradle migration

html

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

 
Page properties
hiddentrue


Related issues

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyOFBIZ-7534

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyOFBIZ-7888

http://markmail.org/message/cxwgpzn5swbmwzo4

https://blog.gradle.org/introducing-composite-builds

http://blog.jdriven.com/2016/10/gradle-goodness-add-not-apply-plugin-using-plugins-block/

https://jitpack.io/private

Page properties
hiddentrue
Related issues