Talk:Developing Plug-Ins - Get your Plug-In running.Explanations

From iDempiere en

17:21, 19 October 2013‎ TBayen (problem with the article)

Problems with the workflow from the article Developing Plug-Ins - Get your Plug-In running

After following the article I created an own activator class like MyActivator extends AdempiereActivator. The class was empty. It did not compile with the error message

The project was not built since its build path is incomplete. Cannot find the class file for org.osgi.util.tracker.ServiceTrackerCustomizer. Fix the build path then try building this project.

The error went away after adding "org.eclipse.osgi" to my plugin's dependencies. I do not understand why this is needed. I do not use the ServiceTrackerCustomizer directly in my code and the OSGi mechanisms should solve this.

Can someone help?!?

Cookies help us deliver our services. By using our services, you agree to our use of cookies.