maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martin ruff <mr...@infometis.ch>
Subject Re: how can I use an ANT task inside my maven.xml
Date Thu, 04 Nov 2004 18:23:51 GMT
Hi Feilpe
Using ant within maven is relly simple:
for example:
        <ant:copy todir="${maven.build.dir}/${project.id}/WEB-INF/classes">
            <ant:fileset dir="${dir.project}/src">
                <include name="**/*.xml" />
            </ant:fileset>
        </ant:copy>   
just use the ant namespace prefix

however to use the full strength of maven you should consider migrating 
to maven and using maven plugins to do your build jobs

martin

>Dear members,
>
>I have an ANT build.xml files, with several well tested tasks and now
>I´m trying to migrate to maven.
>
>can I just copy these tasks inside of the maven.xml? and how can I call them?
>if not, what I must do instead?
>
>regards,
>
>    Felipe Gaúcho
>    Schoolbus owner
>    https://schoolbus.dev.java.net
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>


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


Mime
View raw message