Applying ParallelTask

2007-11-05 Thread Arseny
Hello! After moving our Ant server to Intel Core Quadro I decided to make our ant build in parallel. I studied the ParallelTask in ant, but found the following problem in applying it to our project. The project consists of a hundred separate modules (jars) and its build.xml is made in terms of

how to set a property based on the contents of files in a tree?

2007-11-05 Thread Jay Dickon Glanville
Hello all, I'm doing something, but I'm not sure I'm doing it the best way possible. So, I thought I'd ask the experts. What I want to do is set a property if at least one file in a directory tree contains a regular expression X. Here's what I'm doing: Create a fileset containing all files tha

Re: Creating SymLinks with relative paths

2007-11-05 Thread Andrew Goktepe
The symlink task (http://ant.apache.org/manual/OptionalTasks/symlink.html) can be used to create symbolic links with relative paths on a per-file basis: The value given for the resource attribute is relative to the location of the link you are creating (same behavior as command-line usage of ln)

Creating SymLinks with relative paths

2007-11-05 Thread yvesforkl
Creating SymLinks with relative paths shouldn't be too hard for ant. However, I can't figure out the right way to do it. Using bash commands, I'd do cd dir_b ln -s ../../dir_a/*.xml . yielding symbolic links within dir_b that look like ../../dir_a/file1.xml etc. What is the equivalent of this

Re: searching help for: class org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter can not be found

2007-11-05 Thread rolando80
Hi Peter and all! when i run this it doesn't work. there is the error: A class needed by class org.aspectj.tools.ant.taskdefs.Ajc10 cannot be found: org/apache/tools/ant/taskdefs/MatchingTask but the class MatchingTask is in ant.jar which is on the classpath and quoted directly. could it be th