On Mon, Jan 26, 2004 at 10:57:22PM +0100, Stoffels, Ralf (FWI-AW2) wrote:
> Hi,
>
> what is wrong with ${pom.artifacts.size()} ?
> [JellyException: Unable to create expression]
>
> E.g. ${pom.artifacts.clear()} does work.
>
>
> Ralf
Maybe you have the same problem that I had. Try this:
<j:set var="paSizeLong" value="${pom.artifacts.size()}" />
<j:set var="paSizeInt" value="${paSizeLong.intValue()}" />
Many times you can't use directly the long values returned from
the various "length", "size" etc. operations, as the underlying
language is strongly typed.
incze
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]