DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29248>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29248

Ant does not automatically parallelize independent targets.

           Summary: Ant does not automatically parallelize independent
                    targets.
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


We have a large source code base (hundreds of components) that are assembled in
20 or so deployments (J2EE). The whole application builds in several hours on
the current machine, but we just got a 4-way machine for the build (we use it to
build lots of C code as well).

Ant does not take advantage of the multiple CPUs like make does.

I have a big ant file that looks like this:

   <target name="build.foo" depends="build.bar,build.baz">
      <ant dir="foo" target="build"/>
   </target>

I know ant can execute tasks in parallel, by explicitely marking sections of the
script as executable in parallel. But I don't want to go and manually compute
the dependencies between 200 components... every time somebody changes
dependencies. Ant already computes the dependencies, and I would like it to
execute multiple independent targets in parallel.

I am willing to help with coding and testing, I just need to know if somebody
else has attempted this, or if there is a deep problem in the code that would
require significant refactoring before this is possible. Any pointers would be
appreciated.

Thank you,
florin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to