Menu

#18 cannot handle spaces in -libraryjars

closed-invalid
None
5
2003-02-25
2003-02-24
No

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

Related

Bugs: #631
Discussion: i get this error can you help me?

Discussion

  • Eric Lafortune

    Eric Lafortune - 2003-02-25

    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"'.

     
  • Eric Lafortune

    Eric Lafortune - 2003-02-25
    • assigned_to: nobody --> lafortune
    • status: open --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB