This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 160805 - org.jivesoftware.smack unnecessarily sets itself to use a 5.0 compiler
Summary: org.jivesoftware.smack unnecessarily sets itself to use a 5.0 compiler
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: ecf.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-13 01:20 EDT by Remy Suen CLA
Modified: 2006-10-16 23:48 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 Remy Suen CLA 2006-10-13 01:20:09 EDT
Starting up the example collab plug-in and attempting to use the XMPP provider with a general workspace setting of a 1.4 compiler will cause the the plug-in to be unable to connect to the XMPP server because of class version differences.

java.lang.UnsupportedClassVersionError: org/jivesoftware/smack/XMPPException (Unsupported major.minor version 49.0)

Setting the project back to a 1.4 setting or having it not use its project-specific setting should fix this problem.

The project built cleanly for me on a 1.4 setting and the MANIFEST.MF file itself states that a minimum EE of J2SE-1.4 should suffice.

Removing the 'org.eclipse.jdt.core.prefs' file within the plug-in's '.settings' folder will fix this problem.
Comment 1 Remy Suen CLA 2006-10-13 01:29:49 EDT
(In reply to comment #0)
> Removing the 'org.eclipse.jdt.core.prefs' file within the plug-in's '.settings'
> folder will fix this problem.

Actually, the correct fix would be to set the project's compiler settings to 1.4. This will help enforce the J2SE-1.4 specification within the MANIFEST.MF. I noticed that this seems to be the case in other ECF plug-ins I've checked.
Comment 2 Scott Lewis CLA 2006-10-16 23:48:22 EDT
Fixed for org.jivesoftware.smack and as many plugins as I could find.