Tuesday, September 9, 2014

maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.


  1. Download this file and save it somewhere on your disk.
  2. In Eclipse/Preferences/Maven/Lifecycle Mappings dialog, click the Browse button and select the file you just saved.
  3. While focusing on your project. (i.e. Clicking it), press Alt+F5. This will refresh your project in Eclipse.
This error should be ignored now.

Sunday, September 7, 2014

Things to do after installing M2E (Maven integration) on Eclipse

  1. Open Window > Preferences
  2. Open Maven > Archetypes
  3. Click 'Add Remote Catalog' and add the following:
This is to add numerous archetypes in Maven's catalog so you would be able to create a project based on any of these archetypes.

Thursday, May 29, 2014

AMD Catalyst™ Driver 14.6 BETA has been released for selected products

AMD Catalyst™ Driver 14.6 BETA has been released for Windows® & Linux®.

What's new?:
Windows:
    • Performance improvements
    • AMD Eyefinity enhancements
    • AMD Mantle enhancements
Linux:
    • Ubuntu 14.04 support
    • Install improvements
    • Package & distribution generation options

Windows 8.0 users should upgrade to Windows 8.1 to take advantage of the new features found in the AMD Catalyst 14.6 Beta.

AMD Catalyst™ driver 14.6 BETA is for AMD Radeon™ HD 5000 Series Graphics products or higher.


For windows users: Link
For Linux users: Link

Tuesday, May 27, 2014

JDO error: Specified enum getter-by-value for field...

Specified enum getter-by-value for field ... gave an error on extracting the enum so just using the ordinal : null


This is a very vague message that could occur due to a very common mistake. Which is writing your enum getter-by-value or value-getter methods to accept or return numbers that aren't of the type "short"

I don't know if there is a way to bypass this restriction.

Monday, April 7, 2014

Install AMD Catalyst 13.12 Driver with patch on Ubuntu 13.10

This is a copy-paste post from this one only for my personal reference and just in case the original post is gone for any reason.
---------------------------------------------------------------------------------

  • Download amd-catalyst-13.12-linux-x86.x86_64.zip
  • Extract it and you will get amd-catalyst-13.12-linux-x86.x86_64.run
  • chmod +x amd-catalyst-13.12-linux-x86.x86_64.run
  • ./amd-catalyst-13.12-linux-x86.x86_64.run --extract catalyst
  • cd catalyst
  • Apply the patch manualy:
at the end of the file catalyst/common/lib/modules/fglrx/build_mod/kcl_acpi.c, starting with line 990, there is
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,3)    
    if (!ACPI_SUCCESS(acpi_get_table_with_size(id, 0, &hdr, &tbl_size)))
#else
    tbl_size = 0x7fffffff;
    if (!ACPI_SUCCESS(acpi_get_table(id, 0, &hdr)))
...
delete everything to the end of the file and replace with this
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,3)    
    if (!ACPI_SUCCESS(acpi_get_table_with_size(id, 0, &hdr, &tbl_size)))
#else
    tbl_size = 0x7fffffff;
    if (!ACPI_SUCCESS(acpi_get_table(id, 0, &hdr)))
#endif
    {
        return KCL_ACPI_ERROR;
    }
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1)
    ((acpi_tbl_table_handler)handler)(hdr);
#else
    ((acpi_table_handler)handler)(hdr);
#endif
    return KCL_ACPI_OK;
}
  • sudo ./ati-installer.sh 13.251 --buildpkg Ubuntu/saucy
  • Change owner and group (from root to your user) for generated .deb files placed one directory up (sudo chown fglrx* and sudo chgrp fglrx*), and install them all via Software Center (or from command line as root).
To open amdcccle, run this sudo /usr/lib/fglrx/bin/amdcccle

Saturday, April 5, 2014

Installing Git's latest version on Ubuntu

Here are the commands to run to install the latest version of the source-control system, Git, on Ubuntu.

sudo apt-get install python-software-properties #I'm not sure if this line is necessary
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git