Executable .war with winstone-maven-plugin

Hugo Josefson

You don’t need to install Tomcat, JBoss or any other web server in order to run a Java web application (.war file)! If your project is configured with a Maven pom.xml and the module has <packaging>war</packaging>, you can just add this little piece of XML inside the pom’s <plugins> tag: <plugin> <groupId>net.sf.alchim</groupId> <artifactId>winstone-maven-plugin</artifactId> <executions> <execution> [...]

Tags: , , , ,

Running Selenium RC with Firefox 3

Joakim Back

After running into proxy errors attempting to run Selenium tests with Opera 9.62 and being unable to install Firefox 2 on Ubuntu 8.10 (unsatisfied package dependencies..) I finally ran into this gem: Hi, On windows I succeeded to run Selenium RC and Firefox 3 using the following steps 1. run firefox in profilemanager mode (“path\to\firefox.exe” [...]

Tags: , , , ,

Wicket Javascript Internals dissected

Nino Martinez

SO you need to do something special with a javascript and you want to integrate that with wicket. In my last article I looked at this from the wicket side and wrote about what you can do to push something out from wicket. But what if you want to interact? Then you will have to take a peek at wickets javascript internals. If you are working on an ajax component you get these wicket javascript source files included as default [...]

Tags: , , , , , ,

Squid, the caching proxy

Ulrik Sandberg

I just checked out the old Squid again, the worlds most famous caching proxy. If you direct all your web access through the Squid proxy server, it will cache stuff after the first access. This would simplify for example for labs where fifty people simultaneously begin retrieving stuff from a Maven repo somewhere or downloading [...]

Tags: , , , , ,

Using Amazon S3 for backup

Ulrik Sandberg

Amazon Simple Storage Service (S3) is cheap on-line storage with a Web Service interface. You just log in with your Amazon id, sign up for S3, designate a credit card, and that’s it. You now have access to pretty much unlimited storage space, managed by Amazon. The price is $0.15 per GB-Month of storage used [...]

Tags: , , , , , , ,

Sharing a Mac Internet Connection Through Airport

Ulrik Sandberg

I just solved a networking problem on my Macs after hours of trying. For the benefit of others, I’ll describe here the problem and the solution. Setup Cable modem from ISP, network cable to a firewall, the private end of the firewall via network cable on to a switch. Pretty basic, I guess. No wireless [...]

Tags: , , , ,

Solving 403 problems with Sourceforge Subversion

Ulrik Sandberg

After having had severe problems when committing to the Sourceforge Subversion repos, I stumbled upon what appears to be the solution. The problem was that in the middle of a commit, one file or directory would fail with a 403 (permission denied). In desperation, I would chop up the change set and commit little pieces [...]

Tags: , , , , ,

A cool GMail feature

Ulrik Sandberg

Google Mail will deliver a mail even though the recipient address ends with ‘+’ and some more text, like john.doe+msn@gmail.com for example. This feature can be used to create an unlimited number of mail addresses that can be used for registration purposes. For example, say that the MSN web site requires your email address for [...]

Tags: , , , , ,