Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [library plugin] Defining a library plugin
[library plugin] Defining a library plugin [message #203411] Sat, 28 February 2004 09:51 Go to next message
Eclipse UserFriend
Hi newsgroup,

I am up to contribute commons-digester within a special library plugin.
Because the plugin is a PDE plugin project it seams to be not recognized.

I can add dependencies and stuff but the library content is not recognized.
I use
<runtime>
<library name="commons...jar">
<export name="*"/>
</library>
</runtime>

The stuff does not complain and I killed the build.properties. It seams that
the PDE is not able to check the content of commons...jar.

Any advices?


Thanks,

Martin (Kersten)
Re: [library plugin] Defining a library plugin [message #203505 is a reply to message #203411] Sat, 28 February 2004 17:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: th.michel.gmx.net

Am Sat, 28 Feb 2004 15:51:40 +0100 schrieb Martin Kersten:

> Hi newsgroup,
>
> I am up to contribute commons-digester within a special library plugin.
> Because the plugin is a PDE plugin project it seams to be not recognized.
>
> I can add dependencies and stuff but the library content is not recognized.
> I use
> <runtime>
> <library name="commons...jar">
> <export name="*"/>
> </library>
> </runtime>
>
> The stuff does not complain and I killed the build.properties. It seams that
> the PDE is not able to check the content of commons...jar.
>
> Any advices?
>
>
> Thanks,
>
> Martin (Kersten)


Hi Martin,

i have a library plugin implemented too.
Your code should work.
My library is named lib.jar. And my build.properties looks like
this:

bin.includes = plugin.xml,\
plugin.properties,\
lib.jar,\
images/
src.includes = plugin.xml,\
plugin.properties
source.lib.jar = src/


If you need code details. My project is available via:
http://sourceforge.net/projects/devtool/
You can browse the cvs online or checkout anonymous.
The plugin is named: net.sourceforge.devtool.lib

By Thomas
Re: [library plugin] Defining a library plugin [message #203666 is a reply to message #203505] Sun, 29 February 2004 06:40 Go to previous messageGo to next message
Eclipse UserFriend
Hi Thomas,

> > I am up to contribute commons-digester within a special library
plugin.
> > Because the plugin is a PDE plugin project it seams to be not
recognized.
> >
[...]
> >
> > The stuff does not complain and I killed the build.properties. It seams
that
> > the PDE is not able to check the content of commons...jar.
> >
> > Any advices?

> i have a library plugin implemented too.
> Your code should work.
> My library is named lib.jar. And my build.properties looks like
> this:
>
> bin.includes = plugin.xml,\
> plugin.properties,\
> lib.jar,\
> images/
> src.includes = plugin.xml,\
> plugin.properties
> source.lib.jar = src/

Currently I've added the src of all required libraries
(Hail to the OpenSource movement :-))
But this is not an good idea. The gag of my problem lies
within the plugin works if I put it into my plugins/ directory.
But it seams PDE misses the classes if the plugin only exists
within the workspace and being not an active part of the
current eclipse plugin-context. Weird. Maybe I mixed
something.

I will try your setup.

Thanks,

Martin (Kersten)
Re: [library plugin] Defining a library plugin [message #203680 is a reply to message #203666] Sun, 29 February 2004 07:21 Go to previous message
Eclipse UserFriend
Hi Thomas,

> I will try your setup.
It works. There is a - at least for me - new field about the
build.properties
editior. It allows to put libraries to the build-path. This will solve my
problems
I guess.


Thanks,

Martin (Kersten)
Previous Topic:PDE + bin directory
Next Topic:Plug-ins won't load
Goto Forum:
  


Current Time: Fri May 09 21:15:12 EDT 2025

Powered by FUDForum. Page generated in 0.04927 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top