[pyx4me-users] filtering <lib> entries. how?

12 views
Skip to first unread message

yurinadestin

unread,
May 6, 2010, 5:31:58 AM5/6/10
to pyx4me-users
Hello,

Proguard command line allows filtering library jars like this:
-libraryjars <java.home>/lib/rt.jar(!org/w3c/dom/UserDataHandler**)

In the plugin this feature doesn't seem to work. When I specify
configuration like this:
<libs>
<lib>${jdk1.5}/jre/lib/rt.jar(!org/w3c/dom/UserDataHandler**)</lib>
</libs>

it will send parameter
-libraryjars, 'C:\Program Files\Java\jdk1.5.0_19/jre/lib/rt.jar(!org/
w3c/dom/UserDataHandler**)'
to the proguard and it will treat whole quoted staring as a file name
giving:
[proguard] Error: Can't read [C:\Program Files\Java\jdk1.5.0_19\jre\lib
\rt.jar(!org\w3c\dom\UserDataHandler**)] (No such file or directory)

Correct parameter would be
-libraryjars, 'C:\Program Files\Java\jdk1.5.0_19/jre/lib/rt.jar'(!org/
w3c/dom/UserDataHandler**)

(note that closing apostrophe moved to the end of file name)

<inFilter> parameter is only applied to the <injar>.

Is there any solution to this problem at the moment?

Thanks,
Yuri Nadestin

--
You received this message because you are subscribed to the Google Groups "pyx4me-users" group.
To post to this group, send email to pyx4me...@googlegroups.com.
To unsubscribe from this group, send email to pyx4me-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyx4me-users?hl=en.

Reply all
Reply to author
Forward
0 new messages