zoukankan
html css js c++ java
netbeans打包成jar
文件页里找到build.xml文件,打开在</project>前 加入以下代码保存之
按 Ctrl+C 复制代码
<target name="package-for-store" depends="jar"> <!-- Change the value of this property to be the name of your JAR, minus the .jar extension. It should not have spaces. <property name="store.jar.name" value="MyJarName"/> --> <property name="store.jar.name" value="SwitchHexAndChinese"/> <!-- don't edit below this line --> <property name="store.dir" value="store"/> <property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/> <echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/> <delete dir="${store.dir}"/> <mkdir dir="${store.dir}"/> <jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip"> <zipgroupfileset dir="dist" includes="*.jar"/> <zipgroupfileset dir="dist/lib" includes="*.jar"/> <manifest> <attribute name="Main-Class" value="${main.class}"/> </manifest> </jar> <zip destfile="${store.jar}"> <zipfileset src="${store.dir}/temp_final.jar" excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/> </zip> <delete file="${store.dir}/temp_final.jar"/> </target>
按 Ctrl+C 复制代码
build.xml右键即可打包生成SwitchHexAndChinese.jar
生成的文件
查看全文
相关阅读:
测试工作中需要用到的一些linux命令
软件的性能测试到底是测试哪些方面
软件测试中的安全测试包括哪些方面
git一不小心上传了大文件,怎么破?
接口测试校验返回数据格式,JasonSchema使用详解
selenium定位中需要鼠标悬浮才能显示的按钮
jenknis参数化构建,windows和shell引用变量
selenium元素定位之父子节点、胞节点
selenium元素定位之多个元素中选择其中的一个
Python实现注册和三次验证登录
原文地址:https://www.cnblogs.com/zhaocundang/p/5041049.html
最新文章
微信小程序在ios系统不兼容new Date('yyyy-mm-dd')
循环使用Promise,在所有Promise执行完毕后再执行其他操作
在vue中如何使用WebSocket 以及nginx代理如何配置WebSocket
Element-ui Popconfirm气泡确认框的确认及取消事件不生效
微信小程序setdata修改数组或对象
微信小程序自定义tabbar
阿里云oss对象存储在vue中的使用
微信小程序表单输入最后一个字符丢失
nignx反向代理web服务器的配置与使用
【转载】python接口测试实战-Fiddler、Postman
热门文章
【转载】APP 压力测试monkey测试
【转载】电商网站全链路压测实战
【转载】模拟APP弱网测试
【转载】】Appium Studio 初体验(windows做ios自动化,录制appium脚本)
【转载】Git 的安装及使用的教程
【转载】Fiddler 4 实现手机App的抓包
【转载】LoadRunner性能测试入门教程详解
【转载】Bugzilla缺陷管理工具的使用
【转载】Katalon Studio 基本用法--录制脚本并查看测试报告
接口测试到底是测些什么
Copyright © 2011-2022 走看看