Home » Modeling » Papyrus » Forum participation(concern)
| | | | | | | | | | |
Re: Forum participation [message #677091 is a reply to message #677065] |
Tue, 07 June 2011 14:48 |
Steve Blackwell Messages: 30 Registered: May 2011 |
Member |
|
|
If the developers do not participate the forum or even much in the developers mailing list (most of the messages there are votes), and there are few, if any knowledegable non-developers who can answer questions, what is the point in having a forum or even in having the project be open source?
I am trying to contribute and would like to do more. I have written bugs, made comments, asked for feedback, all with minimal response. I have installed the source but without any developers guides or architecture documentation, it is very difficult to get started.
For instance, I started to look at the Save issue. I found a function called hasDirtyEditors() in the fileDirtyEditorChange.java. This calls editor.isDirty() and editor is a IMultiDiagramEditor type but I can't find the class definition of IMultiDiagramEditor or the code for isDirty() so I'm stuck. I am no java expert so I need some guidance but as I said earlier, I'm hesitent to spend too much time on this if it is going to fall on deaf ears.
The developers themselves have said they need to do a better job of keeping up with the forum. I want to encourage them to follow through.
Steve
|
|
|
Re: Forum participation [message #677145 is a reply to message #677091] |
Tue, 07 June 2011 17:15 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Steve,
Comments below.
Steve Blackwell wrote:
> If the developers do not participate the forum or even much in the
> developers mailing list (most of the messages there are votes), and
> there are few, if any knowledegable non-developers who can answer
> questions, what is the point in having a forum or even in having the
> project be open source?
All good questions... It would be nice to see questions answered with
some regularity, but no one is being paid for that, so the motivation
needs to be purely about helping others for the sake of helping others...
>
> I am trying to contribute and would like to do more. I have written
> bugs, made comments, asked for feedback, all with minimal response. I
> have installed the source but without any developers guides or
> architecture documentation, it is very difficult to get started.
Yes, there's just so much source code...
> For instance, I started to look at the Save issue. I found a function
> called hasDirtyEditors() in the fileDirtyEditorChange.java. This calls
> editor.isDirty() and editor is a IMultiDiagramEditor type but I can't
> find the class definition of IMultiDiagramEditor or the code for
> isDirty() so I'm stuck.
It sounds like you're "just" analyzing static source code. I'd strongly
encourage you to do dynamic analysis. I.e., set a breakpoint and see
what's really happening at runtime. Then you'll know exactly which
implementation class is being called. Things like Ctrl-Shift-T to find
a class, looking at the inheritance hierarchy to find implementations of
it, are other useful techniques.
> I am no java expert so I need some guidance but as I said earlier, I'm
> hesitent to spend too much time on this if it is going to fall on deaf
> ears.
When I first started on Eclipse, the folks working on the platform were
the "golden boys" who were protected by what seemed like a "cone of
silence." It was mostly necessary to figure everything out by myself.
I've even managed to poke around JDT to push for a fix to an annoying
Javadoc problem (that messed up EMF's @model annotations). It's
frustrating but where there's a will there's a way.
>
> The developers themselves have said they need to do a better job of
> keeping up with the forum. I want to encourage them to follow through.
Yes, me too. I personally spend a lot of time on the forums helping on
as many as possible. But itemis pays me to make the modeling project
successful so my helpful behavior is encouraged and rewarded. (Formerly
IBM paid me. They'd have preferred I spent less time being so helpful,
but I didn't let that stop me.)
>
> Steve
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: Forum participation [message #677161 is a reply to message #677150] |
Tue, 07 June 2011 18:20 |
Ed Willink Messages: 7670 Registered: July 2009 |
Senior Member |
|
|
Hi Steve
Have you checked the Wiki? If nothing else, with so many Papyrus
committers, they must need instructions that new contributors can use.
If you want to reverse engineer, I would match up with the RC4 release,
hopefully RC4 sources plugins. When I tried, I found many more plugins
than contribute to the code base.
Regards
Ed Willink
On 07/06/2011 18:58, Steve Blackwell wrote:
> Hi Ed,
>
>>> For instance, I started to look at the Save issue. I found a
>>> function called hasDirtyEditors() in the fileDirtyEditorChange.java.
>>> This calls editor.isDirty() and editor is a IMultiDiagramEditor type
>>> but I can't find the class definition of IMultiDiagramEditor or the
>>> code for isDirty() so I'm stuck.
>> It sounds like you're "just" analyzing static source code. I'd
>> strongly encourage you to do dynamic analysis. I.e., set a breakpoint
>> and see what's really happening at runtime. Then you'll know exactly
>> which implementation class is being called. Things like Ctrl-Shift-T
>> to find a class, looking at the inheritance hierarchy to find
>> implementations of it, are other useful techniques.
>
> In order to be able to do dynamic analysis, I would need to be able to
> build and run the code in debug. Since there are no build instructions
> (right?), I haven't been able to do that. Project->Build All is greyed
> out. There is clearly some setup that has to be done.
>
> If anybody has been able to build from SVN, could you write some
> step-by-step instructions?
>
> Steve
|
|
| | |
Re: Forum participation [message #682266 is a reply to message #677150] |
Fri, 10 June 2011 18:13 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Steve,
That's a good point. I'm not sure if Papyrus builds an SDK with source
bundles. If they did, you'd not have to rebuild it to do source-level
debug it. Papyrus really ought to provide an SDK if Papyrus hopes to be
extensible and all Eclipse projects are expected to support
extensibility, not just provide an end-point tool...
Steve Blackwell wrote:
> Hi Ed,
>
>>> For instance, I started to look at the Save issue. I found a
>>> function called hasDirtyEditors() in the fileDirtyEditorChange.java.
>>> This calls editor.isDirty() and editor is a IMultiDiagramEditor type
>>> but I can't find the class definition of IMultiDiagramEditor or the
>>> code for isDirty() so I'm stuck.
>> It sounds like you're "just" analyzing static source code. I'd
>> strongly encourage you to do dynamic analysis. I.e., set a breakpoint
>> and see what's really happening at runtime. Then you'll know exactly
>> which implementation class is being called. Things like Ctrl-Shift-T
>> to find a class, looking at the inheritance hierarchy to find
>> implementations of it, are other useful techniques.
>
> In order to be able to do dynamic analysis, I would need to be able to
> build and run the code in debug. Since there are no build instructions
> (right?), I haven't been able to do that. Project->Build All is greyed
> out. There is clearly some setup that has to be done.
>
> If anybody has been able to build from SVN, could you write some
> step-by-step instructions?
>
> Steve
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Goto Forum:
Current Time: Thu Sep 19 15:42:11 GMT 2024
Powered by FUDForum. Page generated in 0.10907 seconds
|