Bug 64729 - Remove "library not found" message from log file
Summary: Remove "library not found" message from log file
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.0   Edit
Hardware: Sun Solaris
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2004-05-31 08:20 EDT by Mathieu Lapensée CLA
Modified: 2004-06-07 09:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lapensée CLA 2004-05-31 08:20:31 EDT
Eclipse 200405211200  (M9)  

On Solaris, a core library is not loaded at startup.  I get this message in the 
log:

!SESSION May 31, 2004 08:13:47.66 ----------------------------------------------
eclipse.buildId=I200405211200
java.version=1.4.1_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en
!ENTRY org.eclipse.core.resources 1 1 May 31, 2004 08:13:47.67
!MESSAGE Could not load library: libcore_2_1_0b.so.  This library provides 
platform-specific optimizations for certain file system operations.  This 
library is not present on all platforms, so this may not be an error.  The 
resources plug-in will safely fall back to using java.io.File functionality.
Comment 1 Mathieu Lapensée CLA 2004-05-31 08:34:02 EDT
This happens on AIX as well:

!ENTRY org.eclipse.core.resources 1 1 May 31, 2004 08:23:20.322
!MESSAGE Could not load library: libcore_2_1_0b.a.  This library provides 
platform-specific optimizations for certain file system operations.  This 
library is not present on all platforms, so this may not be an error.  The 
resources plug-in will safely fall back to using java.io.File functionality.

It does NOT happen on HPUX.
Comment 2 Mathieu Lapensée CLA 2004-05-31 09:25:59 EDT
This does not happen on startup.

This happens when you create a java project on Solaris or on AIX.
Comment 3 Rafael Chaves CLA 2004-05-31 09:59:25 EDT
We don't provide OS-specific libraries for the resources plugin on AIX or
SunOS/Solaris. This is normal.
Comment 4 Mathieu Lapensée CLA 2004-05-31 10:20:27 EDT
This error did not happen before.  Why is it showing up now?
Comment 5 Mathieu Lapensée CLA 2004-05-31 10:31:48 EDT
I am reopening the bug because it is showing up in the log file.  We need to 
remove it.  It is confusing us.

Comment 6 DJ Houghton CLA 2004-05-31 10:55:58 EDT
As the message indicates, the platform will behave ok without the existance of
this library. This is a warning/informational message only. I don't know why you
didn't see this message before, it should have always happened.

We contribute the core library to the Win32 and Linux platforms. People in the
community contribute to QNX, MacOSX and HP-AIX since these platforms are extra
important to them.

We would be happy to accept your contribution and maintenance of a library to
the Solaris platform. See bug 12358 comment #6 for a list of things required to
make the contribution accepted. 

Note that we are at the end of the release cycle and if you are to contribute a
library at this point, it is questionable as to whether we will have time to
include it in Eclipse 3.0...it might have to wait until the next release.
Comment 7 DJ Houghton CLA 2004-05-31 10:58:02 EDT
Changing title to reflect real problem.

Note that this is also a duplicate of bug 36315.
Comment 8 Mathieu Lapensée CLA 2004-05-31 11:16:45 EDT
We have been testing CDT with Eclipse on Solaris for quite some time and this 
message has not been visible until now.

Something has change to bring up this message.  It will come up when:

-you create the first project in a workspace
-or you launch eclipse and you have at least one existing project 

Is it possible to remove the message?
Comment 9 Mathieu Lapensée CLA 2004-06-07 08:51:51 EDT
I don't think it is a duplicate of 36315 because the log error just started to 
show up with build M9.

36315 mentions that the Solaris version is missing libcore functionality.  
However, starting with the M9 build,   we see that Eclipse complains about it 
in the log file.

I am reopening this bug for the purpose of removing the message from the log.  
It does not look good because it is confusing the user.
Comment 10 DJ Houghton CLA 2004-06-07 09:13:11 EDT
Changed summary to reflect your latest concerns.
Old summary: Core Library not included in Solaris builds

The message has always appeared in the log file. I just tried it on a build from
December and it was there.

The log file is the only place that we have to print out this information so we
will not be removing it.

The user shouldn't be confused since it is printed as an info message rather
than an error message. When the Error Log View is opened on the log they see the
"blue i" info icon rather than the red X icon.