kriegaex commented on PR #123:
URL: https://github.com/apache/xalan-java/pull/123#issuecomment-1813811895

   > It should be noted that makefiles, done properly, are also declarative.
   
   I know, even though it has been ages since I used one.
   
   > if anything they are _more_ dependency driven
   
   If done right, they are actually great for incremental builds in which 
really only the absolute minimum of what has changed will be rebuilt. I 
remember, in the old times I managed to speed up a cross-compile build from 
Linux to an embedded platform from 1 hour for tiny changes to a few seconds, 
just because I took the trouble to stringently define dependencies and not 
build everything or at least way too much "just to be safe".
   
   Maven is less fine-granular in this regard and therefore more "wasteful". 
But still, if done right (again), you can make Maven builds faster and not 
always build everything. Hence my idea with profiles. You might think that 2 
minutes are fast. I prefer 2 seconds, especially if I rebuild 50 times in the 
process of optimising some piece of code or Maven POMs, which lately I have 
done in Xalan-J to help you a bit. I lose more time waiting for builds than I 
need to make changes in POMs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to