Rinku wrote:
Hi,
Not sure if there is some work in progress for Eclipse Plugin support
but here are some quick notes on the following logged in JIRA
http://jira.codehaus.org/browse/MECLIPSE-92
http://jira.codehaus.org/browse/MECLIPSE-103
1) Running eclipse:eclipse should generate the project definition just
as it does now, it detects if a "org.eclipse.pde.PluginNature" is
specified for .project and setups the PDE nature (updates to .classpath)
accordingly.
2) A Bundle Manifest writer could write out the Bundle Manifest. We
could default some of the headers to 'sensible' default values
(extracted from pom.xml), and allow for user to specify them via
configuration for the Eclipse plugin.
3) Plugin dependencies could be copied from the local M2 repo to under
<Plugin>/lib and Manifest updated for Bundle-Classpath values.
I thought I'd rake up a discussion :-)
As Cocoon 3.0 will be based on OSGi I need PDE support too. For the time being I
started with a branch of the maven-eclipse-plugin within the Cocoon SVN tree
(see
http://svn.apache.org/repos/asf/cocoon/trunk/tools/cocoon-maven-eclipse-plugin/).
The goal is providing a patch for the "offical" maven eclipse plugin within the
next weeks.
So far I added the configuration parameter "pde". If set to true, the
PluginNature and the schema and manifest builders are added to .project.
Additionally, instead of pointing to libraries in the local repository, I copy
them to "target/osgi/lib" and point to them from within .classpath -
unfortunatly PDE doesn't allow referencing libraries outside of the project (as
you describe in 3).
Before I will provide a patch, I will implement what you describe in 2). I was
thinking of keeping "Bundle-ClassPath" in sync with the libraries in
"target/osgi/lib".
What do you think?
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]