[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Subclipse-users] Problem: Eclipse falsely complains about "missing required library"

From: Andreas Wundsam <l-subclipse-users_at_wundsam.net>
Date: 2007-01-08 14:44:40 CET

Hi Mathus,

thanks for your hint, and sorry for not answering it sooner. I just
noticed that my subscription for the mailinglist had not gone through -
so I picked it from the archives. I'm attaching my original message so
the discussion thread is complete.

> Did you try having a look at the .project and .classpath files on a
> working configuration, and on non working one to compare the potential
> difference, if any?

Yes, all of the workload data (libraries, sources) and the eclipse
.project and .classpath files are absolutely identical (and correct.)

Also, I checked out the project using the svn command line tool. When I
imported it into the eclipse workspace (using Import/Existing Project
Into Workspace), that worked perfectly as well. So it seems the data in
the repository is not currupted. There were differences in some files in
the .svn directories between the svn commandline checkout and the
subclipse checkout, but I don't know if these are significant - should I
post them?

When checking out the project 10 times, the error occurred 8 times. 2
times, the checkout worked. This smells of a race condition to me (I am
working on a SMP machine)

Any further suggestions what I should try?

ciao

Andi Wundsam

attached mail follows:


Hi all,

I'm having a problem here when checking out a project that contains 3rd
party resources as attached libraries with subclipse - after the
checkout, eclipse nondeterministically complains that libraries are
missing - but the libraries are present in their directories (and have
the correct md5 sum).

The message looks like this:
"the Project libICE is missing required library:
'export/aaa_prepend_libice_patch.jar'"

I have tried to refresh the directory structure, and clean/rebuild all
projects - but could not get rid of the problem. The only thing that
helped was to delete the association project->jar and reassign it.

We have been using cvs until recently - the problem never surfaced
there. Given the fact that the problem does not appear on every
checkout, I suspect that it's a race condition between subclipse telling
eclipse "that resource has changed" and the resource being written to disk.

Has anyone experienced similar problems? Any workarounds that could
solve the issue (apart from having to reassign the libraries every time
we check out a project?)

thanks in advance

Andi Wundsam

Eclipse: 3.2.0, Subclipse 1.1.9, Linux 2.6.18 SMP

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Jan 8 14:45:57 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.