Quickstart to Cocoon-2.2 with Maven (Was: Using trunk)

2006-02-28 Thread David Crossley
David Crossley wrote: > Reinhard Poetz wrote: > > David Crossley wrote: > > > > > >Lets say i am a brand new developer, eager to > > >try trunk. I can do svn stuff and have the checkout. > > > > > >The most recent Maven release 2.0.2 is installed > > >and set the environment. Never used Maven befor

Re: Using trunk

2006-02-28 Thread David Crossley
Tim Williams wrote: > David Crossley wrote: > > Giacomo Pati wrote: > > > David Crossley wrote: > > > > > > > >Yeah i have been doing that. Gets to a different place > > > >each time. There are many warnings from various repos, > > > >but it usually gets each from one of the alternates. > > > > > >

Re: Using trunk

2006-02-28 Thread Daniel Fagerstrom
David Crossley skrev: ... And the failures here are mostly from snapshots.maven.codehaus.org We should avoid the use of snapshots as far as possible. Besides the obvious wish to build Cocoon on stable ground, the snapshots complicates Maven use as Maven check the repositories for more recent

Re: Using trunk

2006-02-28 Thread Tim Williams
On 2/28/06, David Crossley <[EMAIL PROTECTED]> wrote: > Giacomo Pati wrote: > > David Crossley wrote: > > >Giacomo Pati wrote: > > >>David Crossley wrote: > > >>> > > >>>Would someone please help to get started with Maven. > > >>>Too many days have been wasted. > > >>> > > >>>I have today's Cocoon

Re: Using trunk

2006-02-28 Thread David Crossley
Giacomo Pati wrote: > David Crossley wrote: > >Giacomo Pati wrote: > >>David Crossley wrote: > >>> > >>>Would someone please help to get started with Maven. > >>>Too many days have been wasted. > >>> > >>>I have today's Cocoon trunk. Installed Maven-2.0.2 > >>> > >>>$ cd cocoon-trunk > >>>$ mvn -Dm

Re: Using trunk

2006-02-28 Thread David Crossley
Reinhard Poetz wrote: > David Crossley wrote: > > > >Lets say i am a brand new developer, eager to > >try trunk. I can do svn stuff and have the checkout. > > > >The most recent Maven release 2.0.2 is installed > >and set the environment. Never used Maven before > >other than to do 'mvn --version'.

Re: Using trunk

2006-02-28 Thread Giacomo Pati
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 28 Feb 2006, David Crossley wrote: Date: Tue, 28 Feb 2006 21:15:37 +1100 From: David Crossley <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Using trunk Giacomo Pati wrote: Hi David Gid

Re: Using trunk

2006-02-28 Thread Reinhard Poetz
David Crossley wrote: Reinhard Poetz wrote: It's strange as cocoon-default-1.0-SNAPSHOT.jar, which is one of our *own* modules should be build *locally* and put into your local repository and Maven should be able to pick it up at build time. Yeah, i thought that it was very strange. Lets s

Re: Using trunk

2006-02-28 Thread David Crossley
Giacomo Pati wrote: > > Hi David Gidday ol' mate. Thanks for helping. > David Crossley wrote: > > >Would someone please help to get started with Maven. > >Too many days have been wasted. > > > >I have today's Cocoon trunk. Installed Maven-2.0.2 > > > >$ cd cocoon-trunk > >$ mvn -Dmaven.test.ski

Re: Using trunk

2006-02-28 Thread David Crossley
Reinhard Poetz wrote: > > It's strange as cocoon-default-1.0-SNAPSHOT.jar, which is one of our *own* > modules should be build *locally* and put into your local repository and > Maven should be able to pick it up at build time. Yeah, i thought that it was very strange. Lets say i am a brand ne

Re: Using trunk

2006-02-28 Thread Reinhard Poetz
David Crossley wrote: Would someone please help to get started with Maven. Too many days have been wasted. I have today's Cocoon trunk. Installed Maven-2.0.2 $ cd cocoon-trunk $ mvn -Dmaven.test.skip=true clean install ... watch thousands of warnings and stuff go by. Then it gets to ... ==

Re: Using trunk

2006-02-27 Thread Giacomo Pati
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 27 Feb 2006, Ralph Goers wrote: Date: Mon, 27 Feb 2006 23:25:25 -0800 From: Ralph Goers <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org, [EMAIL PROTECTED] To: dev@cocoon.apache.org Subject: Re: Using trunk Giacomo Pati wrote:

Re: Using trunk

2006-02-27 Thread Ralph Goers
Giacomo Pati wrote: I've very few WARNING messages (except those for old jar 'Not a v4.0.0 POM' ones, which come from 'legacy' Maven artifact. The WARNIN message you've included above come IIRC from network problems Maven encountered during download of artifacts. Just redo again until Maven

Re: Using trunk

2006-02-27 Thread Giacomo Pati
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi David On Tue, 28 Feb 2006, David Crossley wrote: Date: Tue, 28 Feb 2006 18:02:49 +1100 From: David Crossley <[EMAIL PROTECTED]> Reply-To: dev@cocoon.apache.org To: dev@cocoon.apache.org Subject: Re: Using trunk Would someone please help

