[jira] [Commented] (OFBIZ-7773) createTenant tasks does not ask for parameters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7773) createTenant tasks does not ask for parameters

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-7773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376365#comment-15376365 ]

Jacques Le Roux commented on OFBIZ-7773:
----------------------------------------

Hi Pierre,

I'll not commit this patch for the reasons explained by different persons in the dev ML thread http://markmail.org/message/kfalr376grmi3prw

This said I'm still investigating a good general solution to allow users to not feel a funtional regression with the 3 interactive tasks we had before, namely
create-component
create-admin-user-login
create-tenant and all tasks it depends on

I see 2 possibilities:
# Using the [Gradle GUI|https://docs.gradle.org/current/userguide/tutorial_gradle_gui.html] as suggested Taher. But I did not find yet how to use it interactively without having maybe to program the Swing interface, which is not very appealing
# Follow [Apache Groovy team recommendation|http://www.groovy-lang.org/groovysh.html#GroovyShell-GradleGroovyshPlugin] which is to use https://github.com/tkruse/gradle-groovysh-plugin

I have not yet used the  Gradle plugin but it seems the most promising way. Of course having a completed Swing GUI would be very cool, but if only for these 3 tasks it seems a bit too much work.

> createTenant tasks does not ask for parameters
> ----------------------------------------------
>
>                 Key: OFBIZ-7773
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7773
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Blocker
>         Attachments: OFBIZ-7773-ofbiz.patch
>
>
> When executing the gradle createTenant tasks, the following error is thrown:
> {code}
> FAILURE: Build failed with an exception.
> * Where:
> Build file '/Users/pierre/dev/ofbiz/ofbiz-gradle/build.gradle' line: 328
> * What went wrong:
> Execution failed for task ':prepareAndValidateTenantArguments'.
> > Project property tenantId is missing
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
> BUILD FAILED
> {code}
> The function/process is missing the guided-through approach that ./ant create-tenant has.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)