Thanks Jeff.
IN OSGI equinox environment:
@Bundle1 Manifest.MF
Export-Package: org.company.packageX
@Bundle2 Manifest.MF
Import-Package: org.company.packageX
When importing this package in a java file and compiling, I get following errors:
“is not accessible due to restriction on classpath entry”
I tried following:
I put bundle1 as require-bundle in bundle2’s manifest, but I feel it’s stupid, as require_bundle should be a run time thing.
I am trying to build the above in 2 ways, - one is using Ubuntu machine, and giving command on console
mvn clean install –X
2nd is using eclipse on a Ubuntu machine, with similar goals of clean and install with logs.
The way I have understood the export and import package is is like once exported, the package is available in osgi global environment(outside bundles), and
any other bundle can import and use.
Regards,
Alok
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Jeff MAURY
Sent: Monday, May 11, 2015 7:17 PM
To: Tycho user list
Subject: Re: [tycho-user] Quick help needed
Can you describe what your problem is ?
On Mon, May 11, 2015 at 3:31 PM, Alok Raj <alok.raj@xxxxxxxxxxxxxxxx> wrote:
DISCLAIMER: This email message and all attachments are confidential and may contain information that is Privileged, Confidential or exempt from disclosure under applicable law. If you are not
the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email to
mailadmin@xxxxxxxxxxxxxxxx and destroy the original message. Opinions, conclusions and other information in this message that do not relate to the official of SPAN, shall be understood to be nether
given nor endorsed by SPAN.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--