Hacker News new | ask | show | jobs
by Rotor 5361 days ago
Yes, a known and sad fact many java static files have hardcoded URIs to java.sun.com.

Stupid hack: add a java.sun.com DNS entry on the build server to point to local and host the static files on the build server.

1 comments

Ugh. I remember hacking my "web.xml" and the like files at home years ago so that I could work offline. I simply pointed them to local copies of the files with a "file:" URI. Not sure what the least-evil fix for this is, though.