Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] Request for help: connector discovery

Hello David,

I'll check again after 277275 and file a bug if there is still a
problem. I cannot reproduce at the moment, quoted stacktrace is from
weekend and probably obsolete now.

Thank you,
-Peter

On Thu, May 21, 2009 at 7:57 PM, David Green <dgreen99@xxxxxxxxx> wrote:
> Peter,
> Please create a bug if you feel it's appropriate, and include the full stack
> trace.
> Thanks,
> David
> On Thu, May 21, 2009 at 10:43 AM, Peter Stibrany <pstibrany@xxxxxxxxx>
> wrote:
>>
>> Thank you for responses. When I played with discovery connector during
>> the weekend, it wasn't yet restricted to P2 sites, but when I tried to
>> install the plugin, I got this exception:
>>
>> java.lang.reflect.InvocationTargetException
>>        at
>> org.eclipse.mylyn.internal.discovery.ui.wizards.InstallConnectorsJob.run(InstallConnectorsJob.java:80)
>>        at
>> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>> Caused by:
>> org.eclipse.equinox.internal.provisional.p2.core.ProvisionException:
>> Unable to read repository at
>> http://update.foglyn.com/stable/content.xml.
>>        at
>> org.eclipse.equinox.internal.p2.metadata.repository.CacheManager.createCache(CacheManager.java:167)
>>        at
>> org.eclipse.equinox.internal.provisional.spi.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:60)
>>        at
>> org.eclipse.equinox.internal.provisional.spi.p2.metadata.repository.SimpleMetadataRepositoryFactory.validateAndLoad(SimpleMetadataRepositoryFactory.java:99)
>>        at
>> org.eclipse.equinox.internal.provisional.spi.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:87)
>>        ...
>>
>> (I think this is the same exception as in bug
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=276217)
>>
>> I thought that exception has something to do with P2 (although 276217
>> is different), and that maybe this was one of the reasons why non-P2
>> sites were disabled.
>>
>> -Peter
>>
>> On Thu, May 21, 2009 at 8:24 AM, Steffen Pingel
>> <steffen.pingel@xxxxxxxxxxx> wrote:
>> >>> After some digging around I found
>> >>> that VerifyUpdateSiteJob discards connectors with update sites without
>> >>> content.jar file. My update site doesn't have P2 metadata, so it
>> >>> doesn't show up :-(
>> >>
>> >> Yes, currently Mylyn discovery only includes features that are
>> >> available
>> >> from update sites that include P2 metadata.  I recall that there was a
>> >> good
>> >> reason for this, though I don't remember what it was.  Perhaps Steffen,
>> >> Mik
>> >> or Rob could comment on this.
>> >
>> > Thanks for pointing that out Peter. We assumed that all connector
>> > update sites would have P2 meta-data available but on second thought
>> > it looks like it is still a common scenario to only provide a
>> > site.xml. Since we don't have a technical driver for requiring
>> > meta-data at this point I have opened this bug to loosen the
>> > restriction:
>> >
>> > 277275: support update sites without P2 meta-data
>> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=277275
>> >
>> > Note that that this policy may change in the future since the P2
>> > meta-data allows more advanced dependency resolution and is generally
>> > more efficient than using a site.xml which requires downloading all
>> > features from an update site (unless a digest.zip is provided).
>> >
>> > Steffen
>> >
>> > --
>> > Steffen Pingel
>> > Committer, http://eclipse.org/mylyn
>> > Senior Developer, http://tasktop.com
>> > _______________________________________________
>> > mylyn-dev mailing list
>> > mylyn-dev@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/mylyn-dev
>> >
>> _______________________________________________
>> mylyn-dev mailing list
>> mylyn-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/mylyn-dev
>
>
> _______________________________________________
> mylyn-dev mailing list
> mylyn-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-dev
>
>


Back to the top