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/

Reply via email to