Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Subproject produces "eclipse-repository" packaging, but Eclipse instance fails to install referenced plugin

You're talking JARs under Eclipse's $HOME/.p2/pool/plugins/ folder, right?
 Not files under Maven's $HOME/.m2/repository/ folder?

---Tom

On 2/17/16, 12:48 PM, "tycho-user-bounces@xxxxxxxxxxx on behalf of David
M. Karr" <tycho-user-bounces@xxxxxxxxxxx on behalf of
davidmichaelkarr@xxxxxxxxx> wrote:

>By connecting a debugger to the target eclipse instance, I was able to
>determine that this was caused by a handful of corrupted jars in my
>$HOME/.p2 repo. I've submitted an enhancement request to add the full
>path of the corrupted zip file to the exception. I now need to know the
>exact surgery I need to make to the corrupted jars in $HOME/.p2 to fix
>this.  I would guess that I would just delete them and let Eclipse
>redownload them, but I'm not going to guess on this.  I've asked that
>question in my original PDE forum post, but does anyone know the answer
>to that question?
>
>On 02/15/2016 01:10 AM, Sievers, Jan wrote:
>> looks like some signed content was corrupted.
>> This could be either your bundles/features (if you happen to sign them)
>>or external dependencies of it.
>>
>> Check the eclipse error log if there are any details about which file
>>is corrupted.
>> You may also try to mirror your p2 repo [1], this should validate it
>>(possibly in debug mode using -X maven CLI switch).
>>
>> Regards
>> Jan
>>
>> [1] https://wiki.eclipse.org/Tycho/Additional_Tools#mirror_goal
>>
>>
>>
>> On 12/02/16 18:33, "tycho-user-bounces@xxxxxxxxxxx on behalf of David
>>M. Karr" <tycho-user-bounces@xxxxxxxxxxx on behalf of
>>davidmichaelkarr@xxxxxxxxx> wrote:
>>
>>> I inherited a largish Eclipse plugin codebase
>>> (https://github.com/davidmichaelkarr/yang-ide), and the original
>>>authors
>>> deployed the resulting Tycho-built update site to a public site
>>> (http://dl.xored.com/yang/releases), and installing the plugin from
>>> there works fine.
>>>
>>> Maven says that the entire tree builds successfully.  I can
>>>successfully
>>> test the plugin by launching a test instance, loading the associated
>>> plugins.
>>>
>>> Now I'm attempting to install the built update site in an existing
>>> Eclipse instance.  I've tried defining the update site in Eclipse by
>>> selecting the "update-site/target/<basename>.zip" from the "Archive"
>>> button, and also "update-site/target/repository" from the "Local"
>>>button.
>>>
>>> When I select this update site in "Install New Software", I'm able to
>>> select the one feature, then click "Finish" on the "Install Details"
>>> page, but the next page always reports this:
>>> --------------------
>>> An error occurred during the
>>> org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
>>> session context was:(profile=_home_opnfv_eclipse_java-neon_eclipse,
>>> phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust,
>>> operand=, action=).
>>> Error reading signed content.
>>> error in opening zip file
>>> ----------------------
>>>
>>> The other curious, and perhaps telling, symptom is that on the "Install
>>> Details" page, when it lists the plugins to be installed, there is a
>>> block below which has a "Size:" label.  This says "0 bytes".  I don't
>>> know what this indicates, if anything.
>>>
>>> I'm not familiar with the required structure of an update site, so I
>>> don't know what might be wrong.  Maven doesn't complain when it builds
>>> this module.
>>>
>>> What else can I look at to diagnose this?
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or
>>>unsubscribe from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>>from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx
>To change your delivery options, retrieve your password, or unsubscribe
>from this list, visit
>https://dev.eclipse.org/mailman/listinfo/tycho-user
>




Back to the top