Re: Custom task with classpath and exclusion

2010-04-22 Thread Stefan Bodewig
On 2010-04-22, Blaise Gervais wrote: > exclusions.createExcludesFile().setName(entry.path.getPath()+File.separatorChar+exclusion); In a fileset an excludesfile is a text file that contains an exclusion pattern per line. I don't think you really want this but createExclude(), > And the output :

Custom task with classpath and exclusion

2010-04-22 Thread Blaise Gervais
Hi everyone, I'm writing one custom Ant Task who create a classpath. This task can also exlued files from the class path. But I'm unable to excludes files from the Path because the path t the excluded file is wrong. Here is my code : > FileSet exclusions = new FileSet(); System.out.println("Pare