[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] how do i set up plugin dependencies

I have four plugin's in my application

1) app
2) springframework
3) apache-commons (commons logging etc)
4) log4j

2,3,4 are setup as dependencies to 1

I am getting a java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory error when i try to load my spring config. Do i have to set up apache commons as a dependecy to spring-framework and log4j as a dependency to apcahe commons and such.

Since apache commons and logj are available through the class laoder of the main app, and I am trying to initialize spring through my app is there an easy way to tell my spring plugin look at app for any runtime dependencies.


I am trying to underastand the eclipse plugin way of classpath setup, any help is appreciated.


Thanks
Raj