1 Feb 12:20
RE: Absolute Paths and the Resource Manager
Yeah, I noticed later that this is supposed to be a URL and not just a path so if I put file:/// it works. I don't think that there is any problem with the way the Resource Manager is getting the files. But this doesn't really address the problem that if I have an analysis engine descriptor that imports a type system then the CDE won't let me edit the location with the regular tools if the location of the type system descriptor isn't already on the datapath (if it is imported by name) or the file location actually exists (if it is imported by location). To see this try making a type system descriptor and an analysis engine in the same directory that references it. Then delete the type system descriptor. Now try to edit the analysis engine descriptor. There isn't any way to edit the type system import except by editing the xml directly and there isn't any way to change the datapath except by noticing that there is an eclipse project property UIMA CDE property page. This happens whether the original type system was imported by name or location. It isn't a major gripe but the CDE is so nice to use it is disconcerting to be forced to edit the XML directly. -----Original Message----- From: Marshall Schor [mailto:msa@...] Sent: Friday, January 25, 2008 10:28 PM To: uima-user@... Subject: Re: Absolute Paths and the Resource Manager Hi Frank, Is the type system <import...> using the location="...." form? Is that(Continue reading)
. The CDE is set up to work with an
internal representation of the descriptor (and the things that it
imports). It doesn't have its own code to do this, it instead relies on
the underlying UIMA framework to read, parse, and and generally build a
"model" of what the descriptor is doing. If it's a type system that's
gone missing, since the available types condition a lot of the
functionality of the CDE, it gives up being a "nice" editor, and says
you have to get this fixed at least to the point where it can be read,
using a plain-old xml editor.
This probably could be improved, if someone wants to "scratch that itch"
RSS Feed