maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <r...@gold-family.us>
Subject Re: Any reason ant should compile faster?
Date Wed, 24 Jul 2013 16:35:18 GMT
I wish I could break it up. Among the problems with this code is the extreme bit of coupling.
The scripts list 300 files to compile because that's all that we would have wanted, but they
pull in other files, which pull in yet others. Trying to compile this fairly small subsystem
winds up building about a third of the entire project.

But I will definitely look at the options and see what I can learn from them; thanks for the
suggestions.

Russ

On Jul 24, 2013, at 12:31 PM, Wayne Fay <waynefay@gmail.com> wrote:

>> The case I'm wondering about now is one where we have over 10,000
>> source files in a directory, and compile them bit-by-bit. One step specifies
>> about 300 files, and thanks to javac dependency logic, actually compiles
>> about 4000 files in ant.
> 
> Is there any way you can break that into 10 projects with 1k files
> each, or 20 projects with 500 files each, etc? I have found dramatic
> improvements in (Java compiling) speed as a result of breaking huge
> projects like this into a series of much smaller projects with
> dependencies between the projects etc as needed.
> 
> Having said that, 20 seconds for 4k files sounds pretty quick! Sorry
> but I'm not sure how to explain the 20 sec vs 90 sec results you're
> experiencing. I'd check versions of everything and flags sent to
> compilers etc via -X.
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

-----------------
Come read my webnovel, Take a Lemon <http://www.takealemon.com>, 
and listen to the Misfile radio play <http://www.gold-family.us/audio/misfile.html>!





Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message