[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=15355315#comment-15355315 ]

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

Hi Pierre,

Thank you for your feedback. in reply:

- Yes I realize ant is not removed, this will happen in a later commit. This is a big task and I'm taking it in bite sizes, keeping ant as backup before I delete it
- It's better to use readme.md than readme because of the clarity of the output given that most of the readme is rewritten anyway.
- A simple find would suffice to find the eclipse command, anyway, no problem I can make a reference to it
- Your permission problem is there because I'm attaching a patch, not applying a commit. Patches do not preserve permissions. This issue will be resolved once a commit is pushed to trunk. You don't need to "stop" because of simple file permission issues.
- I did not remove the jars despite removing the .classpath file just to show that it works. There is a simple command ./gradlew eclipse which immediately generates the files you need
- the ./gradlew ofbiz command is named like that because this is a rule, not a fixed command. You can read more on gradle rules, but in essence, ./gradlw ofbiz is comparable to java -jar ofbiz.jar ... it's a gateway to all OFBiz commands.

> 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: Upcoming Branch
>            Reporter: Taher Alkhateeb
>            Assignee: Taher Alkhateeb
>              Labels: ant, build-tools, gradle
>         Attachments: ANT_GRADLE_COMPARISON.txt, OFBIZ-7534.patch, OFBIZ-7534.patch, OFBIZ-7534.patch, build.gradle, gradle-wrapper.jar
>
>
> 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)