Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-02 Thread Rafal Krzewski
Alexey Krasnoriadtsev wrote: 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,

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-02 Thread khote
(pom.repository.url)} doesn't work Alexey Krasnoriadtsev wrote: 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

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-02 Thread Rafal Krzewski
Rafal Krzewski wrote: The other thing is why empty() returns false even if the actual value of the expression is null? I don't know why. I wasn't able to find any reference of the jexl syntax... OK, I've found the ultimate jexl syntax reference, at least for those who can read JavaCC

RE: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-02 Thread Alexey Krasnoriadtsev
: Wednesday, October 01, 2003 4:31 PM To: Maven Users List Subject: Re: Jelly: ${empty(pom.repository.url)} doesn't work It's in plugin-resources/navigation.jelly. I haven't checked the behaviour myself, though, so I can't warrant the rest. [EMAIL PROTECTED] wrote: That's not in my xdoc/plugin.jelly

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-02 Thread dion
I wish I understaood javacc :-( -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Rafal Krzewski [EMAIL PROTECTED] wrote on 02/10/2003 10:38:01 PM: Rafal Krzewski wrote: The other thing is why empty() returns false even if the actual value of the

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-02 Thread dion
khote [EMAIL PROTECTED] wrote on 02/10/2003 07:49:13 PM: I've often found it useful to overtest on those kinds of things. test=${!empty(pom.repository.url == 'true' and !pom.repository.url.trim().equals('true')} I discovered that if you set a goal on the command line, as in -Dgoal but

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-01 Thread Norbert Pabi
It was already mentioned on Maven-User-List. Jelly interprets dots. Try using underscores in your variables names. http://www.mail-archive.com/[EMAIL PROTECTED]/msg02729.html Alexey Krasnoriadtsev wrote: Jelly does not resolve complex variable names (with dots in the var name) when executing

RE: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-01 Thread Alexey Krasnoriadtsev
exists. Thank you. -Original Message- From: Norbert Pabis [mailto:[EMAIL PROTECTED] 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

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-01 Thread Norbert Pabi
Alexey Krasnoriadtsev wrote: 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

RE: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-01 Thread dion
PROTECTED] 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/[EMAIL PROTECTED

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-01 Thread matt
in the navigation, even though the page doesn't exists. Thank you. -Original Message- From: Norbert Pabis [mailto:[EMAIL PROTECTED] 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

Re: Jelly: ${empty(pom.repository.url)} doesn't work

2003-10-01 Thread dion
the page doesn't exists. Thank you. -Original Message- From: Norbert Pabis [mailto:[EMAIL PROTECTED] 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

Jelly: ${empty(pom.repository.url)} doesn't work

2003-09-30 Thread Alexey Krasnoriadtsev
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 Here is the example: [EMAIL PROTECTED]:test]$