我只会在Eclipce下打包
然而由于我想知道的更多点,我想在记事本中打包
但是不知道怎样打包
希望各位能给点帮助
Java中,怎样在记事本中打包
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
5条回答 默认 最新
- iteye_19907 2008-06-25 12:48关注
给你个ant的例子吧
把下面的build.xml放进对应目录,把里面的src,build,dist 改成对应目录,在build.xml所在目录执行在命令行输入“ant” 即可。前提你必须下载安装ant,并配置到path中。
[url]http://ant.apache.org/[/url]build.xml
[code="xml"]
simple example build file
<!-- set global properties for this build -->
<!-- Create the time stamp -->
<!-- Create the build directory structure used by compile -->description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->description="generate the distribution" >
<!-- Create the distribution directory --><!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file --> <jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" basedir="${build}"/>
description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
[/code]本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
- ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
- ¥15 gdf格式的脑电数据如何处理matlab
- ¥20 重新写的代码替换了之后运行hbuliderx就这样了
- ¥100 监控抖音用户作品更新可以微信公众号提醒
- ¥15 UE5 如何可以不渲染HDRIBackdrop背景
- ¥70 2048小游戏毕设项目
- ¥20 mysql架构,按照姓名分表
- ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
- ¥15 delphi webbrowser组件网页下拉菜单自动选择问题