Removing duplicate jars from classpath

2005-08-18 Thread timt asml
Hi, We've recently moved part of our build environment from traditional unix make to ant, and we're encountering some problems (ant 1.6.2, by the way) - We have an hierachical archive organization, in which individual programmers only work on single components of the product.

RE: Removing duplicate jars from classpath

2005-08-18 Thread Dominique Devienne
Probably by using the not+present selectors in your second fileset. Note that your jlib.gate property will need to be relative to basedir for your scheme to work correctly, but I suspect you already know that. --DD -Original Message- From: timt asml [mailto:[EMAIL PROTECTED] We've

Re: Removing duplicate jars from classpath

2005-08-18 Thread Matt Benson
--- timt asml [EMAIL PROTECTED] wrote: Hi, We've recently moved part of our build environment from traditional unix make to ant, and we're encountering some problems (ant 1.6.2, by the way) You are encountering problems, or you are anticipating problems? path preserves order, so

Re: Removing duplicate jars from classpath

2005-08-18 Thread Alexey N. Solofnenko
I do it with Jython as following, but, depending on what you actually need to do, it can be done easier by filtering all values via LinkedHashSet: scriptdef name=setpath language=jython attribute name=name / attribute name=path / ![CDATA[# setpath import os import java