You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Hugo Palma <hp...@digitalis.pt> on 2005/07/22 13:51:26 UTC

Re: Default tag in parameter for marmalade plugin not working

I'm having the same problem too. The only way i could get a default 
value working was to remove the <default> element and put in the 
<expression> element the actual default value of the parameter. This is 
not supose to work this way right ?

Cheers

Hugo


John Casey wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>just as a test, can you try ${salutation} instead? I'm doing some
>research into what expression language is enabled by default, but
>currently I'm not sure. also, if you want to use OGNL syntax
>specifically regardless of the default, you can specify this with:
>
><execute xmlns:marmalade-control="marmalade-control"
>marmalade-control:el="ognl">
>...
>
>This will enable OGNL expression syntax for the entire <execute/>
>structure, unless some tag within specifies a different syntax for
>itself and its children.
>
>HTH,
>
>john
>
>Edwin Punzalan wrote:
>  
>
>>Running m2 -Dsalutation=Hiya hello:hello prints
>> Hiya, World
>>
>>But running m2 hello:hello prints
>>#salutation, World
>>
>>Why is the default not working???
>>
>>attached is my hello.mmld file
>>
>>
>>------------------------------------------------------------------------
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>    
>>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.6 (GNU/Linux)
>
>iD8DBQFCqB8dK3h2CZwO/4URAmRrAKCo2FL0m56RdKWYpHAtFQZRrQl5RACgiT47
>9fXsdnZWTNCQVdo7g3K4SOQ=
>=Fkz0
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>