[Bug 65206] New: Migrate ant / maven to gradle build

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 65206] New: Migrate ant / maven to gradle build

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

            Bug ID: 65206
           Summary: Migrate ant / maven to gradle build
           Product: POI
           Version: 5.0.x-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: POI Overall
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

In [1] we've discussed to fully migrate to gradle.

This ticket is for tracking the progress.


[1]
http://apache-poi.1045710.n5.nabble.com/Project-structure-gradle-build-tp5737471.html

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65206] Migrate ant / maven to gradle build

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #1 from Andreas Beeker <[hidden email]> ---
update gradle files and project structure along
https://github.com/centic9/poi/tree/gradle_build 
remove eclipse IDE project files
remove obsolete record generator files

applied via r1888111

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65206] Migrate ant / maven to gradle build

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #2 from Dominik Stadler <[hidden email]> ---
Removed japicmp via r1888138 as I got quite frustrated with the unmaintained
Gradle plugin and japicmp itself, feel free to add it again, but the documented
way did not work and throw strange error messages all the time...

Added rat-check via r1888139.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65206] Migrate ant / maven to gradle build

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #3 from Andreas Beeker <[hidden email]> ---
I begin to understand how gradle works - I'm currently migrating the
ooxml-schema generation. A few things like the incremental feature with
inputs/outputs don't work, but ants uptodate is to the rescue.

I've also spent some time to get the japicmp working a while back.
There's this 'me.champeau.gradle:japicmp-gradle-plugin:0.2.9' version ... but
that was a time when I didn't know the basics :(

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65206] Migrate ant / maven to gradle build

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #4 from Dominik Stadler <[hidden email]> ---
I saw that I am also quickly at the end of my Gradle-wits, but I found a few
Apache projects which are using Gradle already for their full release flow, so
hopefully we can "borrow" some parts from there.

e.g. https://github.com/apache/fineract/blob/develop/build.gradle and
https://github.com/apache/solr/blob/main/build.gradle

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 65206] Migrate ant / maven to gradle build

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #5 from Andreas Beeker <[hidden email]> ---
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had
problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work
applied via r1888488

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]