Progress?

November 25th, 2003

More and more people are boasting about Maven (like him), I decided to try it too. First obstacle to overcome (of course): http proxy. Luckily, the Maven people have written a nice FAQ. So I put

maven.proxy.host = corpproxy.mmm.com
maven.proxy.port = 3128
in my build.properties (nicely put in ${user.home}, yes). It didn't work for me. After an hour of fiddling about, suddenly it came to me. I changed the above to
maven.proxy.host = corpproxy.mmm.com
maven.proxy.port = 3128
And it worked!

Did you spot the difference yet? Hint: try counting the spaces after 3128. Jup. There cannot be any, or it won't work. I very vividly remember, when starting to use Ant, we were all making fun of the poor people using make, because they had to deal with tabs and spaces and the lot. Now, we have progressed so far to be at that same point. History just keeps on repeating itself.

OK, onto the next error...

4 Responses to “Progress?”

  1. Gabriel Mihalache Says:
    That's not ANT's fault. Maven should chop the String it gets for trailing spaces. It's basic usage. Many people do use Maven, but the most experince developers say that it's bad coding practice. (like Hani of Bile Blog fame). Myself, I'd rather not have to use Maven.
  2. Gabriel Mihalache Says:
    That's not ANT's fault. Maven should chop the String it gets for trailing spaces. It's basic usage. Many people do use Maven, but the most experince developers say that it's bad coding practice. (like Hani of Bile Blog fame). Myself, I'd rather not have to use Maven.
  3. Tom Klaasen Says:
    Gabriel: read again. I'm not blaming Ant here. On the contrary, I agree with you. And if you're interested: Maven's scm:checkout-project goal seems to be broken too (at least for my machine/environment). This is obstacle #3 (#2 had something to do with CVS NT server). I'm ready to give up...
  4. g suhm Says:
    thank you --- that solved my problem (Homer Simpson: "stupid spaces! doh!")

Leave a Reply