Re: Using trunk

2006-02-27 Thread David Crossley
Would someone please help to get started with Maven. Too many days have been wasted. I have today's Cocoon trunk. Installed Maven-2.0.2 $ cd cocoon-trunk $ mvn -Dmaven.test.skip=true clean install ... watch thousands of warnings and stuff go by. Then it gets to ... Downloading: htt

Re: Using trunk

2006-02-27 Thread Daniel Fagerstrom
Jean-Baptiste Quenot skrev: * Jean-Baptiste Quenot: ... Also had to disable this: @@ -36,9 +36,9 @@ cocoon-archetypes cocoon-core -cocoon-block-deployer -cocoon-blocks-fw -cocoon-default + + + cocoon-mocks cocoon-ajax They compile for me

Re: Using trunk

2006-02-27 Thread Daniel Fagerstrom
Yes, I just applied something similar. /Daniel Jean-Baptiste Quenot skrev: Do you agree with the following patch, so that plugin is downloaded automatically? Index: pom.xml ==

Re: Using trunk

2006-02-27 Thread Daniel Fagerstrom
Automatic downloading through Maven according to the README worked for me a day ago or so. It is probably a temporary problem. Right now we are using a snapshot of the maven-jetty6-plugin, this is because Jorg worked together with the Jetty plugin community to make it more suitable for us. But

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
* Reinhard Poetz: > Jean-Baptiste Quenot wrote: > > > * Reinhard Poetz: > > > > > Jean-Baptiste Quenot wrote: > > > > > > > > > > * Daniel Fagerstrom: > > > > > > > > > > > > > After having checked that the core actually can serve > > > > > the start page, it is time to start adding blocks. Th

Re: Using trunk

2006-02-27 Thread Reinhard Poetz
Jean-Baptiste Quenot wrote: * Reinhard Poetz: Jean-Baptiste Quenot wrote: * Daniel Fagerstrom: After having checked that the core actually can serve the start page, it is time to start adding blocks. This is done by adding the blocks that you want to the dependencies in the pom.xm

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
* Daniel Fagerstrom: > Now, it would of course be much more convenient if you could use > Cocoon without the need to copy a few files. To get to that > point someone need to write a Maven plug-in that perform the > work that I outlined above. It shouldn't be rocket science IMO. OK let's

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
* Reinhard Poetz: > Jean-Baptiste Quenot wrote: > > >* Daniel Fagerstrom: > > > > > After having checked that the core actually can serve the > > > start page, it is time to start adding blocks. This is done > > > by adding the blocks that you want to the dependencies in > > > the pom.xml o

Re: Using trunk

2006-02-27 Thread Reinhard Poetz
Jean-Baptiste Quenot wrote: * Daniel Fagerstrom: After having checked that the core actually can serve the start page, it is time to start adding blocks. This is done by adding the blocks that you want to the dependencies in the pom.xml of cocoon-webapp. Do we have a user-oriented tool

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
* Daniel Fagerstrom: > After having checked that the core actually can serve the start > page, it is time to start adding blocks. This is done by adding > the blocks that you want to the dependencies in the pom.xml of > cocoon-webapp. Do we have a user-oriented tool for that? -- Jean-Baptist

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
* Jean-Baptiste Quenot: > Do you agree with the following patch, so that plugin is > downloaded automatically? Oops, sorry, I didn't issue « cd cocoon-webapp ». It was there, not in the root directory. -- Jean-Baptiste Quenot http://caraldi.com/jbq/

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
* Jean-Baptiste Quenot: > Do you agree with the following patch, so that plugin is > downloaded automatically? Also had to disable this: @@ -36,9 +36,9 @@ cocoon-archetypes cocoon-core -cocoon-block-deployer -cocoon-blocks-fw -cocoon-default + + + cocoon

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
Do you agree with the following patch, so that plugin is downloaded automatically? -- Jean-Baptiste Quenot http://caraldi.com/jbq/ Index: pom.xml === --- pom.xml (revision 381303) +++ pom.xml (working copy) @@ -315,7 +315,6 @@

Re: Using trunk

2006-02-27 Thread Leszek Gawron
Jean-Baptiste Quenot wrote: * Daniel Fagerstrom: To use the current trunk you start with the cocoon-webapp. $ cd cocoon-webapp $ mvn war:inplace jetty6:run Hello Daniel, I get an error with the command you suggest. Shall I download the plugin? How? [ERROR] BUILD ERROR [INFO]

Re: Using trunk

2006-02-27 Thread Reinhard Poetz
Jean-Baptiste Quenot wrote: * Daniel Fagerstrom: To use the current trunk you start with the cocoon-webapp. $ cd cocoon-webapp $ mvn war:inplace jetty6:run Hello Daniel, I get an error with the command you suggest. Shall I download the plugin? How? [ERROR] BUILD ERROR [INFO]

Re: Using trunk

2006-02-27 Thread Jean-Baptiste Quenot
* Daniel Fagerstrom: > To use the current trunk you start with the cocoon-webapp. > > $ cd cocoon-webapp > $ mvn war:inplace jetty6:run Hello Daniel, I get an error with the command you suggest. Shall I download the plugin? How? [ERROR] BUILD ERROR [INFO]

