You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ta...@apache.org on 2018/03/20 12:33:43 UTC

svn commit: r1827302 - /ofbiz/ofbiz-framework/trunk/build.gradle

Author: taher
Date: Tue Mar 20 12:33:43 2018
New Revision: 1827302

URL: http://svn.apache.org/viewvc?rev=1827302&view=rev
Log:
Fixed: bug in running asciidoctor on windows clients
(OFBIZ-9873)

Asciidoctor crashes on some windows systems when generating PDF outputs. The
reason for the crash is an issue in one of the transitive dependencies from
asciidoctorj-pdf to jruby-complete which is problematic on windows.

The solution is to bump jruby-complete to the latest version which resolves the
issue, but keep a comment so that we may remove this line in future upgrades of
asciidoctor. For more info visit the above mentioned JIRA.

Thank you: Jacques Le Roux for researching , providing a solution and testing

Modified:
    ofbiz/ofbiz-framework/trunk/build.gradle

Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1827302&r1=1827301&r2=1827302&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Tue Mar 20 12:33:43 2018
@@ -31,6 +31,8 @@ buildscript {
         classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:latest.release'
         classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
         classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16'
+        // asciidoctorj-pdf bug workaround - override jruby. See OFBIZ-9873
+        classpath 'org.jruby:jruby-complete:9.1.13.0'
     }
 }
 apply plugin: 'java'