@echo off @rem *************************************************************** @rem ** Author: Robert Lie @rem ** Copyright 2004 Mobilefish.com @rem ** All rights reserved @rem ** @rem ** start_unsign.bat @rem ** @rem ** Unsign all jar files found in signed_jars.txt @rem ** @rem ** Usage: @rem ** 1) Create a directory (for example c:\sign2unsign) @rem ** 2) Copy the following files into this directory: @rem ** start_unsign.bat @rem ** unsign_jar.bat @rem ** signed_jars.txt @rem ** 3) Copy all signed jar files into c:\sign2unsign @rem ** For example: @rem ** c:\sign2unsign\jogl.jar @rem ** c:\sign2unsign\jogl-natives-solsparc.jar @rem ** c:\sign2unsign\jogl-natives-win32.jar @rem ** c:\sign2unsign\jogl-natives-macosx.jar @rem ** c:\sign2unsign\jogl-natives-linux.jar @rem ** 4) Edit signed_jars.txt. Add a signed jar filename on each line. @rem ** For example: @rem ** jogl.jar @rem ** jogl-natives-solsparc.jar @rem ** jogl-natives-win32.jar @rem ** jogl-natives-macosx.jar @rem ** jogl-natives-linux.jar @rem ** 5) Run script start_unsign.bat @rem ** Two directories are created: @rem ** signed - This directory contains the original signed jars @rem ** unsigned - This directory contains the unsiged jars @rem ** @rem ** Software prerequisites: @rem ** Java 2 Standard Edition (J2SE) SDK, version 1.2.2 or higher. @rem ** The J2SE SDK is needed in batch script unsign_jar.bat @rem ** because the jar application is being used. @rem ** @rem ** More information about the purpose of these batch scripts, see: @rem ** https://www.mobilefish.com/developer/javawebstart/javawebstart.html @rem ** @rem *************************************************************** set TEMPDIR=temp set SIGNEDDIR=signed set UNSIGNEDDIR=unsigned rmdir /S /Q %TEMPDIR% rmdir /S /Q %SIGNEDDIR% rmdir /S /Q %UNSIGNEDDIR% mkdir %SIGNEDDIR% mkdir %UNSIGNEDDIR% for /f "eol=; tokens=1*" %%x in (signed_jars.txt) do call unsign_jar.bat %%x