Re: [equinox-dev] getservice throws class cast exception

2008-05-30 Thread njbartlett
Santosh, I'm glad you got this working but please bear in mind that it is a poor design choice to export an interface from the same bundle that provides the service, because it does not truly de-couple the consumer from the provider, and it makes it much harder for you to update the provider

Re: [equinox-dev] getservice throws class cast exception

2008-05-30 Thread Alin Dreghiciu
+1 for having the api as a separated bundle (third in this case) Neil, you could add an Best Practices chapter to your book. -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven

RE: [equinox-dev] getservice throws class cast exception

2008-05-30 Thread Santosh Akhilesh
Yes Toni , Its separate you are right ! Regards, Santosh Akhilesh Ph: 9845482201 ** This email and its attachments contain confidential information from HUAWEI, which is intended only for the person or

RE: [equinox-dev] [prov] Discourages access

2008-05-30 Thread Jeff McAffer
It was the joint decision of the team and the PMC that p2 would not have any API. By definition, anything that is not API is marked as x-internal = true. As a result, and by design, you get a warning that you are using something that is not API. I agree that this is annoying however, no one

RE: [equinox-dev] [prov] Discourages access

2008-05-30 Thread Schaefer, Doug
Well good thing I'm so dedicated to p2 then ;) Thanks for the clarification Jeff. Maybe my solution is to contribute everything I'm doing to p2 so it can get included in the allowed list :) Cheers, Doug From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [equinox-dev] Need help building a product with p2

2008-05-30 Thread Andrew Niefer
Warren, 1) This is what I notice when I tried running your director command on a product I exported: - the -metadataRepository and -artifactRepository values need to be URLs: use file:C:\testproduct\repository - I found I needed to specify -installIU to get anything out. In this case the IU

RE: [equinox-dev] [prov] Discourages access

2008-05-30 Thread Thomas Watson
Since nobody bit on Jeff's request for an enhancement request, I opened bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=234947 to discuss these issues. Tom From:

Re: [equinox-dev] [prov] Discourages access

2008-05-30 Thread Pascal Rapicault
For now we are targeting 3.5. However I hope to have a large chunck of the API defined for early 2009. | | From: | |

RE: [equinox-dev] Shared profile registries

2008-05-30 Thread Jeff McAffer
I fyou run the installer in shared mode it uses one profile registry and creates a new profile for every different thing you install. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:equinox-dev- [EMAIL PROTECTED] On Behalf Of Thomas Hallgren Sent: Friday, May 30, 2008 5:38 PM

RE: [equinox-dev] [prov] Discourages access

2008-05-30 Thread Schaefer, Doug
Very awesome. Thanks David! I added a rule for **/provisional/** and all is good. Cheers, Doug. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David M Williams Sent: Friday, May 30, 2008 6:52 PM To: Equinox development