cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Re: Webapp structure
Date Sun, 31 May 2009 01:28:52 GMT
Ivan:

Here's a sample web application. A web application in cocoon is a container for other blocks.

This application contains a hello block  hello-block-1.0-SNAPSHOT.jar 

/myProject
|-- META-INF
`-- WEB-INF
    |-- applicationContext.xml
    |-- classes
    |   `-- META-INF
    |       `-- cocoon
    |           `-- properties
    |               `-- contents.properties
    |-- lib
    |   |-- aopalliance-1.0.jar
    |   |-- avalon-framework-api-4.3.1.jar
    |   |-- avalon-framework-impl-4.3.1.jar
    |   |-- cocoon-configuration-api-1.0.2.jar
    |   |-- cocoon-core-2.2.0.jar
    |   |-- cocoon-expression-language-api-1.0.0.jar
    |   |-- cocoon-expression-language-impl-1.0.0.jar
    |   |-- cocoon-flowscript-impl-1.0.0.jar
    |   |-- cocoon-linkrewriter-impl-1.0.0.jar
    |   |-- cocoon-pipeline-api-1.0.0.jar
    |   |-- cocoon-pipeline-components-1.0.0.jar
    |   |-- cocoon-pipeline-impl-1.0.0.jar
    |   |-- cocoon-servlet-service-components-1.0.0.jar
    |   |-- cocoon-servlet-service-impl-1.0.0.jar
    |   |-- cocoon-sitemap-api-1.0.0.jar
    |   |-- cocoon-sitemap-components-1.0.0.jar
    |   |-- cocoon-sitemap-impl-1.0.0.jar
    |   |-- cocoon-spring-configurator-1.0.2.jar
    |   |-- cocoon-store-impl-1.0.0.jar
    |   |-- cocoon-template-impl-1.1.0.jar
    |   |-- cocoon-thread-api-1.0.0.jar
    |   |-- cocoon-thread-impl-1.0.0.jar
    |   |-- cocoon-util-1.0.0.jar
    |   |-- cocoon-xml-api-1.0.0.jar
    |   |-- cocoon-xml-impl-1.0.0.jar
    |   |-- cocoon-xml-resolver-1.0.0.jar
    |   |-- cocoon-xml-util-1.0.0.jar
    |   |-- commons-collections-3.2.jar
    |   |-- commons-io-1.3.1.jar
    |   |-- commons-jexl-1.0.jar
    |   |-- commons-jxpath-1.2.jar
    |   |-- commons-lang-2.3.jar
    |   |-- commons-logging-1.1.jar
    |   |-- concurrent-1.3.4.jar
    |   |-- contents-block-1.0-SNAPSHOT.jar
    |   |-- ehcache-1.2.4.jar
    |   |-- excalibur-instrument-api-2.2.1.jar
    |   |-- excalibur-logger-2.2.1.jar
    |   |-- excalibur-pool-api-2.2.1.jar
    |   |-- excalibur-sourceresolve-2.2.3.jar
    |   |-- excalibur-store-2.2.1.jar
    |   |-- excalibur-xmlutil-2.2.1.jar
    |   |-- hello-block-1.0-SNAPSHOT.jar
    |   |-- jakarta-regexp-1.4.jar
    |   |-- js-1.6R7.jar
    |   |-- junit-3.8.jar
    |   |-- log4j-1.2.14.jar
    |   |-- spring-aop-2.5.1.jar
    |   |-- spring-beans-2.5.1.jar
    |   |-- spring-context-2.5.1.jar
    |   |-- spring-core-2.5.1.jar
    |   |-- spring-web-2.5.1.jar
    |   |-- xalan-2.7.0.jar
    |   |-- xercesImpl-2.8.1.jar
    |   |-- xml-apis-1.3.02.jar
    |   `-- xml-resolver-1.2.jar
    |-- log4j.xml
    `-- web.xml


I hope this helps. 


On Sat May 30,2009 06:31 pm, Ivan Latysh wrote:
> Mansour Al Akeel wrote:
>
> [skipped]
>> Since you have a directory called COB-INF, I would say this is a cocoon
>> block.
> These are directories from a simple webapp that suppose to have a single 
> cocoon (exploded) module.
>
>> Check this:  http://wiki.apache.org/cocoon/BlocksDefinition
> Thank you, checked the page, it talks about a cocoon block structure, and 
> say nothing about a webapp, or a deployment options.
>
> Can anybody share a simple `hello world` war with a single cocoon module ?
>
>>> =======================
>>>  WEB-INF
>>>  + classes
>>>  | + com
>>>  | + COB-INF
>>>  | | + demo
>>>  | |   + spring-bean.jx.xml
>>>  | |   + welcome.xml
>>>  | + META-INF
>>>  |   + cocoon
>>>  |     + spring
>>>  |       + block-servlet-service.xml
>>>  |       + demo-application-context.xml
>>>  + lib
>>>  + applicationContext.xml
>>>  + log4j.xml
>>>  + web.xml
>>> index.jsp
>>> =======================
>
>
> -- 
> Ivan Latysh
> IvanLatysh@gmail.com
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message