<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Sep 9, 2016, at 4:39 AM, Kevin Kofler <<a href="mailto:kevin.kofler@chello.at" class="">kevin.kofler@chello.at</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Jake Petroules wrote:<br class="">
<blockquote type="cite" class="">Another thing that's very hard to do in other build systems is building<br class="">
Java code. The class files emitted by a Java compiler actually vary<br class="">
depending on the contents of the Java files themselves.<br class="">
<br class="">
Imagine you've built a JAR file, and then you add a new anonymous inner<br class="">
class within one of your Java source files. The command line invocation to<br class="">
build the JAR file needs to be updated to contain the new class file that<br class="">
will result. Impossible with qmake/CMake/Makefiles/etc.<br class="">
</blockquote>
<br class="">
Well, what you can do if you have a lot of Java stuff to build is to just <br class="">
shell out to Ant. That's how Qt Jambi does it, for example. Use the right <br class="">
tool for the job.<br class="">
<br class="">
CMake has some support for building Java, but indeed, it does not <br class="">
automatically figure out the outputs of each .java file for you. Dedicated <br class="">
Java build systems are much better at that.<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Last I checked, "dedicated" Java build systems (like Ant) don't even handle that case. Maybe I'm wrong but as far as I'm aware, the Java support in Qbs with regard to dependency tracking is superior to anything else out there except perhaps Buck. And no
 one would call that a "dedicated Java build system".</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">       Kevin Kofler<br class="">
<br class="">
_______________________________________________<br class="">
Development mailing list<br class="">
<a href="mailto:Development@qt-project.org" class="">Development@qt-project.org</a><br class="">
http://lists.qt-project.org/mailman/listinfo/development<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
-- <br class="">
Jake Petroules - <a href="mailto:jake.petroules@qt.io" class="">jake.petroules@qt.io</a><br class="">
Consulting Services Engineer - The Qt Company</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Qbs build tool evangelist - <a href="http://qbs.io" class="">qbs.io</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</body>
</html>