facebook

Ant Input task results in UnsatisfiedLinkError

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

    enginsol
    Participant

    Yes – it does!

    Also, a strange thing is that another user in my group installed eclipse 3.2 amd myeclipse 5.0 (same versions as me as far as I can tell) and DOESN’T have the problem! One thing we noticed is that, for some strange reason, the Window -> Preferences -> Ant -> Runtime -> Classpath “Contributed Entries” list has a different ordering in our installs. I particularly notice an entry of <install dir>/MyEclipse5.0GA/eclipse/plugins/org.eclise.wst.command.env_1.0.101.200608110849/ant-lib/anttasks.jar that shows up near the end of the list in the working install and much further towards the top in the other non-working installation. Other entries are also ordered differently. Could the ordering of the classpath (esp. conspicious is the additional myeclipse entry that shows up) be the culprit???

    [/img]

    #257952 Reply

    enginsol
    Participant

    Yes – it does!

    Also, a strange thing is that another user in my group installed eclipse 3.2 amd myeclipse 5.0 (same versions as me as far as I can tell) and DOESN’T have the problem! One thing we noticed is that, for some strange reason, the Window -> Preferences -> Ant -> Runtime -> Classpath “Contributed Entries” list has a different ordering in our installs. I particularly notice an entry of <install dir>/MyEclipse5.0GA/eclipse/plugins/org.eclise.wst.command.env_1.0.101.200608110849/ant-lib/anttasks.jar that shows up near the end of the list in the working install and much further towards the top in the other non-working installation. Other entries are also ordered differently. Could the ordering of the classpath (esp. conspicious is the additional myeclipse entry that shows up) be the culprit???

    #257954 Reply

    Riyad Kalla
    Member

    I suppose it’s possible, but honestly not being able to reproduce this it’s hard for me to say.

    #257971 Reply

    enginsol
    Participant

    I noticed that the “Contributed Entries” area does not allow for add/remove/order of entries. Where is this information kept? Is it in a config file in the plugin – or is it generated at runtime somehow? If I knew where it was located and could change the ordering, I could see if that was the culprit…

    #257995 Reply

    Riyad Kalla
    Member

    Can you click “Restore Defaults” on that page and see if that helps? Additionally I’ve heard of people using “Ant Home..” to specify a new Ant home and pointing at an external install of Ant to fix Ant issues.

    I’m not positive where this information is kept, but you can try checking in the plugins folder.

    #258063 Reply

    becogent
    Member

    I tried restoring defaults and varying the ant home location – no joy.

    #258064 Reply

    becogent
    Member

    I also greped for “anttasks.jar” and found a reference in MyEclipse/eclipse/plugins/org.eclipse.wst.command.env_1.0.101.200608110849/plugin.xml
    I removed this and restarted eclipse but could not shift the extra entry Contributed Entries.
    I greped the Eclipse and Workspace directories and could only find a single reference in the binary file – eclipse/configuration/org.eclipse.core.runtime/.mainData.1

    #258287 Reply

    enginsol
    Participant

    Just wondering where do we go from here? Anyone at Genuitec, etc. looking at this?

    #258288 Reply

    Riyad Kalla
    Member

    Yes, it has just been pushed down by more pressing work for the dev team, I’m sorry for the delay.

    #258290 Reply

    enginsol
    Participant

    No problem! I quite understand — just wanted to know the status!

    #258711 Reply

    mkochco
    Member

    Is there a suggested workaround for this?

    #259342 Reply

    I have to deal with the same issue. Eclipse 3.2 myeclipse 5.0.1, jdk 1.5.0_08 on Windows 2000 SP4. Everything fresh installed.

    #259363 Reply

    Riyad Kalla
    Member

    I am officially confused on this issue, here’s why… I have tried to reproduce this on:

    1) Ubuntu 6.06 (Dapper Drake) 32-bit
    2) Ubuntu 6.06 (Dapper Drake) 64-bit
    3) Windows XP Pro SP2 (ThinkPad)
    4) Windows XP Pro SP2 (Desktop)
    5) SUSE Linux Enterprise Desktop (SLED) 10.1 32-bit

    And cannot reproduce it. I originally thought it was a linux/library issue but then a handful of you are having this problem on Windows as well which vexes me. Please do me a favor, the only hint we have to go on right now is the tip given by enginsol in relation to the ordering of the libraries under Window -> Preferences -> Ant -> Runtime -> Classpath “Contributed Entries”, can everyone post a screenshot or just type out the ordering of their libraries from this screen, then we can compare notes and see what is going on. Here is the ordering of my libraries from that screen on the ThinkPad:

    #259652 Reply

    seesawrun
    Member

    Hello alll,

    I am a little late to this conversation, but I am having the same problem on Windows XP. Please see my print screen as eveything is in a different order.

    Steve

    #259803 Reply

    enginsol
    Participant

    Hello,

    Two things: 1) My library ordering is exactly the same as seesawrun’s. Note also that there is one other person on our team that does not see the problem – and his library order looks similar to support-rkalla’s! Both of us installed things with essentially the same procedure. 2) We have found a workaround – if not a bit of a hack — it seems that in the “eclipse/plugins” directory there is a jar – org.eclipse.swt.win32.win32.x86_3.2.0.v3232m.jar that contains four SWT-related DLL’s. If we extract these DLL’s into a directory, then add that directory onto our Windows “PATH” environment variable and restart Eclipse, things work fine (ie., the Ant input task displays a dialog window as expected…).

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

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