[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology] Re: Modifying soruce code Vs. Using the extension point
|
Thaks a lot for the quick reply
:)
Regards
Xing Yun
"Wayne Beaton" <wayne@xxxxxxxxxxx> wrote in message
news:ggl4aj$v8s$1@xxxxxxxxxxxxxxxxxxxx
> For one, if you modify the code, then you have to distribute it with your
> code. You run the risk that your changes might not be compatible with
> other plug-in providers. Further, as changes are made to the original
> code, you will have to maintain yours.
>
> If you think something needs to be changed, you could consider filing a
> bug report to ask for it to be changed/added (you can contribute code for
> the change).
>
> Be sure to abide by the EPL if you do decide to change code.
>
> Wayne
>
> xing yun wrote:
>> Hi
>> My Goal:
>> Develop a plugin for Eclipse, this plugin has a dependeny on
>> "plugin X"
>>
>> My Problem:
>> Some of features is not provided in the extension points of
>> "plugin X"
>>
>> I'm curious:
>> I can achieve some of my targets via modifying the source code of
>> "plugin X" and re-publish "plugin X"
>> I know it's not a good practice
>>
>> But what're the disadvantages of modifying source code directly?
>>
>> Thanks
>>
>> Xing Yun