Re: GNU Make for Java projects

2019-02-12 Thread Blake McBride
Agreed. https://github.com/blakemcbride/Build On Mon, Feb 11, 2019 at 9:40 PM Tim Murphy wrote: > Targets with multiple outputs have never been well supported in GNU make > and despite appeals and the problem having existed forever and despite > examples of commercial make implementations that

Re: GNU Make for Java projects

2019-02-11 Thread Tim Murphy
Targets with multiple outputs have never been well supported in GNU make and despite appeals and the problem having existed forever and despite examples of commercial make implementations that support it well, it would not surprise me if support for it was something we could only hope for for our c

Re: GNU Make for Java projects

2019-02-11 Thread Blake McBride
I appreciate all of the replies and comments, but I think a point is being missed. Let's say my Java app is made up of 9,500 source files (which is actually true!). Let's say I change 20 of them. 1. How could I create a dependency that basically says the 9,500 Java files in an entire source dir

Re: GNU Make for Java projects

2019-01-23 Thread Brian Vandenberg
It's been years, but I'll throw in my 2 cents in case it helps. I attempted to make some java stuff build using a makefile and ran into circular dependency issues: foo.java depended on bar.java & vice-versa. When I attempted to compile foo.java by itself it complained about unsatisfied dependencie

Re: GNU Make for Java projects

2019-01-21 Thread Andrea Venturoli
On 1/21/19 3:17 AM, Blake McBride wrote: 1.  When building C programs one calls the compiler for each source file.  This is impractical with Java because of the javac startup time. Typically javac is called once with many source files at a time - but not the ones that are not out of date. T

Re: GNU Make for Java projects

2019-01-20 Thread Blake McBride
Thank you for your kind response. It seems to me, and as reported by others, that what Make does and what the Java build tools do have some fundamental differences. Some that come to mind are as follows: 1. When building C programs one calls the compiler for each source file. This is impractica

Re: GNU Make for Java projects

2019-01-18 Thread Henrik Carlqvist
On Fri, 18 Jan 2019 05:42:44 -0600 Blake McBride wrote: > I have found Make very easy to understand and use. Given the amount of > work they do in the background, I have found build tools such as Maven > and Gradle to be very confusing. When I some years ago wrote Android apps I found eclipse to