cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <Robby.Pelss...@nxp.com>
Subject RE: Cocoon 3.0-alpha sitemap properties
Date Mon, 05 Nov 2012 07:58:10 GMT
Sorry...

I will rephrase this ;-)

In your property you used 'documenation'  --> typo

Robby

-----Original Message-----
From: Robby Pelssers [mailto:Robby.Pelssers@nxp.com] 
Sent: Monday, November 05, 2012 8:54 AM
To: users@cocoon.apache.org
Subject: RE: Cocoon 3.0-alpha sitemap properties

=/home/mansour/docs/documentation  (value of property you defined) =/home/mansour/docs/documentation
 (correct path i assume)

-----Original Message-----
From: Mansour Al Akeel [mailto:mansour.alakeel@gmail.com]
Sent: Saturday, November 03, 2012 10:10 PM
To: users@cocoon.apache.org
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: 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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message