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
生成的文件
查看全文
相关阅读:
skywalking监控配置tomcat的参数
weblogic启动受管理节点
JavaScript中的数组遍历forEach()与map()方法以及兼容写法
ajax与HTML5 history pushState/replaceState实例
mongoose参考手册
mongoose
解决ul里最后一个li的margin问题
前端开发中最常用的JS代码片段
CSS3精美前端
60个有用的css代码片段
原文地址:https://www.cnblogs.com/zhaocundang/p/5041049.html
最新文章
关于pgsql输出表结构的问题
navicat远程连接mysql,2003 can't connect to mysql server on 10038
php基础部分总结篇-魔术方法
第一次接触php项目的反思
phpstorm配置xdebug进行远程调试(ubuntu)
Linux基础学习--1:linux内核与发行详解
php的MVC基本理解与原理
tf.nn.embedding_lookup
tf.strided_slice_and_tf.fill_and_tf.concat
tf.contrib.layers.embed_sequence()
热门文章
30-奇异值分解
29-相似矩阵和若尔当形
28-正定矩阵和最小值
25-复习二
24-马尔可夫矩阵,傅立叶级数
22-对角化和A的幂
21-特征值和特征向量
Prometheus时区问题
数据中心灾难恢复的重要参考指标:RTO和RPO
skywalking监控weblogic参数
Copyright © 2011-2022 走看看