You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Mark Lundquist <ml...@wrinkledog.com> on 2008/08/05 07:40:55 UTC

Build samples in trunk?

Hi, how can I build my own samples webapp?  I guess it can be done:

	http://cocoon.zones.apache.org/demos/trunk/

:-)

I thought maybe "mvn install" in dists/cocoon-dist-samples, but no go;  
it was missing these dependencies:

	org.apache.cocoon:cocoon-blocks-fw-demo1:jar:1.0.0-SNAPSHOT
	org.apache.cocoon:cocoon-blocks-fw-demo2:jar:1.0.0-SNAPSHOT
	org.apache.cocoon:cocoon-blocks-fw-sample:jar:1.0.0-SNAPSHOT

but that was just a guess anyway... maybe I was barking up the wrong  
tree here?

thx,
—ml—

Re: Build samples in trunk?

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Aug 5, 2008, at 12:52 AM, Grzegorz Kossakowski wrote:

> Just checkout trunk (master in Git) and say:
> mvn clean install [-P allblocks]
>
> This -P allblocks switch is optional and probably self-explaining.

right... been there and done that, but I didn't know that this built  
the samples too (hadn't noticed core/cocoon-webapp)

> then go to core/cocoon-webapp and run:
> mvn jetty:run

right — actually have to do

	mvn -P allblocks jetty:run

to get all the samples, I guess.

Okay, my next question is: how do I turn on the reloading classloader  
for this webapp?

thx,
—ml—



Re: Build samples in trunk?

Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
Mark Lundquist pisze:
> Hi, how can I build my own samples webapp?  I guess it can be done:
> 
>     http://cocoon.zones.apache.org/demos/trunk/
> 
> :-)
> 
> I thought maybe "mvn install" in dists/cocoon-dist-samples, but no go; 
> it was missing these dependencies:
> 
>     org.apache.cocoon:cocoon-blocks-fw-demo1:jar:1.0.0-SNAPSHOT
>     org.apache.cocoon:cocoon-blocks-fw-demo2:jar:1.0.0-SNAPSHOT
>     org.apache.cocoon:cocoon-blocks-fw-sample:jar:1.0.0-SNAPSHOT
> 
> but that was just a guess anyway... maybe I was barking up the wrong 
> tree here?

Just checkout trunk (master in Git) and say:
mvn clean install [-P allblocks]

This -P allblocks switch is optional and probably self-explaining.

then go to core/cocoon-webapp and run:
mvn jetty:run

-- 
Grzegorz Kossakowski