News for hackers. Stuff that matters.
Re:Java.sun.com is down - breaking builds across the land by johnnyo on Monday October 10, 2011 @11:19AM (#3094125)
Why do people let their builds depend on servers they don't control? If your build is breaking because some server somewhere on the internet is down, your build was already broken, you are just now realizing it.
Re:Java.sun.com is down - breaking builds across the land by drewvolpe on Monday October 10, 2011 @11:54AM (#3094302)
It's easy to say that, but that's not the default in Java and it takes a decent amount of work to completely decouple yourself. For example: it uses XML all over the place to setup and configure things and, by default, will validate these XML files against a schema at a URL. If that URL starts redirecting to a splash page (as http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd currently does), it breaks the build.
Re:Java.sun.com is down - breaking builds across the land by justincormack on Monday October 10, 2011 @02:07PM (#3095008)
Validating parsers should not be downloading these, they should have local copies. And you should probably not validate against a dtd anyway.

No build should need network access.

Re:Java.sun.com is down - breaking builds across the land by oconnor0 on Monday October 10, 2011 @05:10PM (#3095868)
Apparently you've never met Maven.
Re:Java.sun.com is down - breaking builds across the land by shaggyfrog on Monday October 10, 2011 @08:15PM (#3096488)
I believe the expression is "Maven downloads the Internet".
Re:Java.sun.com is down - breaking builds across the land by serverascode on Tuesday October 11, 2011 @06:16PM (#3100606)
I'm going to use that one! ha!
Re:Java.sun.com is down - breaking builds across the land by Bootvis on Monday October 10, 2011 @12:50PM (#3094584)
It seems to be fixed now.
Re:Java.sun.com is down - breaking builds across the land by jmount on Monday October 10, 2011 @11:52AM (#3094288)
You are right- nobody should knowingly allow this sort of dependency. Except Sun hard coded a few of these in.