Wednesday, 6 July 2011

How to duplicate a file in Eclipse

To duplicate a file in Eclipse use the Package view and drag the file into the package it is already in. Eclipse will prompt with a name conflict dialog. Use this to enter the name the duplicated file should have.

Tested with Helios with *.xml and *.java files.

Friday, 17 October 2008

What's your KDE Alt-F5?

A typical day loving the KDE,

Thursday, 25 September 2008

Making iReport 3.1.1 find the oracle.jdbc.OracleDriver class

If you are using Oracle 11g with iReport 3.1.1 (A design tool for JasperReport 3.1.0) and you are getting a ClassNotFoundException for oracle.jdbc.OracleDriver then add ojdbc5.jar via the Tools > Options > Classpath panel,

Good luck!

Wednesday, 10 September 2008

COM and OLE: But the spec was in inches

Handy to know that Visio can produce COM and OLE diagrams in either inches or centimetres,

Wednesday, 4 June 2008

How to fix "550 Permission denied" with vsftpd when using virtual users

Using vsftpd 2.0.5-2 on Debian Etch I was able to set up a virtual user using by following a combination of these pages

Logging in and listing files worked but uploading did not work. This turned out to be a problem it was easy to find other reports of in mailing lists and forums but the solution was elusive until I finally read the man page for vsftpd ( The solution was to set virtual_use_local_privs=YES.

From the man page:
If enabled, virtual users will use the same privileges as local users. By default, virtual users will use the same privileges as anonymous users, which tends to be more restrictive (especially in terms of write access).

Default: NO

Learning take-away: Read the official documentation before asking Google for a quick fix.

Tuesday, 22 April 2008

Welcome to my blog

Yes, now at last, the personal blog of Janek Bogucki is available to the hungry public.