Correct way to add source to binary-only plugin [message #453268] |
Tue, 25 July 2006 12:49 |
Aaron Digulla Messages: 258 Registered: July 2009 Location: Switzerland |
Senior Member |
|
|
Hello,
What is the correct/recommended way to add source to a binary-only plugin?
Background: I want to create a set of plugins/features to support
Hibernate based plugins in Eclipse (ie. plugins which have access to a
database).
To make development more easy, I would like to include all the sources.
When I look into the Eclipse plugins folder, I see
"org.eclipse.sdk.examples" along with "org.eclipse.sdk.examples.source".
The source plugin just contains a few lines in plugin.xml:
<extension point = "org.eclipse.pde.core.source">
<location path="src" />
</extension>
Is that all that's to it? Will Eclipse automatically figure out for
which plugin the source is?
Also, how do I put the source in a single JAR (like
org.eclipse.pde.core)? Is it sufficient to extract the source files and
just export the plugin as single-jar?
Regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.philmann-dark.de/
|
|
|
Powered by
FUDForum. Page generated in 0.04949 seconds