Importing Groovy/GMaven/maven projects to Intellij IDEA

When importing a maven pom that uses the gmaven plugins - remember to go into project structure settings and set src/main/groovy as sources and src/test/groovy as test sources.

I'd also like to know why on import of a project that has had mvn install run on it causes Idea to have issues about generated source mismatch etc - mvn clean then a rebuild in Idea will fix this but I can't pin down what is not right.

Fast moving paper

Application for residence delivered over the counter to Oslo police: 22nd sep.

Letter confirming receipt 24th oct.

So - over a month to get from the counter to the in-tray - *sigh* - wonder how long the handling will take this year.

Increase entropy on a 2.6 kernel linux box

A good source of entropy is needed for random number generation. This affects services that go via SSL amongst other things.

However - in 2.6.x kernels the entropy sources of a system were reduced - as far as I can see it now is only affected by keyboard, mouse and some IRQ interrupts.

Backing up Aperture Vault to a NAS

Listening to the digital story this morning prompted me to think about my Aperture setup.

Aperture has its "vault" functionality - but this only works to the local hard drive or to USB/firewire drives directly attached to the box.

I have a RAID5 based NAS (network attached storage) device which I would  far prefer to have my backups on - since I've had USB disks die on me before.

How to get the vault onto the network device?

Booting from grub shell

When you install grub to debian and forget to run update-grub the first time before you reboot then there is no menu.lst file in /boot/grub so you boot to the grub shell

Technorati Tags:Technorati Tags:

Installing a CA signed certificate for glassfish

Instead of using a self-signed certificate with glassfish (see Creating new SSL keys with keytool for glassfish) - we want to use one that is signed by a certificate authority.

Based on http://blogs.sun.com/enterprisetechtips/entry/using_ssl_with_glassfish_v2

Using a self-generated Certificate Authority for OpenSSL on debian etch

I've been using self-signed certificates for a while - but - that means getting the users to approve them each time they change. Instead - lets generate a Certificate Authority (CA) certificate with a reasonably long life - get them to install that and then new certificates signed with that will be valid for them.

Technorati Tags:Technorati Tags:

Creating new SSL keys with keytool for glassfish

I needed to generate a new certificate for glassfish's admin pages.

Instead of using the normal OpenSSL self-signed certificate it was easier just to use the java keystore keytool

keytool -genkey -keyalg RSA -alias
<alias_referred_to_in_glassfish>
-keystore glassfish/domains/domain1/config/keystore.jks
-storepass changeit

Note the -keyalg RSA - keytool by default uses DSA and firefox 3.0 will not accept this even with an added security exception.

Grails pastebin 2.0/2.1 released

Version 2.0 and 2.1 (small bugfix release of 2.0) of the grails pastebin was released today. Features include:

  • Codebase is now internationalized (i18n)
  • User friendly URLs

Links

Technorati Tags:Technorati Tags:

Grails pastebin 1.0 released

Version 1.0 of the grails pastebin was released today. Features include:

  • Multiple language highlighting support
  • Expiring pastes (optional)

Links

Technorati Tags:Technorati Tags:
Syndicate content