4 ms·
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 buil
by johnnyo 15y ago
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.
- jmount 15y agoYou are right- nobody should knowingly allow this sort of dependency. Except Sun hard coded a few of these in.
- drewvolpe 15y agoIt'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 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd currently does), it breaks the build.
- Bootvis 15y agoIt seems to be fixed now.
- justincormack 15y agoValidating 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.
- oconnor0 15y agoApparently you've never met Maven.
- shaggyfrog 15y agoI believe the expression is "Maven downloads the Internet".
- serverascode 15y agoI'm going to use that one! ha!