|
|
Re: Problem with patch fragments [message #71353 is a reply to message #71012] |
Thu, 24 January 2008 10:22 |
Boris Stepanov Messages: 68 Registered: July 2009 |
Member |
|
|
Hi Benjamin,
Thank you for answer.
I installed all rap plugins to my workspace and run application with my
fragments locating in workspace too, but fragments do not work.
OSGI console command "ss" inform that all fragments are resolved and all
plugins are active.
> Hi Boris,
>
> be sure that both (host and fragment bundle) are in the same "location".
> This means they both need to be located in your target or both need to
> reside in the workspace. This would mean for you, in order to create
> patch fragments without building the fragment jar, that you need to
> import the corresponding host bundle into your workspace. This is a
> limitation by equinox regarding fragment patches.
>
> Hope that helps.
>
> Greets
> Benny
>
> Boris Stepanov wrote:
>> Hello,
>>
>> I try to use RAP patch fragments to implement missing functionality.
>> Code compiles, but when I debug/run my application using RAP Launcher
>> (fragments, locating in my workspace, selected in bundles tab of
>> configuration), functionality does not work.
>>
>>
>> I have maked the following steps:
>>
>> 1) Build .jar files from patch fragments.
>> 2) Copy them to plugins directory of RAP target platform.
>> 3) Reload platform plugins.
>> 4) Select these new platform fragments in run/debug configuration.
>>
>> New functionality works correctly now.
>>
>> How to develop patch fragments for RAP without building fragment jars?
>>
>> Thanks.
>>
--
Boris Stepanov
|
|
|
Re: Problem with patch fragments [message #72626 is a reply to message #71353] |
Fri, 01 February 2008 12:49 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
there should be no need for building the jar from the patch fragment for
developing. As long as you have the patch-plug-in and the host plug-in as
source plug-in in the workspace and configured the launch-configuration
accordingly, the patched classes should be loaded instead of the original
classes. Most of the time the second part (configuration of the
launch-configuration) causes the problem, since people forget to include the
workspace bundle instead the target-version to the launch.
Ciao
Frank
"Boris Stepanov" <freepriman@rambler.ru> schrieb im Newsbeitrag
news:fn9otk$t9u$1@build.eclipse.org...
> Hi Benjamin,
>
> Thank you for answer.
>
> I installed all rap plugins to my workspace and run application with my
> fragments locating in workspace too, but fragments do not work.
>
> OSGI console command "ss" inform that all fragments are resolved and all
> plugins are active.
>
>
>> Hi Boris,
>>
>> be sure that both (host and fragment bundle) are in the same "location".
>> This means they both need to be located in your target or both need to
>> reside in the workspace. This would mean for you, in order to create
>> patch fragments without building the fragment jar, that you need to
>> import the corresponding host bundle into your workspace. This is a
>> limitation by equinox regarding fragment patches.
>>
>> Hope that helps.
>>
>> Greets
>> Benny
>>
>> Boris Stepanov wrote:
>>> Hello,
>>>
>>> I try to use RAP patch fragments to implement missing functionality.
>>> Code compiles, but when I debug/run my application using RAP Launcher
>>> (fragments, locating in my workspace, selected in bundles tab of
>>> configuration), functionality does not work.
>>>
>>>
>>> I have maked the following steps:
>>>
>>> 1) Build .jar files from patch fragments.
>>> 2) Copy them to plugins directory of RAP target platform.
>>> 3) Reload platform plugins.
>>> 4) Select these new platform fragments in run/debug configuration.
>>>
>>> New functionality works correctly now.
>>>
>>> How to develop patch fragments for RAP without building fragment jars?
>>>
>>> Thanks.
>>>
>
>
> --
> Boris Stepanov
|
|
|
Powered by
FUDForum. Page generated in 0.03300 seconds