AW: buildlist/subant in parallel

2009-01-28 Thread Jan.Materne
>> > Of particular concern is logging: your logger must be able to deal >with the >> > fact that you have projects running in parallel or your >logs will be >an >> > incomprehensible jumble. >> >> Thanks for the tip! Prefixing logging lines, and/or writing to >> separate log files per project l

Re: buildlist/subant in parallel

2009-01-28 Thread Jeffrey E Care
> > Of particular concern is logging: your logger must be able to deal with the > > fact that you have projects running in parallel or your logs will be an > > incomprehensible jumble. > > Thanks for the tip! Prefixing logging lines, and/or writing to > separate log files per project look like r

Re: buildlist/subant in parallel

2009-01-28 Thread Alex Iliev
On Wed, Jan 28, 2009 at 2:50 AM, Jeffrey E Care wrote: > Of particular concern is logging: your logger must be able to deal with the > fact that you have projects running in parallel or your logs will be an > incomprehensible jumble. Thanks for the tip! Prefixing logging lines, and/or writing to

Re: buildlist/subant in parallel

2009-01-28 Thread Alex Iliev
> I have written an executor which tries to parallelize a "normal" Ant > build. > http://svn.apache.org/repos/asf/ant/sandbox/parallelexecutor/ Thanks! I'll check it out. What is the policy for using Java 5 language features and APIs in ant? I wouldn't want to use wait/notify here - would have t

Re: buildlist/subant in parallel

2009-01-28 Thread Alex Iliev
> You might also have the ensure that your sub project can indeed be > build in parallel. The kind of issue you might have to solve are : > - Thread safety issue in some tasks > - Current access to some external ressources (database, repository, > file system, ...) I read about the non-reentrancy

Re: Bugzilla Issue 45902 (Up-to-date checks for JARs broken due to comparison of dir timestamps)

2009-01-28 Thread Jesse Glick
Stefan Bodewig wrote: has been changed to ignore directory resources The intent was to ignore timestamp changes in directory resources when determining whether or not to rebuild an existing JAR, not to ignore directories altogether. * a single empty directory is added to the sources - I th

AW: buildlist/subant in parallel

2009-01-28 Thread Jan.Materne
>I'm not aware of any implementation, but I think it might be an >excellent idea. It would be a good step in the direction of >concurrent build. > >However, note that implement the ivy-parallel-subant is not the only >thing you will have to do. >You might also have the ensure that your sub project

Bugzilla Issue 45902 (Up-to-date checks for JARs broken due to comparison of dir timestamps)

2009-01-28 Thread Stefan Bodewig
In http://svn.eu.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java?r1=738330&r2=738329&pathrev=738330 has been changed to ignore directory resources and I'm afraid this is going to cause some issues. without reviewing the code just now (zip is a pretty convulted pie

Re: Integration of antunit in junit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, Gilles Scokart wrote: > I have dig deeper, and it might be possible to compile enterily the > sources in a 1.4 format. You will just need to have a compiler able > to read 1.5 classes (I guess junit 4 classes are in a 1.5 class > format). They are, yes. > But I think the antunit

Re: buildlist/subant in parallel

2009-01-28 Thread Gilles Scokart
I'm not aware of any implementation, but I think it might be an excellent idea. It would be a good step in the direction of concurrent build. However, note that implement the ivy-parallel-subant is not the only thing you will have to do. You might also have the ensure that your sub project can in