Saturday, July 5, 2014

JLV v.1.3.3 has been released

Update site: https://github.com/rdiachenko/jlv/raw/repo/eclipse

Or Eclipse Marketplace: http://marketplace.eclipse.org/content/jlv

Release notes:
  • fixed problems with hanging on Windows OS
  • fixed null pointer exceptions related to loading and releasing resources
  • server part was improved
  • a new resource manager was provided

    The main project's page:
     https://github.com/rdiachenko/jlv#information

    Saturday, June 14, 2014

    java.lang.IllegalArgumentException while importing guava sources into Eclipse

    Today I encountered a problem with importing guava sources into Eclipse.

    Steps to reproduce:

    0. Checkout guava sources
    1. Import project into Eclipse as "Existing Maven Projects"


    Detected:


    Thursday, January 2, 2014

    TableViewer.refresh(true, false) behaves as TableViewer.refresh(true, true)

    The problem I met is that refresh(true, false) method of org.eclipse.jface.viewers.TableViewer class behaves as refresh(true, true) on Linux platforms.

    I found an opened bug for this case: https://bugs.eclipse.org/bugs/show_bug.cgi?id=414455 but the current SWT 4.3 stable version doesn't contain the fix.

    To overcome this problem temporary (until SWT 4.4 is released) I used "SWT.MULTI" style bit during TableViewer creation.

    I played with different styles, but it is the only way to avoid the problem. "SWT.NONE" didn't help as well because of the logic inside org.eclipse.swt.widgets.Tablet constructor which overwrites "style" parameter:

    Wednesday, July 24, 2013

    Eclipse 4.3: No schema found for the extension point

    PROBLEM: 

    No schema found for the extension point. The warning occurred in "Extensions" tab of plugin.xml file. Look at the following screenshot:


    Wednesday, July 17, 2013

    Eclipse: Internal browser is not available: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

    PROBLEM: I've got the following error message when was configuring Eclipse after installing a new Fedora 19:

    Error
    Unhandled event loop exception
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    at org.eclipse.swt.SWT.error(SWT.java:4423)
    at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1993)
    at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:701)
    at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)

    SOLUTION: The solution was just install missed lib and restart Eclipse:

    1. $ sudo yum install libwebkitgtk*
    2. Restart Eclipse

    Saturday, July 13, 2013

    Fedora 19 (64-bit) - Installation notes

    1. Install Chrome

    $ sudo nano /etc/yum.repos.d/google-chrome.repo

    [google-chrome]
    name=google-chrome - 64-bit
    baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
    enabled=1
    gpgcheck=1
    gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


    $ sudo yum install google-chrome-stable

    2. Install gnome-tweeak-tool and customize it

    $ sudo yum install gnome-tweak-tool

    To run it, press Alt+F2 and type in 'gnome-tweak-tool'. Simple selecting the options performs the changes.

    3. Add "Open Terminal" to Gnome Context Menu

    $ sudo yum install nautilus-open-terminal

    4. Install rpmFusion reposetory

    $ sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm