its a bug in jexl. You can either do this:
<j:set var="acceptancetesturi" value="acceptance.test.uri" />
<j:if test="${empty(acceptancetesturi)}">
...
or
<j:if test="${empty(context.getVariable('acceptance.test.uri'))}">
- Brett
On Thu, 01 Jul 2004 22:52:22 +0200, Josip Gracin <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I have the following piece of code in maven.xml. Note the usage of my
> custom system property
> "acceptancetesturi". The problem is that Maven recognizes system
> properties only if there are no
> dots within their names. For example, if I want to use something like
> "acceptance.test.uri" instead
> of "acceptancetesturi", it doesn't work. (From a quick look, I conclude
> that Maven takes only the
> part until the first dot.) Why is this and is there a way to make Maven
> recognize properties with
> dots in their names.
>
> <preGoal name="test:test">
> <j:if test="${empty(acceptancetesturi)}">
> ${pom.build.unitTest.excludes.add('**/acceptance/**')}
> </j:if>
> </preGoal>
>
> ---------------------------------------------------------------------
> 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]