No, it's 

<j:if test="${context.getVariable('msl.dir') == null}">

Thx,
-emmanuel

Selon khote <[EMAIL PROTECTED]>:

>     <j:if test="${empty(msl.dir) == 'true'}" >
>     <j:if test="${empty(msl.dir) != 'true'}" >
>  
>     <j:if test="${!empty(msl.dir) == 'true'}" >
> 
> 
> 
> ----- Original Message ----- 
> From: "Marc Portier" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 15, 2003 7:51 AM
> Subject: Re: How to check in a property is setted
> 
> 
> > not sure, (quite new to maven too)
> > 
> > I've been checking some existing jelly code the last days and have seen 
> > this construct quite often:
> > 
> >        <j:if test="${!empty(msl.dir)}">
> > 
> > sounds like it is your way to go?
> > 
> > regards,
> > -marc=
> > 
> > 
> > [EMAIL PROTECTED] wrote:
> > > 
> > > Hi there,
> > > 
> > > Ho ca I check if a property is setted in project.properties (or
> > > ~/build.properties...).
> > > 
> > > This is not working : 
> > > 
> > > <j:if test="${msl.dir == null}"> ... </j:if>
> > > 
> > > Thx,
> > > -emmanuel
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> > -- 
> > Marc Portier                            http://outerthought.org/
> > Outerthought - Open Source, Java & XML Competence Support Center
> > Read my weblog at              http://radio.weblogs.com/0116284/
> > [EMAIL PROTECTED]                              [EMAIL PROTECTED]
> > 
> > 
> > ---------------------------------------------------------------------
> > 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]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to