Re: Java9: 90 broken by -source/-target
 Aug 31, 2017 le 06:42:28PM +0200, Emmanuel Bourg êcrit: > Le 31/08/2017 à 14:20, Chris West a écrit : > > I don't think we should touch the compiler, or the peanut gallery will > scream in horror and complain that Debian's OpenJDK isn't Java. Let's > fix Ant first and see what's left. I think all the remaining problems hit either: * -Dant.build.javac.source: https://bugs.debian.org/873969 , or * https://bugs.debian.org/873977 But, who knows what we'll find with those fixed. > If a package calls javac or javadoc > directly (like junit [1]) a bug > can be raised right now. Done. It was only about 30.
Re: javadocs links with maven-debian-helper
On 31 August 2017 at 17:57, Carnë Draugwrote: > On 31 August 2017 at 17:25, Emmanuel Bourg wrote: >> Le 31/08/2017 à 18:03, Carnë Draug a écrit : >> >>> How do I set the path for the javadocs of other java libraries when >>> using maven-debian-helper? >> >> Good question, I'm not even sure this is supported, which is interesting >> because the *-java-doc package resolution occurring at the end of the >> build takes a lot of time for basically no benefit since the >> documentation isn't linked :D > > When building upstream directly with maven, this works fine: > > mvn -Dlinks=/usr/share/doc/default-jdk-doc/api package > > However, setting links on maven.properties file has no effect. Do you > have any idea why? > I found out that the reason why -Dlinks is ignored is that maven's javadoc plugin will ignore the links option in offline mode. It's own documentation states "only used if isOffline is set to false" [1]. It seems that the right option is to set offlineLinks [2]. In the pom.xml file, this would be: file:///usr/share/doc/default-jdk-doc/api/ file:///usr/share/doc/default-jdk-doc/api/ but I don't know how I would set this on a properties file. All the documentation says is that the user property is named offlineLinks. Could anyone with actual maven experience give me a hand? Carnë [1] https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#links [2] https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#offlineLinks
Re: The state of Maven
On Thu, 31 Aug 2017, Emmanuel Bourg wrote: > Le 5/08/2017 à 23:39, Thorsten Glaser a écrit : > > > The C function isatty() on the output filedescriptor, but in a > > build helper like that I’d expect it to always be disabled. > > I tried istty() but it's disabled when using pbuilder even if the > terminal supports colors. That's the idea: pbuilder's output is a logfile, NOT just the terminal, so it SHOULD NOT show the colours. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg * **Besuchen Sie uns auf der dmexco!** 13. und 14. September 2017, Messe Köln,** Halle 7.1, Stand E042** Digital Marketing Exposition & Conference [www.tarent.de/dmexco](http://www.tarent.de/dmexco) Wir empfehlen unseren Vortrag "Wettbewerbsanalyse im Handel: Preisvergleich online und offline" am 13. September, 18:00 Uhr im Speaker's Forum / Broadway * **Visit us at dmexco!** September 13th and 14th, 2017, Messe Köln,** Hall 7.1, Booth E042** Digital Marketing Exposition & Conference [www.tarent.de/dmexco](http://www.tarent.de/dmexco) We recommend our presentation "Competitor analysis in retail: price comparison online and offline" on September 13th, at 6 pm at the Speaker's Corner / Broadway *