If you look at the example from the url you posted you will see parts
which are evaluated via jelly:

e.g: 
        ${pom.inceptionYear}

As it states, it is "processed" as a jelly script, and therefore allows
some simple resolution of such expressions.  It doesn't contain a jelly
script.

You can also see other ways this has been used at
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/digester/project.xml
for example, where the artifact id is used to derive other values.

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Peter Nabbefeld
> Sent: 21 June 2004 08:42
> To: [EMAIL PROTECTED]
> Subject: Re: Why don't I get any answer?
> 
> Dion Gillard schrieb:
> 
> > On Mon, 21 Jun 2004 08:23:51 +0200, Peter Nabbefeld
> > <[EMAIL PROTECTED]> wrote:
> > 
> > ...
> >>June, 20th:
> >>in the user guide it is mentioned, that project.xml contains a jelly
> >>script. As I've not found any maven jelly tags like 
> 'jelly:project', I
> > 
> > 
> > Project.xml doesn't contain a jelly script. If you could point out
> > where in the guide it says that, we'll fix it.
> > 
> Right here:
> http://maven.apache.org/reference/user-guide.html#The_Project_
> Object_Model
> 
> " The POM, in its familiar project.xml form, is now processed 
> as a Jelly 
> script. In the majority of cases users won't care that the 
> project.xml 
> is really a Jelly script under the covers but it does allow the use 
> interpolated values if you wish. I would rather not see logic start 
> cropping up in project.xml files but the flexibility is there 
> now that 
> the project.xml file is a stealth Jelly script :-) "
> 
> 
> Kind regards
> 
> Peter
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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

Reply via email to