Sunday, June 24, 2007

How to determine Project Woodstock components version in Netbeans

This is just a simple explanation of how to determine which version of Project Woodstock components you are using in Netbeans. This question often comes up when you are posting to the Project Woodstock or netbeans forums. The Woodstock components are organized into jar files which have a MANIFEST.MF file inside. The MANIFEST.MF contains all of the details:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: Sun Microsystems Inc.
Implementation-Title: Woodstock 4.1
Implementation-Version: 4.1
Implementation-Vendor: Sun Microsystems Inc.
Implementation-Vendor-Id: com.sun
Specification-Title: Woodstock
Specification-Version: 4.1
Specification-Vendor: Sun Microsystems Inc.

Name: com/sun/webui/jsf/
X-SJWUIC-SWAED-Version: 4.0
X-SJWUIC-Components-Version: 4.1
X-SJWUIC-Components-Timestamp: 200706221216
X-SJWUIC-Theme-Version-Required: 4.1
X-SJWUIC-JSF-Version: 1.2
X-SJWUIC-Dependencies: dataprovider.jar/1.0, jhall.jar/2.0
X-SJWUIC-Dependencies-FileUpload: commons-fileupload.jar/1.0

This example is taken from Netbeans 6.0 Daily Build 200706230000. The Library is called Web UI Components and the specific jar file is webui-jsf.jar. The two items usually asked for are version and the component timestamp. The timestamp indicates which build you are using of the particular components.

0 comments :

Popular Posts