CSDNdocument 2011-09-29
main.class=ench.platform.JFrame_Main
manifest.file=manifest.mf
1编辑nbproject/project.properties中并添加项:
Xml代码
main.class=ench.platform.JFrame_Main
manifest.file=manifest.mf
manifest.file=manifest.mf
2mainifest.mf文件内容如下
Xml代码
Manifest-Version:1.0
Ant-Version:ApacheAnt1.7.1
Created-By:16.0-b13(SunMicrosystemsInc.)
Class-Path:lib/appframework-1.0.3.jarlib/beansbinding-1.2.1.jarlib/swing-worker-1.1.jarlib/AbsoluteLayout.jarlib/c3p0-0.9.1.2.jarlib/ibatis-2.3.4.726.jarlib/log4j-1.2.15.jarlib/ojdbc14.jarlib/commons-codec-1.1.jarlib/commons-lang-2.1.jarlib/jasypt-1.5.jarlib/icu4j-4_0_d02.jar
Main-Class:com.hzmc.dialup.ui.LoginJFrame
X-COMMENT:Main-Classwillbeaddedautomaticallybybuild
Manifest-Version:1.0
Ant-Version:ApacheAnt1.7.1
Created-By:16.0-b13(SunMicrosystemsInc.)
Class-Path:lib/appframework-1.0.3.jarlib/beansbinding-1.2.1.jarlib/swing-worker-1.1.jarlib/AbsoluteLayout.jarlib/c3p0-0.9.1.2.jarlib/ibatis-2.3.4.726.jarlib/log4j-1.2.15.jarlib/ojdbc14.jarlib/commons-codec-1.1.jarlib/commons-lang-2.1.jarlib/jasypt-1.5.jarlib/icu4j-4_0_d02.jar
Main-Class:com.hzmc.dialup.ui.LoginJFrame
X-COMMENT:Main-Classwillbeaddedautomaticallybybuild
3运行-清理并生成。
4查看工程目录dist。