packages with clashing jar file names

7 views
Skip to first unread message

Mike Roberts

unread,
Mar 1, 2010, 6:15:26 PM3/1/10
to fig-...@googlegroups.com
Say I have 2 packages that I depend on, both that contain a jar file
called 'utils.jar' . If I'm using a 'retrieve' line in my package.fig
is there anyway of specifying a particular include's files are
actually put in a different directory so that they don't clash? Or
would I be forced to repackage the dependency with a different
variable name on the 'append' line ?

I guess more generally it would be nice to be able to optionally have
something like:

retrieve CLASSPATH->lib

config default
include sheep/1.0.0 sheep
include cheese/1.0.0 cheese
end

and then I would see

lib
-> sheep -> sheep.jar
-> cheese -> cheese.jar

Thoughts?

Mike

Matthew Foemmel

unread,
Mar 1, 2010, 7:19:00 PM3/1/10
to fig-...@googlegroups.com
You can specify patterns in the "retrieve" statement like this:

    retrieve CLASSPATH->lib/[package]

Which will create subdirectories for each package. That way the "utils.jar" files won't clash.

Dan North

unread,
Mar 2, 2010, 3:52:42 AM3/2/10
to fig-...@googlegroups.com
Ooh! That's nice.
Reply all
Reply to author
Forward
0 new messages