Removing "duplicate definition" warning of proguard

262 views
Skip to first unread message

Pascal

unread,
Mar 2, 2009, 9:50:03 AM3/2/09
to pyx4me-users
Hi

I just wanted to make sure I'm doing the right thing to remove
numerous warning messages that appear when not using WTK libs:

[proguard] Note: duplicate definition of library class
[com.sun.lwuit.layouts.CoordinateLayout]
etc.

I added to the dependencies block a filter:

<useWtkLibs>false</useWtkLibs>
<libs>
[...]
</libs>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>LWUIT</artifactId>
<filter>!javax/microedition/io/**,!com/sun/lwuit/**</filter>
</dependency>

Could you confirm it is correct ?

Regards,
Pascal

Vlad Skarzhevskyy

unread,
Mar 2, 2009, 10:04:15 AM3/2/09
to pyx4me...@googlegroups.com
Yes. It was the intended purpose of the filter
--
Vlad
Reply all
Reply to author
Forward
0 new messages