Hi,
Yes, it works.
I copy these files in the $ECLIPSE_HOME/plugins directory :
uimaj-ep-runtime-2.3.2-SNAPSHOT.jar
uimaj-ep-pear-packager-2.3.2-SNAPSHOT.jar
uimaj-ep-launcher-2.3.2-SNAPSHOT.jar
uimaj-ep-jcasgen-2.3.2-SNAPSHOT.jar
uimaj-ep-debug-2.3.2-SNAPSHOT.jar
uimaj-ep-configurator-2.3.2-SNAPSHOT.jar
uimaj-ep-cas-editor-2.3.2-SNAPSHOT.jar
uimaj-eclipse-feature-tools-2.3.2-SNAPSHOT.jar
uimaj-eclipse-feature-runtime-2.3.2-SNAPSHOT.jar
I success to import text files (that are converted to XMI format) and
annotate them.
Thanks Richard.
Regards,
Guillaume Vauvert
Le 24/05/11 10:20, Jörn Kottmann a écrit :
Hi,
did it works now for you?
The wizard was changed to not depend anymore on the Cas Editor project
stuff,
I will have a look and eventually open a bug report if the issue still
exists.
Jörn
On 5/20/11 11:57 AM, Guillaume Vauvert wrote:
Hello Richard,
Thank you very much, I hope that this version will solve my problem.
However, before starting to try it, I would know if I can use the
Eclipse plugin of UIMA 2.3.2-SNAPSHOT with UIMA 2.3.1 in my code ?
If not, I am afraid that I will not be able to switch to UIMA
2.3.2-SNAPSHOT, because I use some librairies (TextMarker for
instance) that may be not compatible.
Regards,
Guillaume Vauvert
Le 19/05/11 19:16, Richard Eckart de Castilho a écrit :
Hello Guillaume,
I strongly recommend that you check out and build the latest UIMA
2.3.2-SNAPSHOT from the SVN trunk. See these instructions:
http://uima.apache.org/building-uima.html
The CAS Editor in trunk is way beyond the latest release and does no
longer require the special "Corpus Project" project type. It works
on any project.
To install the plugins you have build using above instructions,
please first uninstall all Eclipse UIMA and CAS Editor Plugins and
then drop the Plugin JARs from the build into Eclipse's "dropins"
folder and restart Eclipse.
If you are using UIMA-AS, you'll also have to remove its Eclipse
Plugins and build them from source as well.
Cheers,
Richard
Am 19.05.2011 um 18:56 schrieb Guillaume Vauvert:
Hi,
I have a simple problem : I try to use the Cas Editor ... without
success.
- I install a new Eclipse
- I set UIMA_HOME and JAVA_HOME (/Library/Java/Home on MacOSX)
- I install the UIMA plugin
- I create a Cas Editor Project
- I add a directory "Corpus"
- in the project properties, I define this directory as a corpus
directory (ok, the icon changes)
- right-click on the directory "Corpus", I select "Import", then "Cas
Editor">Document
- I click on "Next" and ... nothing happens
In the error log, I found an horrible stacktrace (see below).
Do I miss something ? I am working on a MacOSX ...
Thanks !
Guillaume Vauvert
null
Error
Thu May 19 18:47:29 CEST 2011
Unhandled event loop exception
java.lang.ClassCastException:
org.apache.uima.caseditor.core.model.CorpusElement cannot be cast to
org.eclipse.core.resources.IContainer
at
org.apache.uima.caseditor.ui.wizards.ImportDocumentWizardPage.<init>(ImportDocumentWizardPage.java:89)
at
org.apache.uima.caseditor.ui.wizards.ImportDocumentWizard.addPages(ImportDocumentWizard.java:52)
at
org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:113)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)
at
org.eclipse.ui.internal.dialogs.ImportExportPage.getNextPage(ImportExportPage.java:431)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:887)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:426)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:147)
at
org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274)
at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at
org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)