[jira] [Comment Edited] (OFBIZ-7808) Add Gradle Interactive tasks

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

[jira] [Comment Edited] (OFBIZ-7808) Add Gradle Interactive tasks

Nicolas Malin (Jira)

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

Taher Alkhateeb edited comment on OFBIZ-7808 at 7/27/16 11:57 AM:
------------------------------------------------------------------

Maybe also just adding a small statement, so something like:

If you have custom Ant build scripts which you would like to continue using after upgrading, then you can import these build scripts into Gradle using antImport. If you have a name conflict between your existing tasks and those defined in Gradle, then you can rename all Ant tasks using the following syntax:

{code}
ant.importBuild('build.xml') { antTargetName ->
    'ant-' + antTargetName //Rename each task by appending "ant-" to it
}
{code}


was (Author: taher):
Maybe also just adding a small statement, so something like:

If you have custom Ant build scripts which you would like to continue using after upgrading, then you can import these build scripts into Gradle using antImport. If you have a name conflict between your existing tasks and those defined in Gradle, then you can rename all Ant tasks using the following syntax:

{code:groovy}
ant.importBuild('build.xml') { antTargetName ->
    'ant-' + antTargetName //Rename each task by appending "ant-" to it
}
{code}

> Add Gradle Interactive tasks
> ----------------------------
>
>                 Key: OFBIZ-7808
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7808
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch
>
>
> As explained in OFBIZ-7772 and OFBIZ-7773 we want to test the possiblity to add Gradle Interactive tasks using https://github.com/tkruse/gradle-groovysh-plugin
> The idea is to have 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



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