Skip to main content

Using deployed packages instead of development projects in Eclipse

Posted in

Even though the Maven Eclipse plugin is retired, I still like using this plugin. There's sometimes one issue with the connection of projects in your Eclipse workspace.

By default, the Eclipse Plugin will create sub-projects for dependencies that exists in the reactor. If you don't want to work with the development code and prefer to use the deployed packages, you can still do so by disabling the project references like so:

mvn eclipse:eclipse -Declipse.useProjectReferences=false

Source: Prevent Project References

Changing keyboard layout from QWERTY to AZERTY at login screen on Windows 7

Posted in

I had the problem on a Windows 7 VM installation the keyboard layout was always set to QWERTY at the login screen. Once logged in, everything was AZERTY. So keyboard settings were configured correctly.

I solved the issue by updating the following registry entry:

HKEY_USERS\.DEFAULT\Keyboard Layout\Preload

Change the value to 00000813 (it was set to 00000419 in my case)

Temporary files in C:\ after installing Visual C++ 2008 Redistributable Package

Posted in

After installing the Visual C++ 2008 Redistributable Package, I've noticed a lot of files in the root of my C:\ partition. I noticed these temporary files are erroneously generated by the installer into the root directory of one of your drives, instead of the temp directory. These files are unnecessary and can be safely deleted from the system. The functioning of the runtime library will not be affected by this. Its a known bug and is fixed in VS2008 SP1.

The following files can be removed:



Resizing disk drive in Ubuntu guest system, running on a Virtual Box Windows host sytem

Posted in

On the host machine (Windows)

  • Release the VDI file: File -> Virtual Media Manager -> Select VDI -> Release
  • Backup the VDI file
  • Open a command prompt and browse to:
    $ cd C:\Program Files\Oracle\VirtualBox
  • Resize your .vdi file:
    $.\VBoxManage modifyhd 'C:\Users\jochen\VirtualBox VMs\Ubuntu\Ubuntu.vdi' --resize 40000 # 40 GB disk
  • Startup your virtual machine

On the guest machine (Ubuntu)

  • Install & start gparted:
    $ sudo apt-get install gparted
    $ gparted
  • Get rid of the swap partition, which prevents you from expanding the root partition. Note that you cannot harm the rest of your machine - this is all happening inside a single file. Worst case scenario you trash this file and you have to use your backup instead.
  • Make a note of the size of the linux-swap partition 4 GB in my case
  • Right click on it and swapoff
  • Right click on it and Delete
  • Apply by clicking on the checkmark (Apply all operations). Ignore the warning
  • Right click on the extended file system that once housed the swap partition (/dev/sda2 in all likelihood) and delete it
  • Right click on the root partition (/dev/sda1) and resize it. Tab to the 'Free space following' field and enter the size of the swap partition. Shift-tab and the machine will work out the new size for you automatically
  • Right click in the unallocated space at the end and make it an extended partition
  • Right click in the new partition and select linux-swap in the File system field.
  • Commit your changes as before
  • Right click on your swap partition and select swapon

Sunlounger feat. Zara - Lost (Armin Van Buuren remix)

Spotted @ Armin Van Buuren - A State of Trance - podcast 411!

Syndicate content