You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org> on 2007/03/22 15:52:32 UTC

[jira] Updated: (UIMA-155) add cas editor (tae) project

     [ https://issues.apache.org/jira/browse/UIMA-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann updated UIMA-155:
-------------------------------

    Attachment: update.txt

Contains a few bugfixes and makes the code less dependent on org.eclipse.ui.ide.

> add cas editor (tae) project
> ----------------------------
>
>                 Key: UIMA-155
>                 URL: https://issues.apache.org/jira/browse/UIMA-155
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Sandbox
>            Reporter: Jörn Kottmann
>         Attachments: net.sf.tae uima-155.zip, patch.txt, update.txt, xml-patch.txt
>
>
> 1) Upload the code to this Jira issue.
> 2) Fax the software grant form to the ASF secretary.
> 3) Call a vote on the dev list to accept the contribution.
> 4) Fill in the IP clearance template and add it to the Incubator repo.
> (Note: see http://incubator.apache.org/ip-clearance/index.html for info on this)
> 5) Announce the contribution to the Incubator PMC. If no issues are
> raised in 72 hours, then the code can be checked into the code repo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (UIMA-155) add cas editor (tae) project

Posted by Adam Lally <al...@alum.rpi.edu>.
On 3/27/07, Jörn Kottmann <ko...@gmail.com> wrote:
> > Maybe you could attach to the JIRA issue a zip containing these four
> > files in their entirety.
>
> Ok
>
> > Also, there are dependencies in your POM on version 2.2.0-incubating
> > and 2.2.0-incubating-SNAPSHOT, which both need to be changed to
> > 2.2-incubating-SNAPSHOT.  I already fixed that in my local copy
> > though, so no need to attach another patch.
>
> Please test if it still starts after renaming the plugin.
> The launch configuration should work out of the box.
>

Jörn,

With those new files it compiles.  I committed the changes.

I'm not sure what you meant by "after renaming the plugin."  What do I
need to rename?

Trying to run the plugin gives me an error.  Here is the error log
(sorry for the length):

