--- nbproject/build-impl.xml +++ nbproject/build-impl.xml @@ -442,7 +442,7 @@ <copylibs compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}"> <fileset dir="${build.classes.dir}"/> <manifest> - <attribute name="Class-Path" value="${jar.classpath}"/> + <attribute name="Class-Path" value=""/> <customize/> </manifest> </copylibs> @@ -577,7 +577,7 @@ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available"> <j2seproject1:jar manifest="${manifest.file}"> <j2seproject1:manifest> - <j2seproject1:attribute name="Main-Class" value="${main.class}"/> + <j2seproject1:attribute name="Main-Class" value=""/> </j2seproject1:manifest> </j2seproject1:jar> <echo>To run this application from the command line without Ant, try:</echo>