[ https://issues.apache.org/jira/browse/OFBIZ-9972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702097#comment-16702097 ]
Mathieu Lirzin commented on OFBIZ-9972: --------------------------------------- Hello Taher, As described in your second link, I would advocate adopting the standard [“Application” plugin|https://docs.gradle.org/current/userguide/application_plugin.html] which in recent Gradle version provides a {{--args}} command line option to the {{:run}} task. The benefits would be a meaningful reduction of OFBiz specific code in the {{build.gradle}} which helps maintainability and a familiar interface for people already familiar with common Gradle idioms. In any case, I have tried to upgrade {{OFBiz}} Gradle wrapper to 5.0 (as done in [^OFBIZ-9972_Upgrade-to-Gradle-5.0.patch]) and everything seems to work perfectly even {{./gradlew "ofbiz --test"}}. > Find an alternative suitable syntax for OFBiz rule tasks in gradle > ------------------------------------------------------------------ > > Key: OFBIZ-9972 > URL: https://issues.apache.org/jira/browse/OFBIZ-9972 > Project: OFBiz > Issue Type: Improvement > Reporter: Taher Alkhateeb > Priority: Major > Attachments: OFBIZ-9972_Upgrade-to-Gradle-5.0.patch > > > In testing OFBiz with a new version of gradle, I identified a potential > problem. The rule based tasks such as "ofbiz --test" will not work in > versions 5 and above. The exact error message that I received is: > The task name 'ofbiz --test' contains at least one of the following > characters: [ , /, \, :, <, >, ", ?, *, |]. This has been deprecated and is > scheduled to be removed in Gradle 5.0. > In other words, spaces are not allowed. We need to find an alternative > solution. -- This message was sent by Atlassian JIRA (v7.6.3#76005)