[jira] [Commented] (OFBIZ-7534) Migrate OFBiz from Apache Ant to Gradle build system

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

[jira] [Commented] (OFBIZ-7534) Migrate OFBiz from Apache Ant to Gradle build system

Nicolas Malin (Jira)

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

Taher Alkhateeb commented on OFBIZ-7534:
----------------------------------------

Hi Jacques,

Thank you for the feedback. To note:

- I think the start-batch and start-batch-secure should simply be replaced as follows:
linux: ./gradlew 'ofbiz --start' &
windows: start gradlew.bat 'ofbiz --start' (I think we might need a flag)

- No need for shell scripts, I can make "shortcut tasks" but then are there any default values for these parameters? If yes, tell me their values and I will create a task for it.

- Please note there are two types of tasks as I designed it. The first is OFBiz server tasks, they always start with 'ofbiz' or 'ofbizDebug' or 'ofbizSecure' They are really just a replacement to java -jar ofbiz.jar with the correct JVM arguments. The other set of tasks are called directly by name. I designed it this way so people talk to the server directly. Again, it is very easy to create shortcut tasks, but I just prefer minimalism. If you want shortcut or convenience tasks, I will add them. For example, loadDemo and testInteg are shortcut tasks. loadDemo translates to 'ofbiz --load-data'

Again, thank you for your feedback, and feel free to pitch in anything else you want.

> Migrate OFBiz from Apache Ant to Gradle build system
> ----------------------------------------------------
>
>                 Key: OFBIZ-7534
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7534
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Taher Alkhateeb
>            Assignee: Taher Alkhateeb
>              Labels: ant, build-tools, gradle
>         Attachments: ANT_GRADLE_COMPARISON.txt
>
>
> This is a major refactoring task referring to the [email thread|http://ofbiz.markmail.org/message/vstt3wxuubmjgmqj?q=Important+Changes+to+Trunk+and+Use+of+Ant+%26+Gradle] in which the community voted for the switch after a proposal from the PMC
> The purpose of this JIRA is to achieve the following objectives
> - Fully implement a working compiling system in Gradle that passes all tests
> - Remove all ant and maven build scripts from the system
> - update the documentation of the system to reflect these changes



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