Problem med space in path in Proguard parameter call -
when trying parameter proguard, throws exception:
java -xms128m -xmx256m -jar "../../../tools/proguard/proguard.jar" @game_specific.pro -libraryjars "c:/program files/java/jdk1.5.0_22/jre/lib/rt.jar" error: expecting class path separator ';' before 'files/java/jdk1.5.0_22/jre/lib/rt.jar in argument number 3
this due space in file name, know much. have tried various work-arounds " , ', thing works when use progra~1 in path. not viable solution me, since command should able run on lot of different computer various paths java.
what doing wrong ?
for sake of convenience, proguard accepts arbitrarily grouped command-line arguments, using shell quotes, e.g.:
java -jar proguard.jar "-keep public class * { public <methods>; }"
the shell groups arguments , gobbles quotes. result, file names containing spaces have quoted once more, e.g. different quotes:
java -jar proguard.jar "-injars 'some input.jar'"
this double-quoting problem doesn't exist options in configuration files.
the issue mentioned in proguard manual.
Comments
Post a Comment