I looked at the solr ref guide build and started converting it to
Gradle but have a question to Mark (because he coordinates the
effort).

What immediately jumps into face is the decision problem -- do we want
to emulate what ant does at the moment or do we want to clean it up
(breaking file/ folder structure and causing incompatibility with ant
build).

I went the "compatible" way and started porting ant tasks but it's
quite awkward. For example -- there are template properties that refer
to ivy version properties... we could emulate/ compute these but it's
a pain. The way the module is currently structured is also awkward -
it'd be more natural to have a separate java project with the "tools"
required to compile extra stuff and just reference it from the manual
build (and this would be a plain module, not a java module). This
would limit the need for customizing source sets, classpaths, etc.

My few initial tasks syncing sources, setting up infrastructure to
filter templates and compiling the required tools are here:
https://github.com/apache/lucene-solr/compare/jira/SOLR-13452_gradle_7_refguide...dweiss:jira/SOLR-13452_gradle_7_refguide?expand=1

I'll stop and wait for feedback (especially on the ivy versions issue)
before I resume.

Dawid

On Wed, Sep 25, 2019 at 6:20 PM Dawid Weiss <dawid.we...@gmail.com> wrote:
>
> Never mind, I've got it.
>
> D.
>
> On Wed, Sep 25, 2019 at 7:59 AM Dawid Weiss <dawid.we...@gmail.com> wrote:
> >
> > Hi Cassandra,
> >
> > > I’m more than happy to share more details our current build so we can 
> > > replicate some of the above steps, but I’m stuck without a lot more basic 
> > > Gradle skills that I don’t have time to acquire with day-job/personal 
> > > life commitments. I put it into a separate branch so we could iterate a 
> > > little easier, can anyone help?
> >
> > Where is this branch you made changes on? If you can point me at the
> > corresponding ant code I'll try to help you out.
> >
> > Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to