Torsten Curdt wrote:
Let's say it has been a while that I've last looked into trunk. So
instead of spending hours finding my way through how things are
suppossed to work I came across a few questions.
o I have some resources in "myBlock/src/main/resources/COB-INF" ...why
don't they appear in "target/myBlock"?
Look into your sitemap.xmap - you'll see:
<map:match pattern="blocks/donnelley-client/**">
<map:mount uri-prefix="blocks/donnelley-client"
src="file:/c:/dev/projects/donnelley/donnelley-client/src/main/resources/COB-INF/"/>
</map:match>
Same goes for META-INF/spring and META-INF/legacy/xconf
Unfortunately META-INF/properties are not read currently.
o Do we really need to print
INFO org.apache.cocoon.core.container.spring.CocoonBeanFactory -
Pre-instantiating singletons in factory
[org.apache.cocoon.core.container.spring.CocoonBeanFactory defining
beans [...
cluttering the log on the jetty based startup?
Let's leave it for now as I think there is some kind of bug.
o WTF is going on with the spring downloads? Seems like there is no
pom available, but it works anyway...
Downloading:
http://mirrors.dotsrc.org/maven2/org/springframework/spring-core/2.0-rc2/spring-core-2.0-rc2.pom
[WARNING] Unable to get resource from repository central
(http://ibiblio.org/maven2)
Downloading:
http://svn.apache.org/maven-snapshot-repository/org/springframework/spring-core/2.0-rc2/spring-core-2.0-rc2.pom
You do not need pom to get the jar. Some default stub is being used.
This pisses me a lot (not the fact that it works but that the pom is
missing) because you have to use offline mode for maven every time.
Otherwise mvn tries to download these at each run.
--
Leszek Gawron, IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65