maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Krasnoriadtsev <Alexey.Krasnoriadt...@first-franklin.com>
Subject RE: Jelly: ${empty(pom.repository.url)} doesn't work
Date Wed, 01 Oct 2003 15:37:58 GMT
Yes for my own scripting I won't use dot in the var names. But, maven
uses dots extensibly, i.e. pom.foo.foo
And here is the line in xdoc-plugin/site.jsl: 195 <j:if
test="${!empty(pom.repository.url)}"> 
that doesn't work, and it always adds a link in the navigation, even
though the page doesn't exists.

Thank you.

-----Original Message-----
From: Norbert Pabis [mailto:npabis@e-point.pl]
Sent: Wednesday, October 01, 2003 12:15 AM
To: Maven Users List
Subject: Re: Jelly: ${empty(pom.repository.url)} doesn't work


It was already mentioned on Maven-User-List.
Jelly interprets dots.
Try using underscores in your variables names.
http://www.mail-archive.com/users@maven.apache.org/msg02729.html

Alexey Krasnoriadtsev wrote:
> Jelly does not resolve complex variable names (with dots in the var
> name) when executing methods, i.e empty() or length()
> 
> I have created a Issue in Jira, but there is no activity on that.
> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-848
> 

-- 
Norbert Pabiƛ


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


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


Mime
View raw message