Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » Add the plugin to the OM2M product(s)
Add the plugin to the OM2M product(s) [message #1646761] Tue, 03 March 2015 05:06 Go to next message
Ravi Teja is currently offline Ravi TejaFriend
Messages: 13
Registered: February 2015
Junior Member
Hi Mahdi

While adding org.eclipse.om2m.sample.ipu plug-in to the gscl product and running through maven install, it is successfully added to gscl product but i can't see that in console.

After running the plug in what i added is skipped and showing build failure.

I am trying for the first time soo don't mind if it is a stupid qestion.
Re: Add the plugin to the OM2M product(s) [message #1647006 is a reply to message #1646761] Tue, 03 March 2015 07:53 Go to previous messageGo to next message
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 229
Registered: November 2013
Senior Member
Hello Ravi,

You must close all started osgi consoles (NSCL and GSCL) before building the project.
With maven, you execute "mvn clean install" so each time maven will try to delete the "target" folder and then generate it again. That's why the "target" folder should not be locked by another process.
Could you try this ?

Mahdi
Re: Add the plugin to the OM2M product(s) [message #1694798 is a reply to message #1647006] Fri, 08 May 2015 02:09 Go to previous messageGo to next message
dboy devzFriend
Messages: 7
Registered: November 2014
Junior Member
Hallo Mahdi,

i don't know if i am very right here.
I will like to add an xml file to the sample.ipu plugin and use it after deployment.
I'll appreciate any help.

Thanks
Re: Add the plugin to the OM2M product(s) [message #1694937 is a reply to message #1694798] Sat, 09 May 2015 21:19 Go to previous messageGo to next message
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 229
Registered: November 2013
Senior Member
Hello Daniel,

Yes you can do it.
Just add your xml file (e.g. file.xml) in the folder src/main/resources/ of your ipu sample plugin. Maven will automatically copy the content of the "resources" folder in your plugin.
Now, you can read it from your class (e.g. HelloWorld) using this method: FrameworkUtil.getBundle(HelloWorld.class).getResource(file.xml")
Please tell me if this works for you.

You are welcome,
Mahdi
Re: Add the plugin to the OM2M product(s) [message #1694966 is a reply to message #1694937] Mon, 11 May 2015 01:52 Go to previous messageGo to next message
dboy devzFriend
Messages: 7
Registered: November 2014
Junior Member
Hello Mahdi,
this worked for me.

Thanks
Daniel
Re: Add the plugin to the OM2M product(s) [message #1732920 is a reply to message #1694966] Mon, 23 May 2016 06:07 Go to previous message
Nithyananth Sivasubramanian is currently offline Nithyananth SivasubramanianFriend
Messages: 5
Registered: May 2016
Junior Member
Hi Mahdi,

I have gone through the basic eclipse OM2M tutorial and followed
the steps defined in the eclipse website and downloaded the IN-CSE and
MN-CSE stack and configured as per tutorial instruction. I have made
the bellow setup.
IN-CSE--- PC1
MN-CSE--PC2
Now i have started the IN-CSE and MN-CSE , MN-CSE configured
successfully on IN-CSE then i started sample programme. I can able to
control the sample program from PC1 then i captured the packet using
wireshark . Now i can see only http packet but i need to replace this
http protocol with COAP. Please help me how to configure the
configuration file so that i can able to control my remote devices
using COAP protocol and also how to link COAP binding in existing plugin.


Regards
Nithyananth
Previous Topic:Does application has only one aPoCPath ?
Next Topic:Problem when executing the script "start.bat"
Goto Forum:
  


Current Time: Thu Mar 28 21:53:27 GMT 2024

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

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

Back to the top