Software development woes. Java-based development in particular. Also, philosophizing, architecture, design.
Showing posts with label verbose. Show all posts
Showing posts with label verbose. Show all posts
Monday, December 3, 2012
Maven Copy Plugin
This (new?) Maven 'copy' plugin: http://evgeny-goldin.com/wiki/Copy-maven-plugin, seems to be a useful tool to simplify some Maven projects. It seems to be a good way to using a minimal number of plugins for common tasks. This is not a deep review; I'm just blogging this as sort of a mental note.
But it could be used for the following problem: I recently learned a second way that the 'real' Maven and running under the Eclipse Maven plugin differs, in that resource files in /src/man/java are copied; but not so with Maven defaults. (The other difference I know of is that Eclipse has only one classpath, the same for both src/test and src/main. Fertile ground for bad imports.) It's easy to add with a standard plugin, but if you have many such small tasks, then possibly this 'copy' plugin will be better than a bunch of disparate plugins. Maven is verbose enough, I think.
Tuesday, October 23, 2012
Curl Is Great
Trying some HTTP code I've written. A redirect works in Chrome, but not in Safari, and not in Firefox.
What gives?
The developer tools in Safari and Firefox are not up to the job. I have some potential posts on the webkit developer tools queued up, so let's leave it at that for now.
So, after a while, my thoughts turn to telnet. But before I get to try it, I get a better idea, as it would turn out: trying the 'curl' command. (The headline should perhaps read cURL, for the capitalization pedants.)
And this message is written to the terminal:
You just need to give curl the '-v' option.
What gives?
The developer tools in Safari and Firefox are not up to the job. I have some potential posts on the webkit developer tools queued up, so let's leave it at that for now.
So, after a while, my thoughts turn to telnet. But before I get to try it, I get a better idea, as it would turn out: trying the 'curl' command. (The headline should perhaps read cURL, for the capitalization pedants.)
And this message is written to the terminal:
* no chunk, no close, no size. Assume close to signal endAha! Yes of course. This is what the words 'good feedback' can mean.
You just need to give curl the '-v' option.
Subscribe to:
Posts (Atom)