You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2021/03/27 13:53:14 UTC

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

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: dev@poi.apache.org
          Reporter: kiwiwings@apache.org
  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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #6 from Dominik Stadler <do...@gmx.at> ---
Disabled the Maven-based SonarQube run via r1889200 to see if the Gradle-based
task works now. 

We then can finally get rid of the Maven-build in directory "sonar", which will
reduce maintenance work for the build-systems.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #3 from Andreas Beeker <ki...@apache.org> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #5 from Andreas Beeker <ki...@apache.org> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Dominik Stadler <do...@gmx.at> ---
This is mostly done, the last release was performed via the Gradle build. 

We will remove stuff from the Ant build now step by step as we go along, some
of it is still called from the Gradle build currently.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsubelman@redwood.cl

--- Comment #7 from Dominik Stadler <do...@gmx.at> ---
*** Bug 65101 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65206] Migrate ant / maven to gradle build

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65206

--- Comment #4 from Dominik Stadler <do...@gmx.at> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org