Use the ant plug-in for Maven , I have not needed it but I think you just copy
it in place. Read the docs to double check
 
Phill

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: April 27, 2007 7:09 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: [m2eclipse-user] Process resources (date,build number, version...etc)


Hi all,
I need to process some resources which was properties in Ant like this :

        <property name="DIST"
value="${MyDate}-v${noVersion}b${build.number}"/>

where :

    <target name="init"  description="Init target">
        <tstamp>
            <format property="time" pattern="yyMMdd_hhmmss" locale="en"/>
        </tstamp>
        <tstamp>
            <format property="MyDate" pattern="yyyyMMdd-HHmmss" locale="fr"/>
        </tstamp>
        <property name="backup.time.dir" value="${basedir}/backup/B_${time}"/>
    </target>

how can I fill this property in maven ? and process it through filtered
resources ?

I know I'm asking too much, but its the only way to have the maximum of your
experience friends ! ;-)

Thanks
Nawfel


  _____  

Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo!  <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
Questions/Réponses.

Reply via email to