You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Ksenia Khailenko (JIRA)" <ji...@apache.org> on 2011/03/25 09:44:05 UTC

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

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
            Reporter: Ksenia Khailenko


Create such an eclipse plugin that will help to work with Cayenne Modeler project synchronized with Eclipse project. The basic goals are:
1. Start Cayenne Modeler from Eclipse (Cayenne Modeler application is based on Java Swing, so, actually the task is starting a standalone application by the plugin from Eclipse IDE)
2. Synchronize Cayenne Modeler and Eclipse IDE workflows, ie running mapping java classes generation on changing Cayenne model, autorefresh of the corresponded entities of the Eclipse project, etc
3. 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)
4. Provide several ways of installing created plugin to Eclipse(simple plugin, update site)

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

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

Posted by "Ksenia Khailenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ksenia Khailenko updated CAY-1554:
----------------------------------

    Attachment: 0001-CAY-1554.-Created-the-plugin-for-opening-Cayenne-Mod.patch

Current results

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: 0001-CAY-1554.-Created-the-plugin-for-opening-Cayenne-Mod.patch, 0001-gsoc-project.patch, dependencies, july-2.patch, new-plugin.patch, new-plugin.patch, plugin-gsoc.patch
>
>
> 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

        

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

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik updated CAY-1554:
---------------------------------

    Description: 
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. 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. Run mapped Java classes generation, and refresh the XML files in Eclipse when the model is saved by CayenneModeler
3. Autorefresh projects in CayenneModeler when XML files change in Eclipse.
3. 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)
4. 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)

  was:
Create such an eclipse plugin that will help to work with Cayenne Modeler project synchronized with Eclipse project. The basic goals are:
1. Start Cayenne Modeler from Eclipse (Cayenne Modeler application is based on Java Swing, so, actually the task is starting a standalone application by the plugin from Eclipse IDE)
2. Synchronize Cayenne Modeler and Eclipse IDE workflows, ie running mapping java classes generation on changing Cayenne model, autorefresh of the corresponded entities of the Eclipse project, etc
3. 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)
4. Provide several ways of installing created plugin to Eclipse(simple plugin, update site)


(edits to emphasize the focus on a small production-quality plugin)

> 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
>            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. 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. Run mapped Java classes generation, and refresh the XML files in Eclipse when the model is saved by CayenneModeler
> 3. Autorefresh projects in CayenneModeler when XML files change in Eclipse.
> 3. 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)
> 4. 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

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

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik updated CAY-1554:
---------------------------------

    Description: 
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)

  was:
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. 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. Run mapped Java classes generation, and refresh the XML files in Eclipse when the model is saved by CayenneModeler
3. Autorefresh projects in CayenneModeler when XML files change in Eclipse.
3. 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)
4. 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)


> 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
>            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

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

Posted by "Patti Arachchige Eshan Sudharaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patti Arachchige Eshan Sudharaka updated CAY-1554:
--------------------------------------------------

    Attachment: new-plugin.patch
                dependencies

Here i have attached my current work which we can launch cayenne modeler my opening the cayenne.xml file.

And required dependencies are listed which should be added in to a public repository.

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: dependencies, new-plugin.patch
>
>
> 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

        

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

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015293#comment-13015293 ] 

Andrus Adamchik commented on CAY-1554:
--------------------------------------

Good point. yeah, adding a menu item "New > Cayenne Mapping" is probably a good idea. 

> 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

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

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Jun 27, 2011, at 7:26 PM, Ksenia Khailenko (JIRA) wrote:

> I guess, they should be added manually. Could you attach these dependencies?

