Multiple library jars can't be specified
Java class file shrinker, optimizer, obfuscator, and preverifier
Brought to you by:
guardsquare
In the manual, multiple library jars can be specified
to -libraryjars option with path separator ':' on Unix
platform.
But ProGuard recognizes ':' separated paths as single
file path.
I tried to use ';' as separator, then ProGuard says as
following on Unix platform.
> Missing jar name separator ':' before ';' in argument
number 4.
Logged In: YES
user_id=401172
I ran into this as well, in version 1.1. It looks to me as
if the Unix path separator ":" is not listed as a delimiter
in WordReader.isDelimiter, preventing the -libraryjars
option from accepting multiple jars in the same option. I
found that as a workaround, spaces can be used as
additional delimiters, e.g. "jar1 : jar2" works whereas
"jar1:jar2" is what I expected to work.
Alternatively, my understanding of the manual is that each
jar could be listed in a separate -libraryjars option, but I
have not verified that works.
Logged In: YES
user_id=555208
You're right; this was an oversight of mine.
The parser reads words and key words separated by
white space. Special characters (comma, semi-colon,
parentheses,...) are always treated as individual key words,
irrespective of any white space around them. The path separator
is not included in the list of special characters, so on Unix,
you have to surround the colons by spaces (or specify multiple
-libraryjars options, which is what I prefer myself).
I've fixed it for version 1.2, due to be released in a
couple of days.
Eric.