java - Faster javac/ant? -
I think Java starts and runs practically for me instantly - but Java takes seconds, And the ant gets slower again, it's only a few seconds, but my editing-compile-test loop will be smooth without it. : -)
BTW: I have already used the "make" with the vampire.
Is there a way to speed up Jawaak and / or ant? Am I thinking about special switches, or moves? Or maybe an optional Java compiler (I'm using 1.6, in Linux)
This is for you .. but it's probably a bit bigger in the form of "patch" for your problem.
In addition, you can roll your own compiler plugin. There are two approaches:
-
Run the Java compiler instead of an ant (instead of making a new process). Not sure that ant already does this; If not, then it will save you some time to see for details.
-
To run javac in a server process that hears for socket options. In Ant, send the command to the process and wait for the output to return. Saves you from starting a new process at all times.
-
Try using the Eclipse Compiler Unlike the original counterfeit, the Eclipse compiler is very good at "ignoring" errors, so it can produce files when including the files with errors is. It does not seem very much, but it allows you to compile in the background all the time. When you do your last save (wrapping everything), the compiler will be able to compile everything and it will only need to see one file.
Comments
Post a Comment