Re: Pull multiple .class files from multiple .jars into one .jar

2011-03-01 Thread Scot P. Floess
Sorry, my example is slightly wrong... I mean: Jar 1 - Foo.class (inherits Bar.class) Bar.class Jar 2 - Alpha.class (inherits Beta.class) Beta.class New Jar --- Foo.class Alpha.class On Tue, 1 Mar 2011, Scot P. Floess wrote: You can certainly unjar all the jars...apply your p

Re: Pull multiple .class files from multiple .jars into one .jar

2011-03-01 Thread Scot P. Floess
You can certainly unjar all the jars...apply your patternset for those class files and jar those into the new jar... However, should you want to use this jar file by itself (meaning without the original jar files), you may find yourself getting ClassNotFoundException's... For example, assu

Pull multiple .class files from multiple .jars into one .jar

2011-03-01 Thread Vilius Vaivada
Hi all, I'm new to ant, so I might be missing something fairly obvious. My problem: * I have a lib/ directory full of .jar files * I have 2 patternsets for some .class files that I want to put into two new jar files. After a bit of googling I have this:

Re: Providing multiple jars for a given manifestclasspath

2010-02-20 Thread Antoine Levy-Lambert
krats wrote: > My question is, if I want to use the same manifestclasspath for multiple > jars, how do I specify multiple jars in the jarfile attribute of > manifestclasspath . > You cannot specify multiple jars in the jarfile attribute of the manifestclasspath task. What reall

Providing multiple jars for a given manifestclasspath

2010-02-19 Thread krats
My question is, if I want to use the same manifestclasspath for multiple jars, how do I specify multiple jars in the jarfile attribute of manifestclasspath . Thx

Extracting files from multiple JARs on a classpath

2007-06-29 Thread Brian Topping
Hi all, I have a classpath refid with a number of JARs. The JARs obviously contain a number of files. I'd like to be able to provide files from these JARs that match a pattern as an embedded files element to a Task. Is there any way to do this? How about with Ant 1.6.5? Thanks kindly f

Re: multiple jars

2005-03-14 Thread James Fuller
THUFIR HAWAT wrote: I've got some source and build files at. is it possible to compile both source files to make two .jar files from one build file? you can of course compile with Ant using the task (as many times as you want), then use Ant's task (as many time

multiple jars

2005-03-14 Thread THUFIR HAWAT
I've got some source and build files at. is it possible to compile both source files to make two .jar files from one build file? thanks, Thufir - To unsubscribe, e-mail: [EMAIL PROTECTED] For add