[jira] [Commented] (OFBIZ-7772) createComponent tasks does not ask for parameters (should we?)

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

[jira] [Commented] (OFBIZ-7772) createComponent tasks does not ask for parameters (should we?)

Nicolas Malin (Jira)

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

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

Pierre, did you read the README.MD file?
{quote}
---- Create a custom component in hot-deploy
`gradlew createComponent -PcomponentName=Custom -PcomponentResourceName=Custom -PwebappName=customweb
PbasePermission=OFBTOOLS,CUSTOM_SECURITY`
{quote}

It seems like unlike the Ant target currently it does not ask you interactively for parameters.

You could contribute, a good way to learn Gradle ;) I changed the title...

> createComponent tasks does not ask for parameters (should we?)
> --------------------------------------------------------------
>
>                 Key: OFBIZ-7772
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7772
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>
> When executing the gradle createComponent tasks the following error is thrown:
> {code}
> :createComponent FAILED
> FAILURE: Build failed with an exception.
> * Where:
> Build file '/Users/pierre/dev/ofbiz/ofbiz-gradle/build.gradle' line: 412
> * What went wrong:
> Execution failed for task ':createComponent'.
> > Could not find property 'componentName' on task ':createComponent'.
> {code}
> The function is missing the same guided-through approach as ./ant create-component has.



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