You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2003/06/20 20:36:24 UTC

Jelly/Ant problem with

Hi,

I have a Jelly/Ant/Maven issue. I have the following code:

    <ant:condition property="isUnix" value="true">
      <ant:os family="unix"/>
    </ant:condition>
    <ant:condition property="isWindows" value="true">
      <ant:os family="windows"/>
    </ant:condition>

    <ant:echo>unix = ${isUnix}</ant:echo>
    <ant:echo>windows = ${isWindows}</ant:echo>

And this prints:

unix=
windows=

i.e. no value. Whereas the same script executed under Ant correctly
displays "windows = true".

Any idea what's wrong?

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org