ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Ortiz" <chrono.d...@gmail.com>
Subject Re: Please Help me in Calling Maven 1.0.2 building job from ANT
Date Thu, 06 Nov 2008 18:15:36 GMT
Hi,

Simple way use the exec task to call mvn.bat or mvn

<exec executable="mvn">
       <arg value="jar:jar"/>
  </exec>

if mvn is not in the path

<exec executable="C:\mvn\bin\mvn.bat">
       <arg value="jar:jar"/>
  </exec>



2008/11/6 Prasad Nakarikanti <pnakarikanti@e-iit.com>:
> Hi,
>
>
>
> We are recently started using JetBrains TeamCity for Build Automation and
> CI.
>
>
>
> We are using Maven 1.02 for building, and not willing to upgrade to Maven
> 2.0 in near future.
>
>
>
> TeamCity only supports Maven 2 and ANT.
>
>
>
> I would like to embed our Maven job in ANT build.xml file so that TeamCity
> can track the building process.
>
>
>
> Please help me with example, how to achieve this.
>
>
>
> Thanking you in Advance.
>
>
>
> Nageswara. P. Nakarikanti
>
> Programmer/Analyst
>
>
>
> Institute of Information Technology, Inc.
>
> 5910 FM 1488 Rd.
>
> Magnolia, TX 77354
>
> Office:  713-559-4249
>
> Fax:   713-559-4250
>
> www.e-iit.com
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message