!SESSION 2007-03-30 14:11:15.783 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.4.2 IBM Windows 32 build cn142-20060824 (SR6)
(JIT enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.apache.uima.caseditor.product
Command-line arguments:  -product org.apache.uima.caseditor.product
-data C:\alally\dev\workspace_apache/../runtime-New_configuration -dev
file:C:/alally/dev/workspace_apache/.metadata/.plugins/org.eclipse.pde.core/UIMA
Cas Editor/dev.properties -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.osgi 2 0 2007-03-30 14:11:18.315
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-30 14:11:18.315
!MESSAGE Bundle update@../alally/dev/workspace_apache/CasEditor/ [4]
was not resolved.
!SUBENTRY 2 org.apache.uima.caseditor 2 0 2007-03-30 14:11:18.315
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5

!ENTRY org.eclipse.core.runtime 2007-03-30 14:11:18.455
!MESSAGE Product org.apache.uima.caseditor.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-03-30 14:11:18.455
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2007-03-30 14:11:18.471
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-30 14:11:18.471
!MESSAGE Bundle update@../alally/dev/workspace_apache/CasEditor/ [4]
was not resolved.
!SUBENTRY 2 org.apache.uima.caseditor 2 0 2007-03-30 14:11:18.471
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
!SESSION 2007-03-30 15:08:12.146 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.4.2 IBM Windows 32 build cn142-20060824 (SR6)
(JIT enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.apache.uima.caseditor.product
Command-line arguments:  -product org.apache.uima.caseditor.product
-data C:\alally\dev\workspace_apache/../runtime-New_configuration -dev
file:C:/alally/dev/workspace_apache/.metadata/.plugins/org.eclipse.pde.core/UIMA
Cas Editor/dev.properties -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.osgi 2 0 2007-03-30 15:08:14.052
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-30 15:08:14.052
!MESSAGE Bundle update@../alally/dev/workspace_apache/CasEditor/ [4]
was not resolved.
!SUBENTRY 2 org.apache.uima.caseditor 2 0 2007-03-30 15:08:14.052
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5

!ENTRY org.eclipse.core.runtime 2007-03-30 15:08:14.177
!MESSAGE Product org.apache.uima.caseditor.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-03-30 15:08:14.177
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2007-03-30 15:08:14.193
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-30 15:08:14.193
!MESSAGE Bundle update@../alally/dev/workspace_apache/CasEditor/ [4]
was not resolved.
!SUBENTRY 2 org.apache.uima.caseditor 2 0 2007-03-30 15:08:14.193
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
!SESSION 2007-03-30 15:11:45.952 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.4.2 IBM Windows 32 build cn142-20060824 (SR6)
(JIT enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.apache.uima.caseditor.product
Command-line arguments:  -product org.apache.uima.caseditor.product
-data C:\alally\dev\workspace_apache/../runtime-New_configuration -dev
file:C:/alally/dev/workspace_apache/.metadata/.plugins/org.eclipse.pde.core/UIMA
Cas Editor/dev.properties -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.osgi 2 0 2007-03-30 15:11:47.842
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-30 15:11:47.842
!MESSAGE Bundle update@../alally/dev/workspace_apache/CasEditor/ [4]
was not resolved.
!SUBENTRY 2 org.apache.uima.caseditor 2 0 2007-03-30 15:11:47.842
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5

!ENTRY org.eclipse.core.runtime 2007-03-30 15:11:47.967
!MESSAGE Product org.apache.uima.caseditor.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-03-30 15:11:47.967
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:56)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2007-03-30 15:11:47.983
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-30 15:11:47.983
!MESSAGE Bundle update@../alally/dev/workspace_apache/CasEditor/ [4]
was not resolved.
!SUBENTRY 2 org.apache.uima.caseditor 2 0 2007-03-30 15:11:47.983
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5

Re: [jira] Updated: (UIMA-155) add cas editor (tae) project

Posted by Jörn Kottmann <ko...@gmail.com>.
> I was unable to apply the patch.  The patch seems to contain diffs
> applied to some files that aren't in SVN (CasProcessorFolder.java,
> ProcessorFolderAdapter.java, FileFieldEditor.java, and
> NewNlpProjectWizard.java).  I'm not sure how that happened - did you
> use "svn diff" to create tha patch?


No, I used the eclipse svn plugin. I think this are files which I  
renamed with
the eclipse refactoring.


> Maybe you could attach to the JIRA issue a zip containing these four
> files in their entirety.

Ok

> Also, there are dependencies in your POM on version 2.2.0-incubating
> and 2.2.0-incubating-SNAPSHOT, which both need to be changed to
> 2.2-incubating-SNAPSHOT.  I already fixed that in my local copy
> though, so no need to attach another patch.

Please test if it still starts after renaming the plugin.
The launch configuration should work out of the box.

Jörn


Re: [jira] Updated: (UIMA-155) add cas editor (tae) project

Posted by Adam Lally <al...@alum.rpi.edu>.
On 3/27/07, Jörn Kottmann <ko...@gmail.com> wrote:
> Can someone please apply the update.txt patch ?
> The issue can than be closed.
>

Jörn,

I was unable to apply the patch.  The patch seems to contain diffs
applied to some files that aren't in SVN (CasProcessorFolder.java,
ProcessorFolderAdapter.java, FileFieldEditor.java, and
NewNlpProjectWizard.java).  I'm not sure how that happened - did you
use "svn diff" to create tha patch?

Maybe you could attach to the JIRA issue a zip containing these four
files in their entirety.

Also, there are dependencies in your POM on version 2.2.0-incubating
and 2.2.0-incubating-SNAPSHOT, which both need to be changed to
2.2-incubating-SNAPSHOT.  I already fixed that in my local copy
though, so no need to attach another patch.

Regards,
-Adam

Re: [jira] Updated: (UIMA-155) add cas editor (tae) project

Posted by Jörn Kottmann <ko...@gmail.com>.
Can someone please apply the update.txt patch ?
The issue can than be closed.

Thanks,
Jörn