Re: [pyx4me-users] proguard-maven-plugin, support for wildard libs?

10 views
Skip to first unread message

M2 Mixa

unread,
Mar 24, 2010, 6:17:08 PM3/24/10
to pyx4me...@googlegroups.com
You could try to copy them into one big archive, as a workaround ;)

Mike

On Thu, Mar 25, 2010 at 1:09 AM, javahollic <javah...@gmail.com> wrote:
> Hi,
> I haven't seen anything in the docs to support wild-cards for the libs
> tag, I'm using proguard to process a library that has 30+ dependant
> jars, all with versions, all that will change over time.  I really
> want to be able to use something like:
> <libs>
>  <lib>${some.path}/**.jar</lib>
> </libs>
>
> This kind of thing would save much ongoing by-hand editing...
>
> Cheers,
> Andy
>
> --
> 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.
>
>

M2 Mixa

unread,
Mar 24, 2010, 7:10:10 PM3/24/10
to pyx4me...@googlegroups.com
yep, that should be the best way.

On Thu, Mar 25, 2010 at 1:44 AM, Andy Brook <javah...@gmail.com> wrote:
> Bah! the maven way is regexp, I will not settle for manual file
> changes :) I'll see if I can grab the source, it ought not be too hard
> to add, probably.

M2 Mixa

unread,
Mar 24, 2010, 7:12:26 PM3/24/10
to pyx4me...@googlegroups.com
I'm not good with maven - I would think that it should allow to
collect several jars into one via regexp (as separate task), to use it
instead - I didn't mean a manual change...

Joakim Erdfelt

unread,
Mar 24, 2010, 7:17:13 PM3/24/10
to pyx4me...@googlegroups.com
Speaking as an Apache Maven ex-committer (I'm emeritus ATM) ...

Use plexus-utils and the org.codehaus.plexus.util.FileUtils class with the various .getFile() and .getFileNames() methods to handle the filename pattern include/exclude logic.
For an example of this usage, see the various goals in the maven-eclipse-plugin.

Good Luck,
- Joakim
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages