On Apr 2, 2008, at 3:36 PM, Luca Morandini wrote:
Vadim Gritsenko wrote:
On Apr 2, 2008, at 10:05 AM, Luca Morandini wrote:
Vadim Gritsenko wrote:
On Apr 2, 2008, at 2:28 AM, Luca Morandini wrote:

IIUC, Cocoon doesn't add properties of its own (bar the ones defined in blocks). Hence we can just put a reference to Maven properties, an example of how to use them in the sitemap and we're done, right ?
No.
I'd imagine this would work only if somebody to use Cocoon installed into Jetty started from Maven.

Sadly, I am not able even to "see" the Maven properties when starting Jetty from Maven:
      <map:call function="{1}">
        <map:parameter name="version" value="${project.version}"/>
      </map:call>
Hm, why do you think this syntax should work?

My cousin told me (just kidding... it was my grandma).

Seriously, if I try java.home it works, same if I try with some properties in my block. Actually, the syntax makes some sense, since it is the way properties are used in, say, Ant.

Actually you are right, I remember this syntax working in <map:components/> section. It did not occur to me that it is also working in pipelines section :)

Vadim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to