Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » NoClassDefFound with contributed ant task
NoClassDefFound with contributed ant task [message #329053] Wed, 11 June 2008 13:15 Go to next message
Eclipse UserFriend
Originally posted by: thomas.diligent.st.com

Hello,

First, I apologize if I posted in the wrong topic,
please let me know,

I wrote contributing ant tasks.
These tasks should access classes from the contributing plugin and from
its dependencies. Build is Ok, tasks are packaged in a jar provided by the
plugin, but not exported by the plugin (like recommended by the
documentation) so that plugin class loader cannot load them.

For instance,
A plugin 'org.A' contributes an ant task 'taskA'.
The plugin 'org.A' requires plugin 'org.B'.

'taskA' access classes from 'org.A' and 'org.B'.
(As far as I know, 'taskA' can access 'org.A' but 'org.A' cannot access
'taskA')

It actually does not work on linux (works fine on windows).
I get NoClassDefFound exception on linux.

My questions are:
Am i doing something wrong ?
Is it possible or not ?

Thomas
Re: NoClassDefFound with contributed ant task [message #329075 is a reply to message #329053] Thu, 12 June 2008 07:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thomas.diligent.st.com

Please Help,
I really need this information.

Cheers,
Thomas
Re: NoClassDefFound with contributed ant task [message #329087 is a reply to message #329075] Thu, 12 June 2008 12:00 Go to previous message
Eclipse UserFriend
Originally posted by: thomas.diligent.st.com

Well, it seems to deal with UI plugins dependency.
The plugin on which depend the ant contributing plugin has dependencies on
user interface stuff.
As the ant script runs in headless mode, this seems to cause some problems
on linux (but surprisingly does not on windows).

I will investigate further and let you know... (although I am currently
self-posting, I still believe one day this will help someone somewhere ;-)
)
Previous Topic:AutoAssist & Jar problem
Next Topic:customize strings/messages from WorkbenchMessages
Goto Forum:
  


Current Time: Wed Jan 15 10:30:39 GMT 2025

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

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

Back to the top