Bug 91850 - Can't import org.eclipse.team.cvs.ssh2 as source: com.jcraft.jsch.* cannot be resolved
Summary: Can't import org.eclipse.team.cvs.ssh2 as source: com.jcraft.jsch.* cannot be...
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on:
Blocks:
 
Reported: 2005-04-19 04:33 EDT by Markus Keller CLA
Modified: 2005-04-27 13:51 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-04-19 04:33:47 EDT
I20050414-1107

When I import plugin org.eclipse.team.cvs.ssh2 as source, I get a lot of compile
errors, since types imported by
    import com.jcraft.jsch.*
cannot be resolved.
Comment 1 Michael Valenta CLA 2005-04-19 08:47:15 EDT
Probably a side effect of JARing the SSH2 plugin. The source isn't available 
for the classes that we exploded into the plugin JAR. Any advice on this 
Pascal?
Comment 2 Pascal Rapicault CLA 2005-04-19 08:55:45 EDT
a) get the source
b) pde realizes that the source for some classes is not available and keeps the
class file to compile against.
Comment 3 Michael Valenta CLA 2005-04-19 09:00:04 EDT
The contributor of the SSH client did not provide the source so the next best 
option is b). Moving to PDE UI to comment on the viability of the project 
import recognizing that some of the classes in a JAR do not have source and 
handling the situation properly (e.g. put those classes in a separate folder 
that is on the classpath).
Comment 4 Wassim Melhem CLA 2005-04-19 09:59:45 EDT
For the sake of pleasant workflows, I'll add it to the list of plugins that 
are exempt from source unzipping.
The list currently include such distinguished plugins as org.apache.ant, 
org.eclipse.osgi.services.
Comment 5 Michael Valenta CLA 2005-04-19 11:03:58 EDT
That sounds good to me.
Comment 6 Wassim Melhem CLA 2005-04-27 13:51:44 EDT
done.  the team.cvs.ssh2 client will always be imported as binary.  will tag 
as readme to update the related entry in the release notes.