Question

We are using ANT as build and TestNG for execution.

if it would not been testNG then i know how to create JAR. in the below ANT i would have given MAIN class file but i dont know in case of TESTNG what should i provide in manifest

<target name="jar" depends="compile">
    <jar destfile="${dist.dir}\ServerSpaceAlert.jar" basedir="${build.dir}">
        <manifest>
            <attribute name="Main-Class" value="test.MAIN" />
        </manifest>
    </jar>
</target>

Can somebody please help me.

Thanks S

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top