Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » add your plugin
add your plugin [message #1725503] Thu, 03 March 2016 22:40 Go to next message
wiem amich is currently offline wiem amichFriend
Messages: 7
Registered: March 2016
Junior Member
Bonsoir,
Je suis entrain de faire le tutoriel add your plugin ,j'ai suivi tous les étapes jusqu'à l'étape "Add the plugin to the OM2M product(s)"
plus précisément l'étape

"Build the om2m package and its sub-projects: select the "om2m.org.eclipse" package -> right click -> Run as -> maven install."

dans la console de l'eclipse j'ai eu 3build success " et j'ai pas d'erreur

[INFO] Reactor Summary:
[INFO]
[INFO] org.eclipse.om2m :: parent ........................ SUCCESS [0.185s]
[INFO] org.eclipse.om2m :: commons ....................... SUCCESS [1.004s]
[INFO] org.eclipse.om2m :: comm service .................. SUCCESS [0.110s]
[INFO] org.eclipse.om2m :: ipu service ................... SUCCESS [0.108s]
[INFO] org.eclipse.om2m :: core service .................. SUCCESS [0.080s]
[INFO] org.eclipse.om2m :: core .......................... SUCCESS [1.098s]
[INFO] org.eclipse.om2m :: comm http ..................... SUCCESS [0.064s]
[INFO] org.eclipse.om2m :: comm coap ..................... SUCCESS [0.082s]
[INFO] org.eclipse.om2m :: ipu sample .................... SUCCESS [0.133s]
[INFO] org.eclipse.om2m :: webapp resourcesbrowser ....... SUCCESS [1.161s]
[INFO] org.eclipse.om2m :: nscl product .................. SUCCESS [8.004s]
[INFO] org.eclipse.om2m :: gscl product .................. SUCCESS [6.456s]
[INFO] org.eclipse.om2m :: sample ipu .................... SUCCESS [0.052s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.255s
[INFO] Finished at: Thu Mar 03 23:17:28 CET 2016
[INFO] Final Memory: 82M/418M
[INFO] -------------------------


Mais lorsque je veux vérifier dans la console du gscl ,en tapant ss je n'ai pas trouvé "org.eclipse.om2m.sample ipu"
J'ai répété le tutoriel plusieurs fois mais j'ai trouvé les même résultats!!!
merci de me répondre.


Re: add your plugin [message #1725544 is a reply to message #1725503] Fri, 04 March 2016 09:38 Go to previous messageGo to next message
Francois AissaouiFriend
Messages: 38
Registered: April 2015
Member
Bonjour,

Avez-vous correctement ajouté votre plugin dans le fichier "om2m.product" du projet "org.eclipse.om2m.product.gscl" ? Dans ce fichier, vous trouverez une onglet dénommé "Plugins" où vous pourrez ajouter le votre.
Ce fichier permet de regrouper un ensemble de plugin lors de la compilation (maven install) et si vous n'avez pas précisé le votre, il ne sera pas présent dans le gscl.

Dans le tutoriel, il s'agit de la partie suivante :
  • The final step consists of adding the created plug-in to one of om2m platform products, i.e the gscl or the nscl executable. In the following, we choose to add the org.eclipse.om2m.sample.ipu plug-in to the gscl product:
  • select the org.eclipse.om2m.site.gscl package.
  • open the om2m.product file.
  • Press Add button and Type org.eclipse.om2m.sample.ipu
  • Click on ok button and save.
  • Build the om2m package and its sub-projects: select the "om2m.org.eclipse" package -> right click -> Run as -> maven install

En espérant vous avoir aidé,
François

[Updated on: Fri, 04 March 2016 09:39]

Report message to a moderator

Re: add your plugin [message #1725549 is a reply to message #1725544] Fri, 04 March 2016 10:11 Go to previous messageGo to next message
wiem amich is currently offline wiem amichFriend
Messages: 7
Registered: March 2016
Junior Member
Bonjour,

Oui j'ai ajouté mon plugin dans le fichier om2m.products du projet "org.eclipse.om2m.product.gscl , plus précisément dans " plugin and fragment" qui se trouve dans "dependancies" du fichier "om2m.products"
Re: add your plugin [message #1725554 is a reply to message #1725549] Fri, 04 March 2016 10:45 Go to previous messageGo to next message
Francois AissaouiFriend
Messages: 38
Registered: April 2015
Member
Re-Bonjour,

Vérifiez bien que le fichier "om2m.product" est enregistré et re-tentez de compiler (maven clean puis install).
Enfin, si cela ne fonctionne pas, vous pourrez m'envoyer une archive du projet global "org.eclipse.om2m" que je teste cela en local.

Cordialement,
François
Re: add your plugin [message #1725590 is a reply to message #1725554] Fri, 04 March 2016 15:21 Go to previous messageGo to next message
wiem amich is currently offline wiem amichFriend
Messages: 7
Registered: March 2016
Junior Member
​j'ai vérifié que le fichier "om2m.product" est enregistré et j'ai retenté de compiler (maven clean puis install). mais malheureusement j'ai eu les même résultats
j'ai pas pu envoyé mon projet ici vu qu'il est volumineux
Re: add your plugin [message #1725641 is a reply to message #1725590] Sat, 05 March 2016 17:15 Go to previous messageGo to next message
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 229
Registered: November 2013
Senior Member
Dear Wiem,

I encourage everyone to speak English in this Forum to reach out a larger public.
Thank your for your comprehension,

Mahdi
Re: add your plugin [message #1725721 is a reply to message #1725641] Mon, 07 March 2016 10:00 Go to previous messageGo to next message
Francois AissaouiFriend
Messages: 38
Registered: April 2015
Member
Bonjour,

Avec votre archive reçue par mail, j'ai vérifié et votre plugin dénommé "org.eclipse.om2m.sample.ipu" n'est pas présent dans la liste des dépendances du GSCL.
Attention à ne pas le confondre avec notre plugin d'example qui est "org.eclipse.om2m.ipu.sample".

J'ai donc rajouté le plugin dans les dépendances du fichier product du gscl et relancé la commande maven install. Le plugin apparait correctement dans la console du gscl.


English version:
The problem was a missing plugin when you try to add your own plugin to the platform. The main issue in that case is the "om2m.product" file which contains the list of plugin to add to a GSCL for instance. If your plugin is not present when you make a "maven install", check that file and perform the compilation again.

Best regards,
François
Re: add your plugin [message #1726549 is a reply to message #1725721] Mon, 14 March 2016 15:14 Go to previous messageGo to next message
Kaouthar Larbi is currently offline Kaouthar LarbiFriend
Messages: 1
Registered: March 2016
Junior Member
Hello,

It seems I am having the same problem.. I have already tried the alternative of running as maven clean after maven install..the "org.eclipse.om2m.sample.ipu" was saved in the GSCL product file but the wasn't displayed on the GSCL consoleindex.php/fa/25300/0/index.php/fa/25301/0/
Re: add your plugin [message #1727143 is a reply to message #1726549] Sun, 20 March 2016 09:06 Go to previous messageGo to next message
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 229
Registered: November 2013
Senior Member
Dear Wiem,

It seems that it worked for you. Could you please provide a brief explanation ?

Thanks in advance,
Mahdi

[Updated on: Sun, 20 March 2016 09:06]

Report message to a moderator

Re: add your plugin [message #1727150 is a reply to message #1727143] Sun, 20 March 2016 10:06 Go to previous messageGo to next message
wiem amich is currently offline wiem amichFriend
Messages: 7
Registered: March 2016
Junior Member
HI

As Fransois said ,i just do these steps "run as maven clean" then i add the plugin in om2m product and i save then i run as maven install.
Re: add your plugin [message #1727151 is a reply to message #1727150] Sun, 20 March 2016 10:12 Go to previous messageGo to next message
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 229
Registered: November 2013
Senior Member
Thanks Wiem for this clarification.
@Kaouthar Please tell us if the steps described by François can solve your issue.
Re: add your plugin [message #1727980 is a reply to message #1727151] Wed, 30 March 2016 05:50 Go to previous messageGo to next message
Muhammad Shoaib is currently offline Muhammad ShoaibFriend
Messages: 21
Registered: March 2016
Junior Member
Hi I am having issues adding the plugin in mn-cse (because there is no gscl in my workspace or in directories). I have sample.ipu in my builds but I cannot figure out how to add the plugin into om2m.product file of mn-cse of my workspace. I am attaching the screenshot of what I get when I open the om2m.product file
index.php/fa/25465/0/
  • Attachment: Untitled.png
    (Size: 99.55KB, Downloaded 1179 times)
Re: add your plugin [message #1728002 is a reply to message #1727980] Wed, 30 March 2016 07:36 Go to previous messageGo to next message
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 229
Registered: November 2013
Senior Member
Dear Muhammed,

The "GSCL" entity was defined in the previous standard: SmartM2M. It is equivalent to the "MN-CSE" entity defined in the new standard: oneM2M.
You need to click on the "dependencies" tab of your "mn-cse" product (on top of your console), then add your plugin.

Regards,
Mahdi
Re: add your plugin [message #1728014 is a reply to message #1728002] Wed, 30 March 2016 09:13 Go to previous messageGo to next message
Muhammad Shoaib is currently offline Muhammad ShoaibFriend
Messages: 21
Registered: March 2016
Junior Member
got it to work thanks alot!!!
Re: add your plugin [message #1728196 is a reply to message #1728014] Thu, 31 March 2016 19:36 Go to previous messageGo to next message
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 229
Registered: November 2013
Senior Member
You are welcome.
Re: add your plugin [message #1733902 is a reply to message #1728196] Thu, 02 June 2016 06:03 Go to previous messageGo to next message
Nithyananth Sivasubramanian is currently offline Nithyananth SivasubramanianFriend
Messages: 5
Registered: May 2016
Junior Member
Hi Mahdi,

I am trying to add coap binding files in to the IN-CSE plugins. but i am not aware how to add. Coulg you please help me how to add californium-0.18.6-final.jar and element-connector-0.2-final.jar in to IN-CSE plugins and also please explain if add these two jar files in to the IN-CSE which means that my IN-CSE starts using the COAP protocol instead of HTTP if not please help me what are the changes need to done to make it use COAP protocol.

Regards
Nithyananth
  • Attachment: coap.png
    (Size: 188.86KB, Downloaded 537 times)
Re: add your plugin [message #1778069 is a reply to message #1733902] Sat, 09 December 2017 02:44 Go to previous message
zeaz ezct is currently offline zeaz ezctFriend
Messages: 1
Registered: December 2017
Junior Member
Avez-vous correctement ajouté votre plugin dans le fichier "om2m.product" du projet "org.eclipse.om2m.product.gscl" ? Dans ce fichier, vous trouverez une onglet dénommé "Plugins" où vous pourrez ajouter le votre.
Previous Topic:container class cast Exception (using mongodb)
Next Topic:osgi in saaj environment
Goto Forum:
  


Current Time: Sat Oct 12 17:08:10 GMT 2024

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

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

Back to the top