You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kamal <kb...@tt.com.au> on 2008/04/20 03:41:01 UTC

[2.2] Building samples

Hi,
I would like to see some of the Cocoon samples for 2.2. I know they are 
there, but how do I get to them? In particular, I want CForms, include, 
mail, batik, and security.

Thanks.

Kamal.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [2.2] Building samples

Posted by Patrick Heiden <pa...@gmx.de>.
Hi Kamal!

I've written a patch for the security sample, working with spring-security. This was done, becausee the shipped example with acegi did not work correctly. You can find the patch under [1] if you need it.

Greetings and have fun,
Patrick
[1] https://issues.apache.org/jira/browse/COCOON-2197

-------- Original-Nachricht --------
> Datum: Sun, 20 Apr 2008 11:41:01 +1000
> Von: Kamal <kb...@tt.com.au>
> An: users@cocoon.apache.org
> Betreff: [2.2] Building samples

> Hi,
> I would like to see some of the Cocoon samples for 2.2. I know they are 
> there, but how do I get to them? In particular, I want CForms, include, 
> mail, batik, and security.
> 
> Thanks.
> 
> Kamal.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org

-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.gmx.net/de/entertainment/games/free

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [2.2] Building samples

Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
Kamal pisze:
> Hi,
> I would like to see some of the Cocoon samples for 2.2. I know they are 
> there, but how do I get to them? In particular, I want CForms, include, 
> mail, batik, and security.

As others already explained you need to checkout whole Cocon's trunk from:
http://svn.apache.org/repos/asf/cocoon/trunk/

and follow README file.

Our goal is to make it possible to checkout only samples you are interested in and build only them. 
We are very close to that goal but as for now you have to build whole trunk, though.

-- 
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [2.2] Building samples

Posted by yosauron <yo...@gmail.com>.
ok, It works me successfully. Thank you.



Mark Lundquist-2 wrote:
> 
> 
> On Sep 17, 2008, at 12:57 AM, yosauron wrote:
> 
>>
>>
>>
>> Mark Lundquist-2 wrote:
>>>
>>>
>>> On Sep 16, 2008, at 8:49 AM, yosauron wrote:
>>>
>>>> Why doesn't work a sample when I execute 'mvn jetty:run' from  
>>>> sample's
>>>> directory (xe. from trunk directory:
>>>> blocks/cocoon-ajax/cocoon-ajax-sample)??
>>>
>>> Because the sample is just a block, it's not a webapp.  Think of the
>>> block as like a plugin... it needs something to plug into.  The
>>> easiest way is to just use the cocoon-webapp module to provide that.
>>>
>>> cheers,
>>> —ml—
>>>
>>>
>>
>> It means that I have to create the cocoon-22-archetype-webapp with  
>> maven,
>> and on it, I have to use the block that I want to check it... Is it  
>> ok?
> 
> No... what I mean is, check out the Cocoon source tree and build it  
> using "mvn install -P allblocks", and then "mvn jetty:run" in core/ 
> cocoon-webapp.
> 
> cheers,
> —ml—
> 
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/-2.2--Building-samples-tp16789559p19547054.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [2.2] Building samples

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Sep 17, 2008, at 12:57 AM, yosauron wrote:

>
>
>
> Mark Lundquist-2 wrote:
>>
>>
>> On Sep 16, 2008, at 8:49 AM, yosauron wrote:
>>
>>> Why doesn't work a sample when I execute 'mvn jetty:run' from  
>>> sample's
>>> directory (xe. from trunk directory:
>>> blocks/cocoon-ajax/cocoon-ajax-sample)??
>>
>> Because the sample is just a block, it's not a webapp.  Think of the
>> block as like a plugin... it needs something to plug into.  The
>> easiest way is to just use the cocoon-webapp module to provide that.
>>
>> cheers,
>> —ml—
>>
>>
>
> It means that I have to create the cocoon-22-archetype-webapp with  
> maven,
> and on it, I have to use the block that I want to check it... Is it  
> ok?

No... what I mean is, check out the Cocoon source tree and build it  
using "mvn install -P allblocks", and then "mvn jetty:run" in core/ 
cocoon-webapp.

cheers,
—ml—


Re: [2.2] Building samples

Posted by yosauron <yo...@gmail.com>.


Mark Lundquist-2 wrote:
> 
> 
> On Sep 16, 2008, at 8:49 AM, yosauron wrote:
> 
>> Why doesn't work a sample when I execute 'mvn jetty:run' from sample's
>> directory (xe. from trunk directory:
>> blocks/cocoon-ajax/cocoon-ajax-sample)??
> 
> Because the sample is just a block, it's not a webapp.  Think of the  
> block as like a plugin... it needs something to plug into.  The  
> easiest way is to just use the cocoon-webapp module to provide that.
> 
> cheers,
> —ml—
> 
> 

It means that I have to create the cocoon-22-archetype-webapp with maven,
and on it, I have to use the block that I want to check it... Is it ok?

-- 
View this message in context: http://www.nabble.com/-2.2--Building-samples-tp16789559p19526930.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [2.2] Building samples

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Sep 16, 2008, at 8:49 AM, yosauron wrote:

> Why doesn't work a sample when I execute 'mvn jetty:run' from sample's
> directory (xe. from trunk directory:
> blocks/cocoon-ajax/cocoon-ajax-sample)??

Because the sample is just a block, it's not a webapp.  Think of the  
block as like a plugin... it needs something to plug into.  The  
easiest way is to just use the cocoon-webapp module to provide that.

cheers,
—ml—



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: [2.2] Building samples

Posted by yosauron <yo...@gmail.com>.


Jeroen Reijn-3 wrote:
> 
> Hi Kamal,
> 
> You can see the sample by building Cocoon.
> 
> $mvn -P allblocks install 
> 
> then afterwards:
> 
> $cd core/cocoon-webapp
> 
> $mvn jetty:run
> 
> That should do the trick.
> 
> See the README.txt in the root directory of your cocoon checkout.
> 
> Regards,
> 
> Jeroen Reijn
> 
> 

Why doesn't work a sample when I execute 'mvn jetty:run' from sample's
directory (xe. from trunk directory:
blocks/cocoon-ajax/cocoon-ajax-sample)??

If I run that, I get a error that say "web.xml does not exist at location
...." Do I have to create that file?

Thank you



-- 
View this message in context: http://www.nabble.com/-2.2--Building-samples-tp16789559p19514657.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: [2.2] Building samples

Posted by Jeroen Reijn <j....@onehippo.com>.
Hi Kamal,

You can see the sample by building Cocoon.

$mvn -P allblocks install 

then afterwards:

$cd core/cocoon-webapp

$mvn jetty:run

That should do the trick.

See the README.txt in the root directory of your cocoon checkout.

Regards,

Jeroen Reijn

-----Original Message-----
From: Kamal [mailto:kbhatt@tt.com.au] 
Sent: Sunday, April 20, 2008 3:41 AM
To: users@cocoon.apache.org
Subject: [2.2] Building samples

Hi,
I would like to see some of the Cocoon samples for 2.2. I know they are 
there, but how do I get to them? In particular, I want CForms, include, 
mail, batik, and security.

Thanks.

Kamal.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org