You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jean-Baptiste Quenot <jb...@apache.org> on 2006/09/30 00:46:42 UTC
Re: BUILD SUCCESSFUL (Was: Maven info wanted)
* Reinhard Poetz:
> We have invested a lot of time into making trunk build with
> M2. And don't forget that it's much more than just compiling the
> thing.
>
> We have two archetypes, one deployment plugin, the documentation
> which is exported using Maven, a working integration build,
> reports and certainly much more. Also don't forget that
> releasing a Cocoon artifact has become very simple.
An update to this:
It is technically possible to have Ivy and Maven coexist, at least
as a temporary solution because they don't overlap with eachother.
So we may continue using Maven 2 for some specific things.
Also, I wanted to share some amazing good news with you:
BUILD SUCCESSFUL
Total time: 4 minutes 15 seconds
This is the result of building Cocoon trunk with all blocks ;-) I
let you guess how... If I have some spare time I'll have a
look at the deployer plugin. Can you point me to relevant
documentation? I only found a [1] retired document. What is the
entry point of the deployer if I want to run it let's say from the
command-line?
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
[1] http://cocoon.zones.apache.org/daisy/documentation/795.html
Re: BUILD SUCCESSFUL (Was: Maven info wanted)
Posted by Vadim Gritsenko <va...@reverycodes.com>.
Jorg Heymans wrote:
> On 30 Sep 2006, at 15:03, Jean-Baptiste Quenot wrote:
>
>> Did you turn on Maven's offline mode? In my experience the
>> offline mode is not reliable, you often have to switch back
>> online, and then you don't have the same build duration! It's
>> something I can't bear with Maven 2: why bother doing HTTP
>> requests as the jar is already fetched?!
>
> Does this really matter? How often during development of a typical
> webapplication do you invoke your build system?
At least once for each commit ;-)
At least that's how it should be. Since it's too slow, I'm now resolved to doing
it once a week :-P
Vadim
Re: BUILD SUCCESSFUL (Was: Maven info wanted)
Posted by Jorg Heymans <jh...@domek.be>.
On 30 Sep 2006, at 15:03, Jean-Baptiste Quenot wrote:
>
> Did you turn on Maven's offline mode? In my experience the
> offline mode is not reliable, you often have to switch back
> online, and then you don't have the same build duration! It's
> something I can't bear with Maven 2: why bother doing HTTP
> requests as the jar is already fetched?!
<sigh>
Does this really matter? How often during development of a typical
webapplication do you invoke your build system? I don't know about
you but for me, using maven in a project does not mean i type "mvn
clean install" from the project root every 2 minutes. I'll invoke it
to regenerate the eclipse project files, i'll invoke it each time i
need to deliver a new EAR for testing and a few times in between to
regenerate hibernate descriptors through xdoclet. That's *it*,
everything else is pretty much IDE driven.
So frankly if you're suggesting me an alternative build system that
does less http requests, has better logging output or compiles my
code 50% faster then i can't honestly say i'm interested as it's not
at all what having a standardized build system is all about.
Regards,
Jorg
Re: BUILD SUCCESSFUL (Was: Maven info wanted)
Posted by Jean-Baptiste Quenot <jb...@apache.org>.
* Reinhard Poetz:
> Jean-Baptiste Quenot wrote:
>
> > Also, I wanted to share some amazing good news with you:
> > BUILD SUCCESSFUL
> > Total time: 4 minutes 15 seconds
>
> What is so amazing about this figures? Here is the output of
> "mvn compile", of course after calling mvn clean. I ran the
> build on my two years old laptop:
>
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 28 seconds
> [INFO] Finished at: Sat Sep 30 11:02:17 GMT+01:00 2006
> [INFO] Final Memory: 35M/63M
> [INFO] ------------------------------------------------------------------------
Did you turn on Maven's offline mode? In my experience the
offline mode is not reliable, you often have to switch back
online, and then you don't have the same build duration! It's
something I can't bear with Maven 2: why bother doing HTTP
requests as the jar is already fetched?!
> Can't you use the Maven descriptors for your purpose so that we
> have to declare things only once?
That's what I do, Ivy files are automatically generated from POMs
using XSLT, no manual editing of the generated files is necessary
afterwards. There are also a bunch of build.xml files that are
generated in every module.
Cheers,
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
Re: BUILD SUCCESSFUL (Was: Maven info wanted)
Posted by Reinhard Poetz <re...@apache.org>.
Reinhard Poetz wrote:
> Jean-Baptiste Quenot wrote:
>> * Reinhard Poetz:
>>
>>> We have invested a lot of time into making trunk build with
>>> M2. And don't forget that it's much more than just compiling the
>>> thing.
>>>
>>> We have two archetypes, one deployment plugin, the documentation
>>> which is exported using Maven, a working integration build,
>>> reports and certainly much more. Also don't forget that
>>> releasing a Cocoon artifact has become very simple.
>>
>> An update to this:
>>
>> It is technically possible to have Ivy and Maven coexist, at least
>> as a temporary solution because they don't overlap with eachother.
>> So we may continue using Maven 2 for some specific things.
>
> hmmm, do you really want to maintain two build systems? I have to say
> that I'm against going down this path.
Can't you use the Maven descriptors for your purpose so that we have to declare
things only once?
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Re: BUILD SUCCESSFUL (Was: Maven info wanted)
Posted by Reinhard Poetz <re...@apache.org>.
Jean-Baptiste Quenot wrote:
> * Reinhard Poetz:
>
>> We have invested a lot of time into making trunk build with
>> M2. And don't forget that it's much more than just compiling the
>> thing.
>>
>> We have two archetypes, one deployment plugin, the documentation
>> which is exported using Maven, a working integration build,
>> reports and certainly much more. Also don't forget that
>> releasing a Cocoon artifact has become very simple.
>
> An update to this:
>
> It is technically possible to have Ivy and Maven coexist, at least
> as a temporary solution because they don't overlap with eachother.
> So we may continue using Maven 2 for some specific things.
hmmm, do you really want to maintain two build systems? I have to say that I'm
against going down this path.
> Also, I wanted to share some amazing good news with you:
>
> BUILD SUCCESSFUL
> Total time: 4 minutes 15 seconds
What is so amazing about this figures? Here is the output of "mvn compile", of
course after calling mvn clean. I ran the build on my two years old laptop:
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 28 seconds
[INFO] Finished at: Sat Sep 30 11:02:17 GMT+01:00 2006
[INFO] Final Memory: 35M/63M
[INFO] ------------------------------------------------------------------------
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
___________________________________________________________
Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de