Java Project import and jar package generation

Source: Internet
Author: User

1. Import the project which has been developed well

Open from the menu File-->import

Select the general-->existing Projects into workspace Point Next button to choose the Project catalog

2. Plugin Project build jar Package

Open from the menu File-->export

Select the plug-in development-->deployable plug-ins and fragments Point Next button to choose the project that needs to generate the jar package, and then select Destination--> The target directory of the jar generated in the diretory.

Alternatively: You can also select project directly from Project Explorer right click to select Export exports a single project

The plugin project has an important document Meta-inf/manifest. MF as follows

manifest-version:1.0
Bundle-manifestversion:2
BUNDLE-NAME:SDPS3 Storage Client Bundle
Bundle-symbolicname:cosbench-sdps3
bundle-version:0.4.1.0
Bundle-vendor:intel
bundle-requiredexecutionenvironment:javase-1.6
Bundle-classpath:.,
Aspectjrt.jar,
Aspectjweaver.jar,
Commons-codec-1.3.jar,
Commons-logging-1.1.1.jar,
Freemarker-2.3.20.jar,
Httpclient-4.3.6.jar,
Jackson-core-asl-1.8.7.jar,
Jackson-mapper-asl-1.8.7.jar,
Mail-1.4.3.jar,
Spring-beans-3.0.7.jar,
Spring-context-3.0.7.jar,
Spring-core-3.0.7.jar,
Stax-1.2.0.jar,
Stax-api-1.0.1.jar,
Fluent-hc-4.3.6.jar,
Httpclient-cache-4.3.6.jar,
Httpmime-4.3.6.jar,
Httpcore-4.3.3.jar
Import-package:com.intel.cosbench.api.auth,
Com.intel.cosbench.api.context,
Com.intel.cosbench.api.storage,
Com.intel.cosbench.config,
Com.intel.cosbench.log

3. Common project Build Jar package

Open from the menu File-->export

Select Java-->jar file to generate a generic project JAR package

Java Project import and jar package generation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.