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,
(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
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
: 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
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
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
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
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
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
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
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
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 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]$
13 matches
Mail list logo