Re: Using trunk

2006-02-25 Thread Ben Pope
On 25/02/06, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Carsten Ziegeler schrieb: > > Daniel Fagerstrom wrote: > >> So the problems this far seem to be that default types not are handled > >> in a back compatible ways for component includes and that components are > >> not inherited properly to

Re: Using trunk

2006-02-25 Thread Carsten Ziegeler
Carsten Ziegeler schrieb: > Daniel Fagerstrom wrote: >> So the problems this far seem to be that default types not are handled >> in a back compatible ways for component includes and that components are >> not inherited properly to subsitemaps. >> >> Hopefully Carsten have an idea about what is g

Re: Using trunk

2006-02-25 Thread Daniel Fagerstrom
Carsten Ziegeler skrev: Daniel Fagerstrom wrote: I described what files need to be copied in the first mail in the thread, it is as simple as that. 1. Add the block you want to depend on to the pom.xml in cocoon-webapp. 2. Copy the content of src/main/resources/WEB-INF in the blocks to the sr

Re: Using trunk

2006-02-25 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: > I described what files need to be copied in the first mail in the > thread, it is as simple as that. > > 1. Add the block you want to depend on to the pom.xml in cocoon-webapp. > 2. Copy the content of src/main/resources/WEB-INF in the blocks to the > src/main/webapp/W

Re: Using trunk

2006-02-25 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: > So the problems this far seem to be that default types not are handled > in a back compatible ways for component includes and that components are > not inherited properly to subsitemaps. > > Hopefully Carsten have an idea about what is going on. > I'll have a look at

Re: Using trunk

2006-02-25 Thread Daniel Fagerstrom
Leszek Gawron skrev: Daniel Fagerstrom wrote: To use the current trunk you start with the cocoon-webapp. $ cd cocoon-webapp $ mvn war:inplace jetty6:run Then you can point your browser at http://localhost:/cocoon-webapp/. I get this: Message: No default type exists for 'map:transform

Re: Using trunk

2006-02-25 Thread Daniel Fagerstrom
Carsten Ziegeler wrote: Daniel Fagerstrom wrote: People, there seem to be some myths about that the trunk is unstable and that it doesn't work anymore. And that I and other people have unstabilized it beyond recognitions with the work on the blocks architecture. I cannot speak for Carsten

Re: Using trunk

2006-02-24 Thread Ben Pope
On 24/02/06, Leszek Gawron <[EMAIL PROTECTED]> wrote: > Leszek Gawron wrote: > > Daniel Fagerstrom wrote: > > > >> To use the current trunk you start with the cocoon-webapp. > >> > >> $ cd cocoon-webapp > >> $ mvn war:inplace jetty6:run > >> > >> Then you can point your browser at http://localh

Re: Using trunk

2006-02-24 Thread Leszek Gawron
Leszek Gawron wrote: Daniel Fagerstrom wrote: To use the current trunk you start with the cocoon-webapp. $ cd cocoon-webapp $ mvn war:inplace jetty6:run Then you can point your browser at http://localhost:/cocoon-webapp/. I get this: Message: No default type exists for 'map:transfo

Re: Using trunk

2006-02-24 Thread Leszek Gawron
Daniel Fagerstrom wrote: To use the current trunk you start with the cocoon-webapp. $ cd cocoon-webapp $ mvn war:inplace jetty6:run Then you can point your browser at http://localhost:/cocoon-webapp/. I get this: Message: No default type exists for 'map:transform' at file:/C:/dev/apa

Re: Using trunk

2006-02-23 Thread Reinhard Poetz
Carsten Ziegeler wrote: Daniel Fagerstrom wrote: People, there seem to be some myths about that the trunk is unstable and that it doesn't work anymore. And that I and other people have unstabilized it beyond recognitions with the work on the blocks architecture. I cannot speak for Carsten's

Re: Using trunk

2006-02-23 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: > People, there seem to be some myths about that the trunk is unstable and > that it doesn't work anymore. And that I and other people have > unstabilized it beyond recognitions with the work on the blocks > architecture. > > I cannot speak for Carsten's work the last w

Re: Using trunk

2006-02-23 Thread David Crossley
Daniel Fagerstrom wrote: > People, there seem to be some myths about that the trunk is unstable and > that it doesn't work anymore. And that I and other people have > unstabilized it beyond recognitions with the work on the blocks > architecture. Not so. For many of us it is the hurdle of star

Re: Using trunk

2006-02-23 Thread Ralph Goers
Thanks Daniel, I will try to do this in the next few days. I can't promise anything but maybe I can figure out how to automate it. Ralph Daniel Fagerstrom wrote: People, there seem to be some myths about that the trunk is unstable and that it doesn't work anymore. And that I and other peopl

Using trunk

2006-02-23 Thread Daniel Fagerstrom
People, there seem to be some myths about that the trunk is unstable and that it doesn't work anymore. And that I and other people have unstabilized it beyond recognitions with the work on the blocks architecture. I cannot speak for Carsten's work the last week on switching to Spring (besides