Re: [osgi-dev] help needed

2016-11-28 Thread Daghan ACAY
Thanks a lot gwendal.

Sent by MailWise – See your emails as 
clean, short chats.


 Original Message 
From: gwendal toullec 
Sent: Tuesday, November 29, 2016 11:03 AM
To: OSGi Developer Mail List 
Subject: Re: [osgi-dev] help needed


Done but only for osgi.enroute.iot.pi.provider and not for pi4j because 
osgi.enroute.iot.pi.provider  is really needed for the second part of the tuto 
with scheduler.


Gwendal.



De : osgi-dev-boun...@mail.osgi.org  de la part 
de Daghan ACAY 
Envoyé : lundi 28 novembre 2016 08:18
À : OSGi Developer Mail List
Objet : Re: [osgi-dev] help needed


You welcome,


It would be great help if you can find time and do a pull request on the 
tutorial source at least for raspberry pi 2.

You can find the page content here https://github.com/osgi/osgi.enroute.site.


good luck

-Daghan




From: osgi-dev-boun...@mail.osgi.org  on behalf 
of gwendal toullec 
Sent: Monday, November 28, 2016 7:18 AM
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] help needed


Thank you very much Daghan, it works fine []


Unfortunately this library isn't up to date for raspberry 3 so I had py4j 
dependency in the central.xml as you explain for osgi.enroute.iot.pi.provider 
and all is right now.


Thanks again.


Regards,

Gwendal.


De : osgi-dev-boun...@mail.osgi.org  de la part 
de Daghan ACAY 
Envoyé : dimanche 27 novembre 2016 03:38
À : OSGi Developer Mail List
Objet : Re: [osgi-dev] help needed


Hi Gwendal,


I believe "osgi.enroute.iot.pi.provider" is no longer a part of enroute distro. 
Please remove the manually downloaded pi4j from your project and do the 
following:


1- open cnf>central.xml

2- Add the following



org.osgi
osgi.enroute.iot.pi.provider
2.0.0



This should solve your problem.


PS: if cannot find cnf>central.xml then let me know (possibly you will see 
cnf>central.json), I will provide another solution.


Cheers

-Daghan



From: osgi-dev-boun...@mail.osgi.org  on behalf 
of gwendal toullec 
Sent: Sunday, November 27, 2016 12:20 AM
To: osgi-dev@mail.osgi.org
Subject: [osgi-dev] help needed


Hi all, I am trying to do this tutorial


http://enroute.osgi.org/tutorial_iot/120-exploring.html


but I have got a problem with:

osgi.enroute.iot.pi.provider

package is not find so I can resolve bndrun dependencies:


Unable to resolve <> version=null:
   missing requirement osgi.enroute.iot.pi.provider



and when I try with

osgi.enroute.iot.pi.command

dependencies not found:


Unable to resolve <> version=null:
   missing requirement enroute.iot.raspberry.application
->  Unable to resolve enroute.iot.raspberry.application 
version=1.0.0.201611270001:
   missing requirement com.pi4j.system]


I manually dowload and add pi4j in my project build path so I haven't no more 
eclipse problem but I fell that it is not a good solution for osgi and it not 
run on my remote raspberry ssh console...


___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] help needed

2016-11-28 Thread gwendal toullec
Done but only for osgi.enroute.iot.pi.provider and not for pi4j because 
osgi.enroute.iot.pi.provider  is really needed for the second part of the tuto 
with scheduler.


Gwendal.



De : osgi-dev-boun...@mail.osgi.org  de la part 
de Daghan ACAY 
Envoyé : lundi 28 novembre 2016 08:18
À : OSGi Developer Mail List
Objet : Re: [osgi-dev] help needed


You welcome,


It would be great help if you can find time and do a pull request on the 
tutorial source at least for raspberry pi 2.

You can find the page content here https://github.com/osgi/osgi.enroute.site.


good luck

-Daghan




From: osgi-dev-boun...@mail.osgi.org  on behalf 
of gwendal toullec 
Sent: Monday, November 28, 2016 7:18 AM
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] help needed


Thank you very much Daghan, it works fine []


Unfortunately this library isn't up to date for raspberry 3 so I had py4j 
dependency in the central.xml as you explain for osgi.enroute.iot.pi.provider 
and all is right now.


Thanks again.


Regards,

Gwendal.


De : osgi-dev-boun...@mail.osgi.org  de la part 
de Daghan ACAY 
Envoyé : dimanche 27 novembre 2016 03:38
À : OSGi Developer Mail List
Objet : Re: [osgi-dev] help needed


Hi Gwendal,


I believe "osgi.enroute.iot.pi.provider" is no longer a part of enroute distro. 
Please remove the manually downloaded pi4j from your project and do the 
following:


1- open cnf>central.xml

2- Add the following



org.osgi
osgi.enroute.iot.pi.provider
2.0.0



This should solve your problem.


PS: if cannot find cnf>central.xml then let me know (possibly you will see 
cnf>central.json), I will provide another solution.


Cheers

-Daghan



From: osgi-dev-boun...@mail.osgi.org  on behalf 
of gwendal toullec 
Sent: Sunday, November 27, 2016 12:20 AM
To: osgi-dev@mail.osgi.org
Subject: [osgi-dev] help needed


Hi all, I am trying to do this tutorial


http://enroute.osgi.org/tutorial_iot/120-exploring.html


