Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] replace a plugin in buckminster

The file does have the updated version listed. I didn't increase the version 
itself before as the qualifier that was set was definetly higher. But I 
tried replacing the .0 with .1 and I can see that the .1 should be picked, 
nonetheless its almost as if my added code is not being executed.

I'll run buckminster with remote-debugger enabled now to see wether the code 
is actually getting into that function.

Andreas

Achim Demelt wrote:

> Hmm, that's strange. I did the same thing with a patched version of JDT,
> and it worked nicely. You may want to peek into the bundles.info file in
> the configuration/org.eclipse.equinox.simpleconfigurator/ directory of
> your Buckminster installation. There you can see which version of the
> bundle is known to p2. I assume the version number of your self-built
> bundle is higher than the original one, right?
> 
> Achim
> 
> Andreas Pakulat wrote:
> 
>> Hi Achim,
>> 
>> Hmm, how would I do that? It doesn't seem to be possible to build a p2
>> site with Buckminster from a single plugin. I've meanwhile tried with an
>> extra feature and updatesite and installing that into Buckminster but it
>> doesn't seem like this worked (even though there were no errors and the
>> pde-build plugin in my buckminster seems to be the self-built version).
>> 
>> Andreas
>> 
>> Achim Demelt wrote:
>> 
>>> Hi Andreas,
>>> 
>>> If you create a p2 site that contains your patched bundle, you can
>>> simply use the director to install that single bundle into Buckminster.
>>> No feature required. Just make sure your version number is higher than
>>> the one that is already installed.
>>> 
>>> Cheers,
>>>  Achim
>>> 
>>> Andreas Pakulat wrote:
>>> 
>>>> Hi,
>>>> 
>>>> to workaround https://bugs.eclipse.org/bugs/show_bug.cgi?id=278909 I
>>>> wanted to replace the org.eclipse.pde.build plugin in my buckminster
>>>> installation with a self-built one that has the fix included.
>>>> Unfortunately after building the plugin and exporting it from Eclipse
>>>> its not used by buckminster. I've copied the contents of the generated
>>>> jar-file into the corresponding folder in the buckminster/plugins
>>>> directory, but the code is apparently not executed (I've added some
>>>> code to the function which should generate a file in /tmp/, but that
>>>> doesn't happen).
>>>> 
>>>> So I guess I'm missing something here?
>>>> 
>>>> Andreas



Back to the top