Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

M2T-JET/Committer Resources

This page is intended for M2T-JET committers and other developers working with the JET source

Builds and Promotion

Galileo (and Helios?) promote fixes

The Eclipse Jar signing process is corrupting the org.eclipse.jet_1.0.x.yyyyyyyy.jar.gz file. See Bug 275150. As a work around, perform the following after a successful build, but prior to promotion to the Eclipse download sites:

  1. log into the build server ( using putty
  2. Use sudo to become the build user.
sudo -u apache -i 

Within the sudo shell, perform the following commands:

  1. Change to the build directory (e.g. /home/www-data/build/modeling/m2t/jet/downloads/drops/x.y.z/build-id).
  2. Use the zip command to delete the org.eclipse.jet_a.b.c.qualifier.jar.gz from the Master zip (
  3. Use the md5sum command to recompute the MD5 hash of the master zip file (
  4. Exit sudo

The following is an example of the commands given to the sudo shell.

cd /home/www-data/build/modeling/m2t/jet/downloads/drops/1.0.1/S200909010949 
zip -d eclipse/plugins/org.eclipse.jet_1.0.1.v200908201022.jar.pack.gz
md5sum >

Finally, promote the build as usual.

Verifying packed files (*.jar.pack.gz)

Related to the above, you can verify the packed files created by the build as follows:

  1. copy the Master zip to a temporary location
  2. Use unzip to extract the Master zip contents
  3. Switch to the eclipse/plugins directory
  4. Use unpack200 to unpack the jar.pack.gz files
  5. Use jarsigner with the -verify option to verify the unpacked jars.

The following is an example of the above process:

cd /home/www-data/build/modeling/m2t/jet/downloads/drops/1.0.1/S200909010949
cp ~
cd ~
cd eclipse/plugins
unpack200 org.eclipse.jet_1.0.1.v200908201022.jar.pack.gz
jarsigner -verify

The error seen from the last step is typically:

jarsigner: java.lang.SecurityException: SHA1 digest error for org/eclipse/jet/internal/xpath/parser/XPathParser.class

Back to the top