You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrey Razumovsky (JIRA)" <ji...@apache.org> on 2011/03/28 16:48:06 UTC

[jira] [Commented] (CAY-1554) Cayenne Modeler integration with Eclipse IDE

    [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012086#comment-13012086 ] 

Andrey Razumovsky commented on CAY-1554:
----------------------------------------

>> 2. Implement a communication protocol between Eclipse and CayenneModeler (not sure if Eclipse frameworks already have something for this purpose that we can reuse?) 

I don't think so. I think the best way for us is to run modeler in same JVM Eclipse is run in. This way we'll be able to easily communicate both sides (set listeners, handle events etc.)

Requirements are not mentioned here, I suggest it'll be Eclipse 3.5+ (including upcoming 3.7)

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>
> Create an Eclipse plugin that will help to synchronize work between a Java project in Eclipse and CayenneModeler. The focus of this task is not to build a lot of features into the plugin (we'll be doing that later of course), but rather to create a production-quality plugin that we can release with Cayenne 3.1. A possible set of functionality for the initial version of the plugin:
> 1. An ability to start Cayenne Modeler from Eclipse, opening a given cayenne-xyz.xml (Cayenne Modeler application is based on Java Swing, so, actually the task is starting a standalone Java application by the plugin from Eclipse IDE)
> 2. Implement a communication protocol between Eclipse and CayenneModeler (not sure if Eclipse frameworks already have something for this purpose that we can reuse?)
> 3. Run mapped Java classes generation, and refresh the XML files in Eclipse when the model is saved by CayenneModeler
> 4. Autorefresh projects in CayenneModeler when XML files change in Eclipse.
> 5. Support switching between the Java code in Eclipse IDE and the model in Cayenne Modeler(and vice versa), based on user selections (eg jumping from Cayenne ObjEntity to the related Java class)
> 6. Provide several ways of installing created plugin to Eclipse(simple plugin, update site)
> The initial plugin can (should?) be built based on the prototype already done per https://issues.apache.org/jira/browse/CAY-1392 (the patch in this Jira will be committed to SVN soon)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira