• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebObjects Nightly Builds and WOLips addition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects Nightly Builds and WOLips addition


  • Subject: Re: WebObjects Nightly Builds and WOLips addition
  • From: Andrus Adamchik <email@hidden>
  • Date: Wed, 11 Jun 2008 16:42:50 +0300

There is one thing about Maven that I still don't get - blind advocacy that lures new users by forgetting to mention the "misery" factor. Some projects just have this aura of a cult that ignores all criticism. Please don't take this personally. I am simply referring to a repeating pattern that I noticed about Maven advocacy. I can only attribute that to the lack of decent competition in the build tools space (and the problem is indeed complex to be solved in a weekend of coding ... maybe Mike can do it, I can't :-)).

So let's present a full picture when recommending Maven to anybody.

I consider myself a power user of Maven. I wrote a number of plugins and maintain the poms on a rather complex project. And I am as dissatisfied with Ant lack of project model notion as anyone else. Still recently I advised a large commercial site against switching to Maven (and I ended up maintaining an ever growing Ant buildfiles as a result), as I still feel that it will be a death of a thousand cuts for the development team. I do agree that Maven has a superior model of a build system, and acknowledge its recent progress (for one thing Cayenne builds rarely break in the last 6 months), but the implementation and IDE integration is still a mess.

Cheers,
Andrus

On Jun 11, 2008, at 4:14 PM, Henrique Prange wrote:
Hi Ricardo,

Lachlan gave you a great overview of why use Maven. If you want to
know more, look at [1]. I've added some links about general Maven
stuff.

Just to summarize, Maven handles the entire lifecycle of a project -
from project creation, to build, deploy and versioning (SCM and
binary). It can also generate a site with documentation and reports
about the healthy of your project.

[1]http://wiki.objectstyle.org/confluence/display/WOL/General+Maven+Documentation

Cheers,

Henrique

On Wed, Jun 11, 2008 at 4:19 AM, Lachlan Deck <email@hidden> wrote:
Just some random thoughts...

On 11/06/2008, at 4:16 PM, Ricardo Parada wrote:

I know very little about maven. Why would one want to build apps this way

Lots of reasons. Some WO(Lips) particulars
- classpath works ;-) It's all defined once.
- not dependent on installed environment (e.g., spurious wobuild.properties,
custom ant stuff)
- don't need to switch installed environments


More seriously, someone else may be able to summarise its benefits more
succinctly. The best thing to do as an into (I think) is to read up on maven
to see if you'd like to use it:
- http://maven.apache.org/
- http://maven.apache.org/guides/getting-started/index.html


The second one listed above will run you through the overall concepts and is
quite helpful in introducing you to the various aspects of maven. Pay
particular attention to the links from that page (e.g., to the maven model -
which describes the various xml elements and what they do).


Installing maven is simple. e.g., (for mac)
# install macports if not present already (macports.org)
$ sudo port -d selfupdate
$ sudo port install maven2

and use this project structure?

The default project structure (as shown) is the recommended one. It's the
standard maven layout. The reasons for this is so that, from project to
project, any developer knows where to find things, where to put things -
whether familiar with WO or otherwise and also Maven's build system does
stuff by default (without need for further configuration) with these
files/resources when compiling/packaging/installing/testing etc.


The mantra is standard conventions over configuration. [1]

You can configure things (which I've done for transitioning) to work with
your current bunny layout. e.g., if you're just wanting to kick the tyres so
to speak. I'll write up how to do this on the wiki over the next day or so.
It's pretty simple.


It's helpful to read [2] first to get the idea of things, but [3] shows you
how to configure things for your build.


Is it so that it builds your projects and apps with the right version of
WO and other jars?

It will build it with what you define, sure.

The deployed app will then use / include the version specified during the
build? Is that what this is for?

It will do that too. But this is not specifically what it's for as you can
do that already with ant or any other build system.


[1] http://maven.apache.org/benefits-of-using-maven.html
[2] http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
[3] http://maven.apache.org/ref/2.0.8/maven-model/maven.html

with regards,
--

Lachlan Deck
_______________________________________________
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

_______________________________________________
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


_______________________________________________ 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: 
 >Re: WebObjects Nightly Builds and WOLips addition (From: Mark Ritchie <email@hidden>)
 >Re: WebObjects Nightly Builds and WOLips addition (From: David Holt <email@hidden>)
 >Re: WebObjects Nightly Builds and WOLips addition (From: Ricardo Parada <email@hidden>)
 >Re: WebObjects Nightly Builds and WOLips addition (From: Lachlan Deck <email@hidden>)
 >Re: WebObjects Nightly Builds and WOLips addition (From: "Henrique Prange" <email@hidden>)

  • Prev by Date: Re: Fluffy Bunny + Re: WebObjects Nightly Builds and WOLips addition
  • Next by Date: Re: Interesting...
  • Previous by thread: Re: WebObjects Nightly Builds and WOLips addition
  • Next by thread: Interesting...
  • Index(es):
    • Date
    • Thread