cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <ilgro...@apache.org>
Subject Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]
Date Thu, 22 Mar 2012 11:29:59 GMT
On 21/03/2012 21:09, Lars Huttar wrote:
> [...]
> Thank you, that is definitely clearer.
> So I do my development in blocks, not in the webapp; the webapp is for
> packaging for external deployment.
>
> The one thing I'm not clear on, then, is this part of your
> instructions: (http://markmail.org/message/d6m2yidkrfqkslo2 for full
> context)
>
>> C) If you want to develop a complete C3 web application
>>
>> You need to generate a multimodule maven project [2] with the
>> following structure:
>>
>> myparent/
>>   mysite/
>>   mywebapp/
>>
> ...
>>
>> Now you can finally
>>
>> cd mywebapp
>> mvn jetty:run
>>
>
> Why is this telling me to run jetty in mywebapp, instead of in mysite?
> Maybe that's just a red herring (not important), but it has me confused.

Running "mvn jetty:run" in each of your blocks (i.e. mysite) will let
you develop and test each single block.
If you want to look how the final webapp assembles everything together,
you will have to run "mvn jetty:run" under mywebapp.

Having a single block (like as in your case) the two things above are
equivalent.

Regards.

-- 
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/


Mime
View raw message