문제

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

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top