Skip to main content



      Home
Home » Eclipse Projects » Equinox » Fragment Question
Fragment Question [message #117677] Thu, 18 September 2008 15:50 Go to next message
Eclipse UserFriend
Originally posted by: felix.mayer.erdas.com

I am wondering about the visibility of fragment classes within the
fragment-host. Suppose I have this simple situation:

Bundle-SymbolicName: host
Bundle-ClassPath: .
Import-Package: fragment
content: host.Test

Bundle-SymbolicName: fragment
Fragment-Host: host
Bundle-ClassPath: .
Export-Package: fragment
content: fragment.Test

Should class fragment.Test be visible to class host.Test? My guess is yes,
because the fragments and the host form a super-bundle, but the Eclipse PDE
thinks otherwise. And the PDE may be right, because I couldn't find any
example where the host actually has code. Could anybody clear this situation
up?

Thanks, Felix
Re: Fragment Question [message #118642 is a reply to message #117677] Mon, 29 September 2008 15:24 Go to previous message
Eclipse UserFriend
Originally posted by: amottadelli_remove.tele2.it

I made the same question to this forum some time ago but I didn't get
any answer.
Our "trick" to be able to work with fragments is to add the fragment
"bin" directory to the host project build classpath.
I would be glad to know if there is a nicer solution.

Regards,
Sandro
Previous Topic:Re: Updating to 3.4.1
Next Topic:P2 director app not generating bundles.info when provisioning a new target application
Goto Forum:
  


Current Time: Tue Jul 15 10:47:26 EDT 2025

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

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

Back to the top