Hello, all

here is a simple ant file for calling maven from the netbeans ide on
windows.

to use it : just copy the attached file in the same directory as the
one containing project.xml

fell free to modify it or find a way to use it also n unix

R

=====
------------------------------------
| Rapha�l Pi�roni                  |
| 33+ 223 351 354                  |
| mailto:[EMAIL PROTECTED]        |
| http://www.dexem.com             |
| mailing:[EMAIL PROTECTED] |
------------------------------------

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="cactus" name="generationvxml">
    <target name="cactus">
        <exec dir="${basedir}" executable="cmd">
            <arg line="/c maven -b cactus"/>
        </exec>
    </target>
    <target name="compile">
        <exec dir="${basedir}" executable="cmd">
            <arg line="/c maven -b java:compile"/>
        </exec>
    </target>
    <target name="test">
        <exec dir="${basedir}" executable="cmd">
            <arg line="/c maven -b test"/>
        </exec>
    </target>
    <target name="site">
        <exec dir="${basedir}" executable="cmd">
            <arg line="/c maven -b site"/>
        </exec>
    </target>
    <target name="dist">
        <exec dir="${basedir}" executable="cmd">
            <arg line="/c maven -b dist"/>
        </exec>
    </target>
    <target name="checkstyle">
        <exec dir="${basedir}" executable="cmd">
            <arg line="/c maven -b checkstyle"/>
        </exec>
    </target>
    <target name="clean">
        <exec dir="${basedir}" executable="cmd">
            <arg line="/c maven -b clean"/>
        </exec>
    </target>

</project>

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

Reply via email to