cannot handle spaces in -libraryjars
Java class file shrinker, optimizer, obfuscator, and preverifier
Brought to you by:
guardsquare
here is the command I use:
D:\Belot\Belot>java -cp lib\commons\commons-
lang.1.0.1\commons-lang-1.0.1.jar -jar
libs\proguard\v.1.5.1\proguard.jar -injars
libs\commons\commons-lang-1.0.1\commons-lang-
1.0.1.jar;dist\lib\Belot-20030224.jar -outjar out.jar -
libraryjars "C:\Program Files\Java\j2re1.4.1_01\lib\rt.jar" -
keep public class
org.ninm.games.cardgames.common.Joker
produces thethe follwoing error:
Expecting jar name separator ';'
before 'Files\Java\j2re1.4.1_01/lib/rt.jar' in argument
number 2
Logged In: YES
user_id=555208
From the ProGuard manual, section "Usage", subsection "File
Names":
Names with special characters like spaces and parentheses
should be quoted with single or double quotes. Note that
each file name in a list of names has to be quoted
individually. Also note that the quotes may need to be
escaped when used on the command line, to avoid gobbling by
the shell.
For example, on the command line, you could use an option
like '-injars "my program.jar":"/your directory/your
program.jar"'.