[jsword-devel] If Gradle is an improvement would you please post your files for a JSword build?

DM Smith dmsmith at crosswire.org
Thu Feb 25 12:58:54 MST 2010


To me the issue is that of accessibility not build.

When I first checked into maven, it merely was a different build 
process, touting to be better. At that time there was no compelling 
reason to use it as ant was doing everything we needed it to do. There 
was just not enough inertia to go for it.

Today, nearly every Java package is built with it. (At least all of 
JPackage has POMs.) By mavenizing JSword, it allows those that are 
comfortable with maven to get JSword in that way. Now there is enough 
inertia.

I don't see ant going away any time soon. I think that most Java 
developers expect to download a *src.tar.gz, unpack it and run ant 
without any arguments. Most implementations of ant have common arguments 
(all, compile, test, clean, ...) so the learning curve is low. This 
makes JSword very accessible.

Trent's maven implementation seems to provide the same simplicity.

I'm still learning about maven and will get up to speed. We will get a 
repository stood up somewhere, whether on the CrossWire server, 
elsewhere or both. Till then it will be just a build mechanism.

If someone wants to supply Gradle scripts, that'd be fine too. I 
wouldn't mind learning that one either. I haven't looked to see if 
there's enough inertia though.

In Him,
     DM

On 02/25/2010 02:03 PM, Chris Burrell wrote:
> I vote for Maven
>
> On 25 February 2010 18:18, <trent.jsword at trentonadams.ca 
> <mailto:trent.jsword at trentonadams.ca>> wrote:
>
>     That's one reason I wanted maven in JSword too. :D  At least, if
>     it's not in a repository, I can quickly grab jsword, build with
>     maven "mvn install" and have those JARs in my local repository
>     instantly.
>
>     Ultimately though, it would be nice to have it in the core maven repo.
>
>     ----- "Chris Burrell" <christopher at burrell.me.uk
>     <mailto:christopher at burrell.me.uk>> wrote:
>     > From: "Chris Burrell" <christopher at burrell.me.uk
>     <mailto:christopher at burrell.me.uk>>
>
>     > To: "J-Sword Developers Mailing List"
>     <jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org>>
>     > Sent: Thursday, February 25, 2010 10:50:29 AM GMT -06:00
>     US/Canada Central
>
>     > Subject: Re: [jsword-devel] If Gradle is an improvement would
>     you please post your files for a JSword build?
>     >
>     > I've never used Gradle but have used Maven a little bit. What
>     would be nice is that I could build my JSword dependant project by
>     retrieving the latest build from the repository.
>
>     >
>     Does Gradle offer this?
>     [Just thought I'd add thoughts from a developer who uses JSword as
>     a library, rather than develops JSword itself!]
>
>     >
>     and the link is gradle.org <http://gradle.org>, not .com
>     Chris
>
>     >
>     >
>     > On 25 February 2010 15:12, Manfred Bergmann <bergmannmd at web.de
>     <mailto:bergmannmd at web.de>> wrote:
>     >
>
>         I don't use Gradle for JSword but for almost all Java/Java
>         web/Scala projects that I'm working on. There is a Ant->Gradle
>         converter script which might be of use to port the existing
>         Ant files to Gradle.
>         > Yes, it is not yet version 1.0 but that doesn't mean
>         anything. AFAICT it is stable.
>         > However Gradle got some rather large changes from 0.5 to
>         0.6. Not so much the user API but under the hood and I believe
>         efforts are under way to port the core of the build system to
>         Java (it is currently Groovy) because of speed issues.
>         > Since I don't know Maven very well I can't say if does have
>         all the power of Maven.
>         > However it does have multi-project builds, plugin support,
>         dependency management. And the good thing you can configure
>         all this without XML files.
>         > And one feature I like very much, the build script are
>         actually Groovy scripts. That means you can add custom logic,
>         variables or methods to your script.
>         >
>         >
>         > Manfred
>         >
>         >
>         > Am 25.02.2010 um 13:27 schrieb avolunteer DrStovallFoundation:
>         >
>         >
>         > > If Gradle is an improvement would you please post your
>         files for a JSword build?  I looked at the first page of
>         gradle.com <http://gradle.com>.  I saw some nice but brief
>         boasts.  However it is still version 0.8.  I would rather
>         spend time using what promises to be the future rather than
>         spend more time learning what does seem to me to be overly
>         complex.  Is Gradle going to have all of the power of Maven?
>         > > Thanks for pointing us towards it,
>         > > A Volunteer
>         > >
>         > > Date: Mon, 22 Feb 2010 07:52:07 +0000
>         > > From: Manfred Bergmann <bergmannmd at web.de
>         <mailto:bergmannmd at web.de>>
>         > > Subject: Re: [jsword-devel] Doesn't Maven offer greater
>         power and
>         > >    flexability than Ant?
>         > > To: J-Sword Developers Mailing List
>         <jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org>>
>         > > Message-ID: <460D5BA1-924B-4109-A94F-7B3028714166 at web.de
>         <mailto:460D5BA1-924B-4109-A94F-7B3028714166 at web.de>>
>         > > Content-Type: text/plain; charset=us-ascii
>         > >
>         > > ...
>         > > Hmm. I'm actually hoping to not have work with Maven. I
>         used it some times for getting template projects for Apache
>         Wicket or Lift and some other but always found a way around it
>         since then. Maven is a monster. :)
>         > > I've come to use Gradle instead:
>         > > http://www.gradle.org/
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20100225/949c2b66/attachment-0001.html>


More information about the jsword-devel mailing list