News from June, 2011

  2011/06/14
Java Network Tips - Use IPv4 protocol stack prior of IPv6
Last changed: Jun 14, 2011 18:15 by Bartolomeo Sorrentino

A simpler way to use IPv4 is to use a switch in the command line e.g. java -Djava.net.preferIPv4Stack=true -jar <yourprog>

Posted at 14 Jun @ 6:09 PM by Bartolomeo Sorrentino | 0 Comments
  2011/06/15
Using the Google Eclipse Plugin and Maven
Last changed: Jun 15, 2011 10:01 by Bartolomeo Sorrentino
Labels: maven, gwt, eclipse

Summary

Usually, who uses maven, ... loves it because this simple & powerful tool enforces an ALM standardization across different IDE, making easier shares codes & dependencies etc ...

The problem for developer is to find out a good integration between maven and hosting IDE. Eclipse provides a good integration with maven and also with google related technologies. The last Google Eclipse Plugin gives to developer a fantastic environment to develop Google Web Toolkit application with other google related technologies.

In the same time also the gwt maven plugin has grown so fast and the last 2.0.3 release allow to use, in easy way, all the features of maven keeping the high productivity of Google Eclipse Plugin. Take a look here

Posted at 15 Jun @ 9:39 AM by Bartolomeo Sorrentino | 0 Comments
  2011/06/17
Publish artifact to central maven repo
Last changed: Jun 17, 2011 09:44 by Bartolomeo Sorrentino
Labels: maven, repository, sonatype

Summary

Using maven as ALM tools we need to share our OS artifact(s) with other. To achieve this we could submit a request to SONATYPE to have space on their public central repo .
The instructions about the "SONATYPE publish workflow" are here

Posted at 17 Jun @ 9:32 AM by Bartolomeo Sorrentino | 0 Comments
  2011/06/22
BITBUCKET - Configuration of HTTPS certificate authorities
Last changed: Jun 22, 2011 12:49 by Bartolomeo Sorrentino

Summary

If you are starting up using BITBUCKET (i.e. mercurial) SCM in your project, probably you have got the warning shown below

warning: bitbucket.org certificate with fingerprint ...... not verified \
(check hostfingerprints or web.cacerts config setting)

To avoid this follow instruction here

Posted at 22 Jun @ 12:39 PM by Bartolomeo Sorrentino | 0 Comments