java项目打包(尤其用到fatjar插件)

Fat Jar Eclipse Plug-In



Current Release:alpha
Url Update Manager:http://kurucz-grafika.de/fatjar
Download from:project page


Requirements: Eclipse 3.0 or greater


Documentation: JDT integration:
About

The Fat Jar Eclipse Plug-In is a Deployment-Tool which deploys an Eclipse java-project into one executable jar.

It adds the Entry "Build Fat-JAR" to theExport-Wizard.
In addition to the eclipse standard jar-exporter referenced classes and jars are included to the "Fat-Jar", so the resulting jar contains all needed classes and can be executed directly with "java -jar", no classpath has to be set, no additional jars have to be deployed.

Jars, External-Jars, User-Libraries, System-Libraries, Classes-Folders and Project-Exports are considered by the plugin.
The Main-Class can be selected and Manifest-files are merged.
The One-JAR option integrates a specialised Class-Loader written by Simon Tuffs ( http://one-jar.sourceforge.net/ ) which handles jar-files inside a jar.
Individual files and folders can be excluded or added to the jar.
Different settings can be stored and re-executed as "Quick Build" via the context-menu.

top


How To Install

The zip file contains the plugin directory. Unzip from within the Eclipse directory.
Stop eclipse.
Start eclipse from the command-line with the clean option "eclipse -clean",
otherwise the plugin will not be found.

To uninstall, remove the net.sf.fjep.fatjar_x.x.x (where x.x.x
denotes the version of the plugin you have installed). 

下载地址为:http://sourceforge.net/projects/fjep/files/fatjar/

下载fatJar插件,解压后有net.sf.fjep.fatjar_0.0.24,将net.sf.fjep.fatjar_0.0.24放到eclipse的plugins中,重新启动eclipse即可用,这插件打包的时候可把用到的第三方的JAR包也一起打到目标JAR中。




Eclipse中JAVA项目的打包



  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值