File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes How to attach source for plugin-in dependencies? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to attach source for plugin-in dependencies?" Watch "How to attach source for plugin-in dependencies?" New topic
Author

How to attach source for plugin-in dependencies?

Ken Liao
Greenhorn

Joined: Dec 15, 2008
Posts: 11
Is there anybody could tell me how to attach source for the plugin-in dependencies in eclipse?
The eclipse version is 3.4.1. I've downloaded the eclipse SDK. But I don't know how to attach it.
I tried to declare the source at: "Windows" --> "preferences" -->"Plug-in Development" --> "Target Platform" -->"Source Code Locations", but it seems not effect.


A man takes responsibility for his actions, right or wrong - <<Battlestar Galactica>>
Ken Liao
Greenhorn

Joined: Dec 15, 2008
Posts: 11
somebody can help me?
Ken Liao
Greenhorn

Joined: Dec 15, 2008
Posts: 11
I changed the "Target platform" Location to eclipse SDK directory from eclipse installation directory, and all the sources are found and listed in "Source Code Locations" tab.
But after that, most of the original plug-in dependencies in project "JAVA Build Path-->Libraries-->Plug-in Dependencies" were lost, I don't know how to add it.
Is there anybody can help me?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

I don't think we understand. The "plug in development" menu is for when you want to write your own plug-ins, not for using ones already written.

I think what you're looking for is source code attached to the externally-provided classes you're testing. Check back a couple of messages and you'll find a discussion on that.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ken Liao
Greenhorn

Joined: Dec 15, 2008
Posts: 11
I'm developing a plug-in project and I create a "Editor" class which extends the class "AbstractDecoratedTextEditor" defined in "org.eclipse.ui.editor.jar".
This "Editor" is able to open a file and edit it. But if the file size is too large(>10M), it will throw an out of memory exception. I found that the "Editor" reads all the file content into the memory not uses the buffer.
I want to extend this function with buffer reader, so I need to look through the eclispe SDK source.
I've downloaded the eclipse SDK, but I don't know how to attach it?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

Make an Eclipse project out of it.

Last time I tested a plug-in, it basically used one copy of Eclipse to launch another anyway. Besides, to the best of my knowledge, that's where new Eclipses come from!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to attach source for plugin-in dependencies?
 
Similar Threads
Displaying Eclipse plugin javadoc
maven cannot access javax.annotation.PostConstruct
Multiple annotations found at this line: <Maven POM>
SAAJ Query
maven ear plugin question