but I have got a problem with:

osgi.enroute.iot.pi.provider

package is not find so I can resolve bndrun dependencies:


Unable to resolve <> version=null:
   missing requirement osgi.enroute.iot.pi.provider



and when I try with

osgi.enroute.iot.pi.command

dependencies not found:


Unable to resolve <> version=null:
   missing requirement enroute.iot.raspberry.application
->  Unable to resolve enroute.iot.raspberry.application 
version=1.0.0.201611270001:
   missing requirement com.pi4j.system]


I manually dowload and add pi4j in my project build path so I haven't no more 
eclipse problem but I fell that it is not a good solution for osgi and it not 
run on my remote raspberry ssh console...


___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Object Converters for osgi

2016-11-28 Thread Daghan ACAY
Thanks David,


This might be better solution since I am already using DTO and DTOs service. I 
have to ask do we have a official release of that component in maven or some 
other repo. Currently I am using osgi.enroute.dtos.bndlib.provider:2.0.0 
referenced in enroute distro i.e. org.osgi:osgi.enroute.pom.distro:2.0.0


Cheers

-Daghan



From: osgi-dev-boun...@mail.osgi.org  on behalf 
of David Daniel 
Sent: Sunday, November 27, 2016 12:37 PM
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] Object Converters for osgi


The Felix converter code can be found here. 
https://github.com/apache/felix/tree/trunk/converter. It is based off the dto 
spec and conversion spec. 
https://github.com/osgi/design/blob/master/rfps/rfp-0169-Object-Conversion.pdf

[https://avatars1.githubusercontent.com/u/47359?v=3=400]

apache/felix
github.com
felix - Mirror of Apache Felix


[https://avatars0.githubusercontent.com/u/1123352?v=3=400]

osgi/design
github.com
OSGi Alliance design repository mirror



On Nov 27, 2016 12:16 AM, "Daghan ACAY" 
> wrote:

Hi Mat,


I did not want to hijack the original thread.


I meant exactly those, thanks. But then what did you mean by "Converter - Felix 
(standardized light weight object conversion)"?


Cheers

-Daghan


Do you mean libraries for object conversion? I know of a couple general purpose 
bean mappers:
http://mapstruct.org/
http://dozer.sourceforge.net/
Dozer - Dozer
dozer.sourceforge.net
Dozer. Dozer is a Java Bean to Java Bean mapper that recursively copies data 
from one object to another. Typically, these Java Beans will be of different 
complex ...




As for conversion APIs, there's the Felix one, a Camel one, Blueprint has one, 
and there's something in DS for that, too (metatypes?), though I don't know 
much about that one.

On 26 November 2016 at 21:47, Daghan ACAY 
> wrote:

Hi Matt,


I was looking into something similar in my project if you mean similar concepts 
as in "Spring or Camel converters" with "Converter - Felix (standardized light 
weight object conversion)" then please let me know where I can 
access/contribute to that project.


Cheers

-Daghan



___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] help needed

2016-11-28 Thread Daghan ACAY
You welcome,


It would be great help if you can find time and do a pull request on the 
tutorial source at least for raspberry pi 2.

You can find the page content here https://github.com/osgi/osgi.enroute.site.


good luck

-Daghan




From: osgi-dev-boun...@mail.osgi.org  on behalf 
of gwendal toullec 
Sent: Monday, November 28, 2016 7:18 AM
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] help needed


Thank you very much Daghan, it works fine []


Unfortunately this library isn't up to date for raspberry 3 so I had py4j 
dependency in the central.xml as you explain for osgi.enroute.iot.pi.provider 
and all is right now.


Thanks again.


Regards,

Gwendal.


De : osgi-dev-boun...@mail.osgi.org  de la part 
de Daghan ACAY 
Envoyé : dimanche 27 novembre 2016 03:38
À : OSGi Developer Mail List
Objet : Re: [osgi-dev] help needed


Hi Gwendal,


I believe "osgi.enroute.iot.pi.provider" is no longer a part of enroute distro. 
Please remove the manually downloaded pi4j from your project and do the 
following:


1- open cnf>central.xml

2- Add the following



org.osgi
osgi.enroute.iot.pi.provider
2.0.0



This should solve your problem.


PS: if cannot find cnf>central.xml then let me know (possibly you will see 
cnf>central.json), I will provide another solution.


Cheers

-Daghan



From: osgi-dev-boun...@mail.osgi.org  on behalf 
of gwendal toullec 
Sent: Sunday, November 27, 2016 12:20 AM
To: osgi-dev@mail.osgi.org
Subject: [osgi-dev] help needed


Hi all, I am trying to do this tutorial


http://enroute.osgi.org/tutorial_iot/120-exploring.html


but I have got a problem with:

osgi.enroute.iot.pi.provider

package is not find so I can resolve bndrun dependencies:


Unable to resolve <> version=null:
   missing requirement osgi.enroute.iot.pi.provider



and when I try with

osgi.enroute.iot.pi.command

dependencies not found:


Unable to resolve <> version=null:
   missing requirement enroute.iot.raspberry.application
->  Unable to resolve enroute.iot.raspberry.application 
version=1.0.0.201611270001:
   missing requirement com.pi4j.system]


I manually dowload and add pi4j in my project build path so I haven't no more 
eclipse problem but I fell that it is not a good solution for osgi and it not 
run on my remote raspberry ssh console...


___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev