Re: Maven
Re: Maven
- Subject: Re: Maven
- From: David LeBer <email@hidden>
- Date: Wed, 16 Nov 2011 18:02:55 -0500
On 2011-11-16, at 6:00 PM, Hugi Thordarson wrote:
>> Every person in Iceland works on iTunes?!!? :-P
>
> :)
>
>
>> After two beers, everything is burry to David.
>
> Not just David if I recall correctly :-p
*burry*? Clearly two beers aren't required either. ;-)
>
>
>>>> Ant is pretty simple. Mostly I don't even think about the Ant portion of my WO projects other than to tell Hudson that it has to issue an Ant command to build the project.
>>>
>>> Before you can even think about building WO projects using Ant you have to at least have woproject.jar in your Ant plugin classpath. And then, the only reason you don't think much about Ant is that Someone Else wrote a >200 line Ant script for you (that you are required to copy verbatim for each and every WO project you create. How's that for reusability).
>>
>> As opposed to copying and editing a pom.xml?
>
> Well, yes. There's nothing redundant in a pom. There's a shitload of redundancy in build.xml.
>
>
>>> The initial setup of a Maven environment for WO development may take an hour or two—that's because WO is proprietary and thus requires some installation. But once your environment is properly set up, Maven works great. I started out the easy way—just added a "pom.xml" to my standard frameworks alongside the "build.xml"-files (like Project Wonder does). But eventually, you'll want to use all the amazing features Maven has to offer.
>>
>> Like having to edit each pom when you make a new non-SNAPSHOT version?
>
> Currently, WO/Wonder development is all about snapshots, so you don't have to worry about that. If you like the current WO way of doing releases (which is just ignoring versions at all) do everything with snaphsots and use the pom.xml as a build.xml.
>
> As for myself, I think that's a bad development practice and Maven helps you kick it — *if* you want to.
>
>
>>> And it's so much simpler than the 200+ lines of procedural code every single simple little WO application requires to even build with Ant.
>>
>> But you don't have to mess with that.
>
> That's because it's a glorified shell script used to invoke javac, and doesn't do anything interesting. Unlike pom.xml, where every line is meaningful.
>
> - hugi _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Maven (From: David Avendasora <email@hidden>) |
| >Re: Maven (From: Chuck Hill <email@hidden>) |
| >Re: Maven (From: Hugi Thordarson <email@hidden>) |
| >Re: Maven (From: Atli Páll Hafsteinsson <email@hidden>) |
| >Re: Maven (From: David Avendasora <email@hidden>) |
| >Re: Maven (From: Hugi Thordarson <email@hidden>) |
| >Re: Maven (From: Chuck Hill <email@hidden>) |
| >Re: Maven (From: Hugi Thordarson <email@hidden>) |