[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12750287#action_12750287 ] Thilo Goetz commented on UIMA-1326: --- We provide a lot of code where users first have to download something else before they can make it work. I'd vote for not including the ecore jars. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12750062#action_12750062 ] Marshall Schor commented on UIMA-1326: -- This current approach has the following issues: * it essentially requires Eclipse. I think our intent with ecore did not include making it Eclipse - specific * It has special treatment to isolate source files outside of the normal source path, and special readme's to have the user include these in the source path, after they add ecore support jars from Eclipse, which they would have to obtain somehow. A simpler approach would be to * have no special treatment for the ecore examples * ship (distribute) the needed ecore jars with the examples, in a /lib directory This would allow stand-alone running of the ecore examples without Eclipse being installed or available. The Jars in question are * org/eclipse/emf/common-2.1.0.jar (134KB) * org/eclipse/emf/ecore-2.1.0.jar (625 KB) * org/eclipse/emf/ecore-xmi-2.1.0.jar (142KB) These we can distribute in binary form only under category b license terms - we have to include things in the NOTICE/LICENSE files for this. (Note that the maven build already gets these Jars from the maven repos and mvn eclipse:eclipse on the uimaj-examples project puts these jars into the generated classpath.) Should we change things to this simpler approach but which requires us to ship the 3 ecore support Jars, or leave things the way they are? I'm on the fence... in favor of simplicity, but not wanting to grow our bin distribution by 900KB. Other opinions? Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12748734#action_12748734 ] Jörn Kottmann commented on UIMA-1326: - This issue still needs testing, everything else is done. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12748764#action_12748764 ] Thilo Goetz commented on UIMA-1326: --- I think it's been tested as much as we can for now, everything seems to be fine. Once we have a release candidate, we'll do more testing. I suggest we close the issue. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12748787#action_12748787 ] Marshall Schor commented on UIMA-1326: -- This approach puts files from uimaj-examples in SVN and our source distribution into two separate files in the binary distribution. I think it would be better to keep everything in sync, and split the SVN and source distributions the same way, and not have a special split step in the assembly, because it would be clearer and more maintainable in the future (my beliefs :-) ) Other opinions? Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12726813#action_12726813 ] Thilo Goetz commented on UIMA-1326: --- I tested JCasGen from the CDE, still works fine. However, I tested from an eclipse workspace. Since I'm unable to build the eclipse update site in a way that it actually works, I can't test properly. I.e., can't test if the dependency is resolved properly when our tools are installed into a clean eclipse. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12726742#action_12726742 ] Jörn Kottmann commented on UIMA-1326: - Can we close the issue now or does the jcas stuff needs more testing ? Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uima-as-distr_1326.patch, uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12725625#action_12725625 ] Jörn Kottmann commented on UIMA-1326: - I committed your patches, do you still want the ecore code moved to ecore_src ? Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12725643#action_12725643 ] Burn Lewis commented on UIMA-1326: -- That's what the patch to bin.xml does ... all are under src in svn but when we build the binary distribution we now move 3 files (was 1) to ecore_src. All looks fine now - thanks, Burn. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Attachments: uimaj-distr_1326.patch, uimaj-examples_1326.patch The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12725382#action_12725382 ] Burn Lewis commented on UIMA-1326: -- If I add to the uimaj-examples classpath the ecore jars that maven puts in my repository when building from svn (e.g. org/eclipse/emf/ecore/2.1.0/ecore-2.1.0.jar) the build works. When I instead use the ones in my eclipse/plugins directory (e.g. org.eclipse.emf.ecore_2.3.2.v200802051830.jar) that match my Eclipse 3.3.2, the compile of UimaTypeSystem2Ecore fails at line 188: eclass.getESuperTypes().add(superclass); But I don't think we intended to have any ecore code in this project as we have some of it in ecore_src ... so the simplest fix is to move the ecore-dependent files into examples/ecore_src instead of examples/src Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12724414#action_12724414 ] Thilo Goetz commented on UIMA-1326: --- Can we close this issue, or is there remaining work that needs to be done? Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12724504#action_12724504 ] Burn Lewis commented on UIMA-1326: -- Sorry, I should have clarified my problem. The build worked fine but the problem came when I took the resultant zip file (binary) and installed it and tried to build the examples project as our docs recommend. Presumably we don't require maven for that step. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12720729#action_12720729 ] Burn Lewis commented on UIMA-1326: -- I'm probably missing something but I can't build the uimaj-examples project now. I built a new uima core uimaj-2.3.0-incubating-SNAPSHOT-bin.zip and installed it, then created a new workspace and imported the uimaj-examples project. It failed on the new ecore classes in org.apache.uima.examples.xmi so I followed the instructions in the ecore_src directory to add the 3 emf jar files to my classpath and now I have only one error: The method add(EClass) in the type ListEClass is not applicable for the arguments (EClassifier) uimaj-examples/src/org/apache/uima/examples/xmi UimaTypeSystem2Ecore.java line 188 I have Eclipse 3.3.2 and an updated EMF 2.3.2.v200802051830 Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12720754#action_12720754 ] Thilo Goetz commented on UIMA-1326: --- Worked for me on the command line, then used mvn eclipse:eclipse to set up the project. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12720763#action_12720763 ] Jörn Kottmann commented on UIMA-1326: - Also works for me on the command line and in eclipse, used mvn eclipse:eclipse to set up the project. A short look at the code: EClass eclass = (EClass) eclassifier; // set supertype String supertypeName = type.getSupertypeName(); EClassifier superclass = lookupEClassifierForType(supertypeName); // creates EClass if not // already existing eclass.getESuperTypes().add(superclass); // line 188 On the last line I get a type safety warning in eclipse. I think that means that we are using an older version of ecore (2.10). Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12705988#action_12705988 ] Jörn Kottmann commented on UIMA-1326: - I now removed the EMF dependency from the uimaj-ep-runtime plugin. To achieve that I removed the EMF dependency from uimaj-core and moved the ecore classes to the uimaj-examples project, since thats the only place where they are used. To finally get rid of the EMF dependency in the uimaj-ep-runtime plugin I removed the uimaj-examples from it. Do we need the uimaj-examples in an OSGI environment ? If so we could just add a OSGI manifest to the uimaj-examples jar file or create a separate project which wraps it in the uimaj-ep-runtime plugin style. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12698741#action_12698741 ] Marshall Schor commented on UIMA-1326: -- EMF parts are used also in the uimaj-tools part for the JCas generation tool -(not part of the uimaj-core). It might already be a dependency of the Component Descriptor Editor. Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12698779#action_12698779 ] Jörn Kottmann commented on UIMA-1326: - I checked the uimaj-tools pom and it does not depend on EMF and uimaj-ep-runtime does not contain the Component Descriptor Editor, or did I missed something ? Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1326) Remove EMF dependency from uimaj-ep-runtime plugin
[ https://issues.apache.org/jira/browse/UIMA-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12699025#action_12699025 ] Marshall Schor commented on UIMA-1326: -- I mis-remembered how this got set up. (It's older code that dates from Eclipse ~2.1 vintage). JCasGen has a mode where it can merge the generated code with previous extensions that a user might have written, in a way the preserves those. It uses the code generation facilities of EMF to do this. See http://incubator.apache.org/uima/downloads/releaseDocs/2.2.2-incubating/docs/html/tools/tools.html#ugr.tools.jcasgen (the section starting There are several versions of JCasGen). This was set up by moving the dependency on EMF code generation into a plugin, uimaj-ep-jcasgen. That plugin's POM does have a dependency on EMF. The plugin is used in two cases: 1) from the Component Descriptor Editor in Eclipse, and when running the tool script jcasgen_merge.bat or .sh; In the latter case the application calls the class JgPluginRunner (see the plugin.xml file for that plugin). The Component Descriptor Editor has a dependency on uimaj-ep-jcasgen, which in turn depends on EMF codegen. I think this will continue to work, if you remove the EMF dependency from the core, but let's test to be sure :-). Remove EMF dependency from uimaj-ep-runtime plugin -- Key: UIMA-1326 URL: https://issues.apache.org/jira/browse/UIMA-1326 Project: UIMA Issue Type: Improvement Components: Eclipse plugins Affects Versions: 2.3 Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The uimaj-ep-runtime plugin depends on EMF, this dependency makes deploying in an non eclipse OSGI environment difficult since EMF depends on org.eclipse.core.runtime, which depends on many other eclipse plugins. Since EMF is only really used in the examples project, the dependency is removed from uimaj-core and the classes Ecore2UimaTypeSystem and UimaTypeSystem2Ecore.java are moved to uimaj-examples. The uimaj-ep-runtime plugin contains currently uimaj-examples, that could be moved to a seperate plugin or shipped with an OSGI bundle. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.