One remark.

If I want to use properties in this block, I have to configure the
Springconfigurator in the webapp module.  So whenever I really want to
test my block I can't just do

cd block
mvn jetty:run

I first have to install my block and  then run the webapp which leads to
the problem that when I modify classes in the block they are not
reflected. Or am I missing something here and are there ways to use the
springconfigurator in  a standalone block?

Kind regards,
Robby Pelssers 

-----Original Message-----
From: news [mailto:[email protected]] On Behalf Of Hubert Klein Ikkink
Sent: dinsdag 10 februari 2009 11:37
To: [email protected]
Subject: Re: fast deployment; deploy a single block


Peter Karich <peathal <at> yahoo.de> writes:

> 
> Hi,
> 
> I am very new to cocoon (version 2.2.) and I would like to know how I
> could avoid the long deployment time (>2min) of the simplest
application.

Hi Peter,

you can simply run your block: 

cd block
mvn jetty:run

Now if you change the source code the class will be reloaded without the
need 
to restart Jetty. I assume you have also things like sitemaps in this
block, so 
you can test your code.

You also reference your block in other blocks for development, by
changing the 
rcl.properties file. In this file you can reference classes directories
from 
other blocks which will be reloaded when changed.

I only use the webapp archetype for deployment, but never for
development. 

Kind regards, Hubert Klein Ikkink




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to