facebook

Ant Input task results in UnsatisfiedLinkError

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 47 total)
  • Author
    Posts
  • #256658 Reply

    becogent
    Member

    I am running eclipse-SDK-3.2-linux-gtk with MyEclipseEnterpriseWorkbenchInstaller_5_0GA_E3_2 on Ubuntu.

    When I run an Ant target containing an input task, I get the following error.

    BUILD FAILED
    java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3232 in java.library.path

    Example Ant build file:
    <project name=”bug_replication” default=”test”>
    <target name=”test”>
    <input message=”test input” addproperty=”test_property” />
    </target>
    </project>

    I have established that this bug only takes effect after I have installed MyEclipse – it works fine on a vanilla Eclipse 3.2 install.

    #256674 Reply

    Riyad Kalla
    Member

    I cannot reproduce this:

    Can you click on MyEclipse > About MyEclipse > Installation Summary and paste the result here for me? Also can you check your log file (<workspace dir>\.metadata\.log) for any startup errors?

    #256680 Reply

    becogent
    Member

    *** Date: Mon Aug 14 15:50:42 BST 2006

    *** System properties:
    OS=Linux
    OS version=2.6.15-26-386
    Java version=1.5.0_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 GA
    Build id: 20060805-5.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0.0
    Build id: [build id]

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /home/alan/development/eclipse/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    520011
    -product
    com.genuitec.myeclipse.product.ide
    -vm
    /usr/bin/java

    #256692 Reply

    becogent
    Member

    Nothing much seems to be going in the log file. In fact I can shutdown and restart eclipse with nothing appearing there. I’m not sure i this is normal – I thought some logging occured on startup even if nothing is going wrong.

    #256714 Reply

    Riyad Kalla
    Member

    Does this occur in a brand new workspace? File > Switch Workspace > /tmp/testworkspace, hit OK. Create Java project, with Build script above, and run it?

    #256781 Reply

    becogent
    Member

    I did that and just the same.

    I also reinstalled both Eclipse and MyEclipse from scratch and used a fresh workspace and I still have the problem.

    #256800 Reply

    Haris Peco
    Member

    Please can you try next :

    Open Window – Prefereneces – Ant – Runtime and click restore defaults

    If it doesn’t help, please send complete log

    best
    Peco

    #256919 Reply

    becogent
    Member

    Hi,

    I tried that and it didn’t help.

    To get you the logs, I thought I’d try a clean install again and this time the problem didn’t occur. I used the same install files that I had (twice) before so I can only assume that it is some kind of intermittent installation bug. I checked the install logs and couldn’t see any differences though.

    I’m fairly happy as I now seem to have a fully functional install.

    #256940 Reply

    becogent
    Member

    Still having problems. The test install that worked was located in a unsuitable directory and I wasn’t sure it was safe to just move it. I repeated the exact install steps in an appropriate directory and got the problem again? Both directories were under my home directory.

    The log contents of both the install log and the workspace log are shown below…

    !SESSION 2006-08-16 14:30:19.383 ———————————————–
    eclipse.buildId=M20060629-1905
    java.version=1.5.0_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
    Framework arguments: -product com.genuitec.myeclipse.product.ide
    Command-line arguments: -os linux -ws gtk -arch x86 -product com.genuitec.myeclipse.product.ide

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:01.552
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:01.854
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:01.882
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:01.924
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:02.005
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:02.050
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:02.136
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:02.183
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:02.266
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:02.318
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2006-08-16 14:31:02.370
    !MESSAGE Installed snippet library: /home/alan/development/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_5.0.0/snippets/struts_tiles_snippets.xml

    !ENTRY org.eclipse.jst.jsf.core 1 0 2006-08-16 14:31:32.659
    !MESSAGE Could not load JSF Library Registry; creating new registry

    #256941 Reply

    becogent
    Member

    This message has not been recovered.

    #256942 Reply

    becogent
    Member

    This message has not been recovered.

    #256945 Reply

    becogent
    Member

    This message has not been recovered.

    #256955 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #257918 Reply

    enginsol
    Participant

    I have had the same problem, except on Windows XP. I get a similar error when the <input> task executes:
    java.lang.UnsatisfiedLinkError: no swt-win32-3232 in java.library.path

    I have had previous versions of Eclipse/MyEclipse (i.e., 3.1 and 4.0.x) using the same Ant build etc. with no problem. I recently uninstalled my current version of eclipse/myeclipse and then did a new install of eclipse 3.2 and myeclipse 5.0. I also rebuilt my workspace from scratch. Furthermore, I created a brand new “dummy” web project with a trivial build.xml basically just prompting for input with the <input> task. Again, the same error occurred.

    #257933 Reply

    Riyad Kalla
    Member

    enginsol,
    If you remove MyEclipse, does it suddenly work?

Viewing 15 posts - 1 through 15 (of 47 total)
Reply To: Ant Input task results in UnsatisfiedLinkError

You must be logged in to post in the forum log in