|
|
|
|
Re: New Java AST tool based on Java Abstract Syntax Discovery Tool [message #560 is a reply to message #543] |
Fri, 13 February 2009 09:11 |
Gabriel BARBIER Messages: 106 Registered: July 2009 |
Senior Member |
|
|
Hello Dennis and Dimitri,
Have you take a look to the Java Discoverer ? download : https://bugs.eclipse.org/bugs/show_bug.cgi?id=258281
It is composed of a metamodel J2SE5 and a discoverer that populate J2SE5 models. It provides also a transformation to
KDM. It works in a very similar way of your plugin Dennis (popup menu from a Java project "Modisco Modelplex Knowledge
Discovery -> IntermediateModels -> Discover J2SE5 model from Java project").
In fact, J2SE5 metamodel is not very different from JavaAST, I believe there is only 10/15 different metaclasses. We
have added metaclasses to represents binding between java elements. So relationships are not represented only by a
string, we rebuild also the graph of elements links.
I have not upgraded JavaAST project because of historics (J2SE5 metamodel is born 3 years ago) and I didn't realize that
I could change a lot JavaAST project (I'm a newcomer in Eclipse Community).
And you could also be interested in a model browser that allow metaclass sort, an infinite view of links, etc.
doc : http://wiki.eclipse.org/index.php/MoDisco/ModelBrowser
download : https://bugs.eclipse.org/bugs/show_bug.cgi?id=259234
Regards,
Gabriel
Dimitris Kolovos wrote:
> Hi Dennis,
>
> Thanks for the speedy fix! It works fine now.
>
> Cheers,
> Dimitris
>
> Dennis Wagelaar wrote:
>> Hi Dimitris,
>>
>> Dimitris Kolovos schreef:
>>> Hi Dennis,
>>>
>>> I just installed Java AST, created a hello world plugin project
>>> (attached), and invoked the "Create Java AST model" on it but I got
>>> the following error:
>>>
>>> String index out of range: 1400
>>>
>>> Full stack trace:
>>> *snip*
>>
>> Thanks for the feedback! I found out I had some issues indeed:
>> https://ssel.vub.ac.be/bugzilla/show_bug.cgi?id=36
>> https://ssel.vub.ac.be/bugzilla/show_bug.cgi?id=37
>>
>> I released a new version already that includes the fixes (v.1.0.1). It
>> seems to work on your example. Sorry for the hasty release...
>>
>> Dennis
|
|
|
|
|
|
|
|
Re: New Java AST tool based on Java Abstract Syntax Discovery Tool [message #572629 is a reply to message #543] |
Fri, 13 February 2009 09:11 |
Gabriel BARBIER Messages: 106 Registered: July 2009 |
Senior Member |
|
|
Hello Dennis and Dimitri,
Have you take a look to the Java Discoverer ? download : https://bugs.eclipse.org/bugs/show_bug.cgi?id=258281
It is composed of a metamodel J2SE5 and a discoverer that populate J2SE5 models. It provides also a transformation to
KDM. It works in a very similar way of your plugin Dennis (popup menu from a Java project "Modisco Modelplex Knowledge
Discovery -> IntermediateModels -> Discover J2SE5 model from Java project").
In fact, J2SE5 metamodel is not very different from JavaAST, I believe there is only 10/15 different metaclasses. We
have added metaclasses to represents binding between java elements. So relationships are not represented only by a
string, we rebuild also the graph of elements links.
I have not upgraded JavaAST project because of historics (J2SE5 metamodel is born 3 years ago) and I didn't realize that
I could change a lot JavaAST project (I'm a newcomer in Eclipse Community).
And you could also be interested in a model browser that allow metaclass sort, an infinite view of links, etc.
doc : http://wiki.eclipse.org/index.php/MoDisco/ModelBrowser
download : https://bugs.eclipse.org/bugs/show_bug.cgi?id=259234
Regards,
Gabriel
Dimitris Kolovos wrote:
> Hi Dennis,
>
> Thanks for the speedy fix! It works fine now.
>
> Cheers,
> Dimitris
>
> Dennis Wagelaar wrote:
>> Hi Dimitris,
>>
>> Dimitris Kolovos schreef:
>>> Hi Dennis,
>>>
>>> I just installed Java AST, created a hello world plugin project
>>> (attached), and invoked the "Create Java AST model" on it but I got
>>> the following error:
>>>
>>> String index out of range: 1400
>>>
>>> Full stack trace:
>>> *snip*
>>
>> Thanks for the feedback! I found out I had some issues indeed:
>> https://ssel.vub.ac.be/bugzilla/show_bug.cgi?id=36
>> https://ssel.vub.ac.be/bugzilla/show_bug.cgi?id=37
>>
>> I released a new version already that includes the fixes (v.1.0.1). It
>> seems to work on your example. Sorry for the hasty release...
>>
>> Dennis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05403 seconds