Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Eclipse-milo client example(To set manifest.mf for plug-in project)
Eclipse-milo client example [message #1826954] Tue, 05 May 2020 09:59 Go to next message
Fasih Ahmed is currently offline Fasih AhmedFriend
Messages: 4
Registered: May 2020
Junior Member
Hi,
I am trying to make an OSGi bundle of this eclipse milo client examples and run the example as a bundle (eg: ReadExample bundle). So far I have tried different ways but I am not able to set manifest.mf. as we have attached maven dependencies I would like to add plug-in project dependencies. I tried to add but it shows error --> No available bundle exports package 'org.eclipse.milo:sdk-client' MANIFEST.MF /OPCUA-Example/META-INF line 11 Plug-in Problem
I have attached a screenshot for better understanding.
Let me know how to proceed :)
Stay Safe & Healthy,
Best regards,
Ahmed

index.php/fa/38045/0/
  • Attachment: Manifest.jpeg
    (Size: 132.73KB, Downloaded 47 times)
  • Attachment: Manifest.jpeg
    (Size: 132.73KB, Downloaded 158 times)

[Updated on: Tue, 05 May 2020 19:26]

Report message to a moderator

Re: Eclipse-milo client example [message #1826984 is a reply to message #1826954] Tue, 05 May 2020 17:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32508
Registered: July 2009
Senior Member
I don't see an attachment. It sounds like you added a package requirement not a bundle requirement...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse-milo client example [message #1826990 is a reply to message #1826984] Tue, 05 May 2020 19:31 Go to previous messageGo to next message
Fasih Ahmed is currently offline Fasih AhmedFriend
Messages: 4
Registered: May 2020
Junior Member
I have updated the post, I have updated the post.
index.php/fa/38047/0/
Re: Eclipse-milo client example [message #1827012 is a reply to message #1826990] Wed, 06 May 2020 06:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32508
Registered: July 2009
Senior Member
Are bundles such as org.eclipse.milo.sdk-client in your target platform?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse-milo client example [message #1827040 is a reply to message #1827012] Wed, 06 May 2020 11:34 Go to previous messageGo to next message
Fasih Ahmed is currently offline Fasih AhmedFriend
Messages: 4
Registered: May 2020
Junior Member
No, I just used it as a maven dependency now trying to convert my project into plugin project to make a bundle
<dependency>
<groupId>org.eclipse.milo</groupId>
<artifactId>sdk-client</artifactId>
<version>0.4.1</version>
</dependency>
Re: Eclipse-milo client example [message #1827042 is a reply to message #1827040] Wed, 06 May 2020 11:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32508
Registered: July 2009
Senior Member
Did you install m2e? Eclipse by itself won't know anything about your POMs.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse-milo client example [message #1827051 is a reply to message #1827042] Wed, 06 May 2020 12:21 Go to previous messageGo to next message
Fasih Ahmed is currently offline Fasih AhmedFriend
Messages: 4
Registered: May 2020
Junior Member
Yes, it is already installed. when I am trying to export as Deployable plug-ins and fragments, it shows this error--> The import org.eclipse.milo cannot be resolved ?? :/
Re: Eclipse-milo client example [message #1827059 is a reply to message #1827051] Wed, 06 May 2020 13:38 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32508
Registered: July 2009
Senior Member
I can't guess. Everything suggests it's not available. And I'm no expert how m2e is supposed to work, nor is that the topic of this forum. You might look to this page for where to ask about m2e:

https://www.eclipse.org/m2e/m2e-community.html


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Using composites to resolve dependencies
Next Topic:Axis2 plugin Installation problem
Goto Forum:
  


Current Time: Fri Oct 07 00:50:56 GMT 2022

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

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

Back to the top