The manifest file contains a description of package related data contained within a Jar archive. Strings stored in MANIFEST.MF can include version and company information, the name of the main method in executable jar files and secure-digest information. Here is a simple example that illustrates the technique for accessing the data contained in MANIFEST.MF
Given the following Manfiest.mf file in the META-INF directory of a jar file:Manifest-version: 1.0 Name: com/mycompany/ourstuff/Implementation-Title: com.mycompany.ourstuffImplementation-Version: 21Implementation-Vendor: My Company
You can access the information contained within the Manifest using the following:Package versionInfo = Package.getPackage("com.rkcole.mystuff");String revision = versionInfo.getImplementationVersion();String vendor = versionInfo.getImplementationVendor();String title = versionInfo.getImplementationTitle()
Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts
Thursday, December 11, 2008
Tuesday, August 19, 2008
Trick to make netbeans fast
Hi,
There is a file named 'netbeans.conf' which can be found in
Example:
netbeans_default_options="-J-Xms384m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=96m -J-Xverify:none"
This example will allow NetBeans to run with a minimum of 384 megabytes of RAM and a maximum of 512 megabytes of RAM.
Cheers!
Ujjwal B Soni
Subscribe to:
Posts (Atom)