Were these the dependencies that we discussed on dev before (those that come from Eclipse environment and that we don't need in Maven just yet)?

In any event, I suggest posting links to their origins if possible, rather than attaching the jars. 

Andrus


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

Posted by "Ksenia Khailenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055633#comment-13055633 ] 

Ksenia Khailenko commented on CAY-1554:
---------------------------------------

I've applied the patch, but there are missed dependendencies: 
  <dependency>
            <groupId>org.eclipse</groupId>
            <artifactId>jface</artifactId>
            <version>3.5.2.M20100120-0800</version>
  </dependency>
  <dependency>
            <groupId>org.eclipse.ui</groupId>
            <artifactId>editors</artifactId>
            <version>3.5.0.v20090527-2000</version>
   </dependency>
I guess, they should be added manually. Could you attach these dependencies?

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: dependencies, new-plugin.patch, new-plugin.patch, plugin-gsoc.patch
>
>
> 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

        

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

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik updated CAY-1554:
---------------------------------

    Affects Version/s: 3.1 (final)

> 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

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

Posted by "Ksenia Khailenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ksenia Khailenko updated CAY-1554:
----------------------------------

    Attachment: 0001-gsoc-project.patch

Hi! this is the latest update from Eshan.

project is build-able by maven, producing the valid eclipse plugin jar, which can be put into "plugins" folder of eclipse, and then is launchable with eclipse. Plugin detects cayenne*.xml files properly and opens Modeler on double click. Looks amazing :) 

Good job, Eshan! :) I'm going to test the created functionality then and review the code. 

Looking forward for the further updates!

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: 0001-gsoc-project.patch, dependencies, july-2.patch, new-plugin.patch, new-plugin.patch, plugin-gsoc.patch
>
>
> 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

        

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

Posted by "Patti Arachchige Eshan Sudharaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patti Arachchige Eshan Sudharaka updated CAY-1554:
--------------------------------------------------

    Attachment: july-2.patch

Changes are done according to he discussion on list. 
 Thanks 

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: dependencies, july-2.patch, new-plugin.patch, new-plugin.patch, plugin-gsoc.patch
>
>
> 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

        

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

Posted by "Patti Arachchige Eshan Sudharaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patti Arachchige Eshan Sudharaka updated CAY-1554:
--------------------------------------------------

    Attachment: new-plugin.patch

binding package is added to the cayenne-eclipse-plugin module.
Thanks.

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: dependencies, new-plugin.patch, new-plugin.patch
>
>
> 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

        

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

Posted by "Patti Arachchige Eshan Sudharaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015108#comment-13015108 ] 

Patti Arachchige Eshan Sudharaka commented on CAY-1554:
-------------------------------------------------------

I have a problem regarding >>1.
   Here it is mentioned starting Cayenne modeler by giving cayenne-test.xml file. How about when we are going to create new ORM mapping by using Cayenne modeler ? Should it allow us to open a new Cayenne modeler instant from the Eclipse IDE and do the ORM mapping ..?

> 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

[jira] [Issue Comment Edited] (CAY-1554) Cayenne Modeler integration with Eclipse IDE

Posted by "Patti Arachchige Eshan Sudharaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059092#comment-13059092 ] 

Patti Arachchige Eshan Sudharaka edited comment on CAY-1554 at 7/2/11 6:21 PM:
-------------------------------------------------------------------------------

Changes are done according to the discussion on list. 
 Thanks 

      was (Author: eshan.sudharaka):
    Changes are done according to he discussion on list. 
 Thanks 
  
> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: dependencies, july-2.patch, new-plugin.patch, new-plugin.patch, plugin-gsoc.patch
>
>
> 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

        

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

Posted by "Andrey Razumovsky (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Patti Arachchige Eshan Sudharaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patti Arachchige Eshan Sudharaka updated CAY-1554:
--------------------------------------------------

    Attachment: plugin-gsoc.patch

Changes are done according to the previous feedback. 
Full Java Classes generation is done when a user did changes in Cayenne modeler.

> Cayenne Modeler integration with Eclipse IDE
> --------------------------------------------
>
>                 Key: CAY-1554
>                 URL: https://issues.apache.org/jira/browse/CAY-1554
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.1 (final)
>            Reporter: Ksenia Khailenko
>              Labels: gsoc2011, mentor
>         Attachments: dependencies, new-plugin.patch, new-plugin.patch, plugin-gsoc.patch
>
>
> 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