Good news :

I do the test on this line :

<property name="myproject.name" value="${artifactId}"/>
<property name="myproject" value="${root}\${artifactId}"/>

Two good news :

1. ${root} maven try to parse it but only show a wrning message , so don't exit 
with error :)

2. what you assumed don't work (\$) work very fine :). Because it generate me 
this line :
 <property name="myproject.name" value="myproject"/>
 <property name="myproject" value="${root}${artifactId}"/>.

You look in the second line maven delete only the character \ without 
interpreting ${artifactId} :)


Thx

-----Message d'origine-----
De : Marouane Amraoui [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 16 avril 2007 15:42
À : Maven Users List
Objet : RE: Archetype : $ a predefined character 

If you can explain me more your solution ?

What I need is : 
      
        <property name="myproject" value="${root}\${artifactId}"/>

${root} to be ignored. (is ant variable)

And ${artifactId} to be parsed.

Thx


-----Message d'origine-----
De : Kathryn Huxtable [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 16 avril 2007 15:37
À : Maven Users List
Objet : Re: Archetype : $ a predefined character 

I defined a symbol called "dollar" equal to a dollar sign and used ${dollar}
throughout. It worked. I think you're supposed to be able to use \$, but I
couldn't get it to work.

-K


On 4/16/07 10:19 AM, "Marouane Amraoui" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I create my own archetype :
> 
>  
> 
> This archetype generate me a project that contain some file that contain in
> there body the character $. This character
> 
> Is normaly interpreted by velocity.
> 
> There is some solution for that ?
> 
>  
> 
>  
> 
> ---------------------------------------------------------------
> 
> Merouane AMRAOUI
> Consultant Expert
> Division Développement
> Email.: [EMAIL PROTECTED]
> 
> Gsm  .: 065 19 60 99
> Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70
> OMNIDATA , 74 Bv AbdelMoumen
> 
>  
> 


---------------------------------------------------------------------
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