i is not working, it seem that the variable is not event modifiy :(
Le mercredi 24 Novembre 2004 17:20, Steve Molloy a �crit :
> Try adding scope="parent" to your j:set.
>
> Steve Molloy
>
> -----Original Message-----
> From: Charles-Alexandre Sabourdin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 24, 2004 10:56 AM
> To: Maven Users List
> Subject: Re: Dynamically modifing the ressources
>
> it it not woking correctly.
> What I am tried was to set in
> project.xml
> <directory>src/conf${configDir}</directory>
> in project.properties
> configDir=/default
> and in my maven.xml I creat the following goal :
>
> <goal name="exemplebean:jar" description="set configuration file A">
>               <j:set var="configDir" value="/configA"/>
>               <echo> set configuration directory : ${configDir}</echo>
>               <attainGoal name="echo-value"/>
>               <attainGoal name="jar:jar"/>
> </goal>
>
> unfortunatly it does not works.
>
> Le mardi 23 Novembre 2004 20:30, Brett Porter a �crit :
> > in the resources, set it to something like:
> >
> > src/conf/project${foo}, then set foo to A or B.
> >
> > - Brett
> >
> >
> > On Tue, 23 Nov 2004 12:47:55 +0100, Charles-Alexandre Sabourdin
> >
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > > I feel that this must have been discuss somewhere but I could not
> > > figure it out.
> > > The basic idea is to have 2 directory /src/conf/projetA
> > > /src/conf/projetB. I would like to set maven goals to use a specific
> > > directory.
> > > I llok aroud and found :
> > > [echo] $ {pom.build.resources}:
> > >         [[dir =
> > > /home/sabourdin/Documents/projet/exemplebean/src/conf/projetA]] but I
> > > did not find how to modify this propertie :(
> > >
> > > --
> > > Charles-Alexandre
> > > SABOURDIN
> > > -----------------
> > >
> > > ---------------------------------------------------------------------
> > > 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]

-- 
Charles-Alexandre
SABOURDIN
-----------------

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

Reply via email to