ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29248] New: - Ant does not automatically parallelize independent targets.
Date Thu, 27 May 2004 15:04:56 GMT
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: dev@ant.apache.org
        ReportedBy: florin@iucha.net
                CC: florin@iucha.net


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message