RE: Cocoon 3.0-alpha sitemap properties

Robby Pelssers <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <927C66C0775CCA43B88EB1E3006614B3BE66E95B@eu1rdcrdc1wx032.exi.nxp.com>
=/home/mansour/docs/documentation  (value of property you defined)
=/home/mansour/docs/documentation  (correct path i assume)

-----Original Message-----
From: Mansour Al Akeel [mailto:[email protected]] 
Sent: Saturday, November 03, 2012 10:10 PM
To: [email protected]
Subject: Cocoon 3.0-alpha sitemap properties

I created a block for C3.0 and tried to use properties defined in a *.properties file. The logs show that the file has been found and I can see that properties are found loaded,

for example:


 935 2012-11-03 20:53:12,369 btpool0-1 DEBUG impl.SettingsBeanFactoryPostProcessor - Property:
base.path=/home/mansour/docs/documenation
 936 2012-11-03 20:53:12,369 btpool0-1 DEBUG impl.SettingsBeanFactoryPostProcessor - Property: sun.cpu.isalist=
 937 2012-11-03 20:53:12,369 btpool0-1 DEBUG impl.SettingsBeanFactoryPostProcessor - ===== Settings End =====
 938 2012-11-03 20:53:12,369 btpool0-1 DEBUG support.DefaultListableBeanFactory - Finished creating instance of bean 'org.apache.cocoon.configuration.Settings'

However, doing this in my sitemap.xmap:

  <map:match pattern="doc/{1}">
          <map:read src="${base.path}/welcome.html" />
      </map:match>
    </map:pipeline>

Does not work, and it reports that file is not found.

Any idea or documentation for this ??

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.