Journal for novamente - Novamente work

Review status
Started: 2007-12-14 09:29:21 PM  Last Active: 2007-12-14 09:57:10 PM

Punt on remaining relex issues; I can parse a sentence at a time and tha'll do for now.

Build success
Started: 2007-12-14 11:20:19 AM  Last Active: 2007-12-14 09:29:21 PM

Build success, however, get 164 warning about template usage. For example:
    [javac] 164. WARNING in /home/linas/src/novamente/svn/open-relex/trunk/src/relex/util/socket/ (at line 120)
    [javac]     public String process(String request, ArrayList restoreCommands) {
    [javac]                                           ^^^^^^^^^
    [javac] ArrayList is a raw type. References to generic type ArrayList should be parameterized
but these are just warnings.

Cleaning up the README, the various shell scripts. Murillo says the servers will be down all weekend for an office move.

Another crash:

   org.apache.uima.util.InvalidXMLException: Invalid descriptor at file:/home/linas/src/novamente/svn/open-relex/trunk/./data/descriptor/uima/comp/MiamiDadeCountyAggregate.xml.
   at org.apache.uima.util.impl.XMLParser_impl.parse(
   at org.apache.uima.util.impl.XMLParser_impl.parseResourceSpecifier(
   at org.apache.uima.util.impl.XMLParser_impl.parseResourceSpecifier(
   at relex.uima.RelexEngine.(
   at relex.uima.RelexEngine.main(
Caused by: java.lang.NullPointerException
something wrong with the xml, but it doesn't say what/where.

Installing gate
Started: 2007-12-14 09:45:19 AM  Last Active: 2007-12-14 11:20:19 AM

downloaded gate-4.0

then java -jar gate-4.0-build2752-installer-other.jar just create a little blank window with "izPack - Installation of Gate" in the titlebar :-( and nothing happens ...

Downloading gate source now ...

OK, it needs to be in /opt/GATE-4.0 not /opt/gate-4.0

project files, errors and playing with eclipse
Started: 2007-12-14 08:41:00 AM  Last Active: 2007-12-14 09:45:19 AM

eclipse project file is thre, as .project in trunk directory. The project name is "trunk", not "open-relex" Duhh

Muriloq checked in new build.xml, errors now fewer. And changed .claspath .. excluding hgdb fixed most of the errors, which were in "/hgdb/core/src/java"

Playing with Eclipse. Mystery: building with eclipse gives "<Unable to parse as an Ant buildfile>"

but running ant on the command line works fine. Can't seem to get eclipse to be more verbose about what it did not like.

No eclipse project files checked in?
Started: 2007-12-13 08:10:13 PM  Last Active: 2007-12-13 11:03:01 PM

The build.xml file is autogened from eclipse, but the actual eclipse project files are not in svn, so I can't alter them. Need to ask muriloq tommorrow.
     [echo] open-relex: /home/linas/src/novamente/svn/open-relex/trunk/build.xml
    [javac] Compiling 163 source files to /home/linas/src/novamente/svn/open-relex/trunk/bin
    [javac] ----------
    [javac] 1. WARNING in /home/linas/src/novamente/svn/open-relex/trunk/src/com/novamente/hg/ (at line 202)
    [javac]     HGSearchResult rs = null;
    [javac]     ^^^^^^^^^^^^^^
    [javac] HGSearchResult is a raw type. References to generic type HGSearchResult should be parameterized

etc. for 212 more errors:
    [javac] 212. WARNING in /home/linas/src/novamente/svn/open-relex/trunk/src/relex/util/socket/ (at line 120)
    [javac]     public String process(String request, ArrayList restoreCommands) {
    [javac]                                           ^^^^^^^^^
    [javac] ArrayList is a raw type. References to generic type ArrayList should be parameterized
    [javac] ----------
    [javac] 212 problems (48 errors, 164 warnings)

/home/linas/src/novamente/svn/open-relex/trunk/build.xml:48: Compile failed; see the compiler error output for details.

Getting relex demos to work
Started: 2007-12-13 06:44:55 PM  Last Active: 2007-12-13 08:10:13 PM

Code in svn, as currently documenteed in README, doesn't work:
Exception in thread "main" java.lang.NoClassDefFoundError: relex.RelationExtractor
Caused by: java.lang.ClassNotFoundException: relex.RelationExtractor not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:lib/jdom.jar,file:lib/wordnet/jwnl.jar,file:lib/wordnet/commons-logging.jar,file:lib/hgdb/hypergraphdb.jar,file:lib/hgdb/db.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at gnu.gcj.runtime.SystemClassLoader.findClass(
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.loadClass(
Am currently trying to fix this. So:
% ant
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.5.0-gcj-4.2-
Buildfile: build.xml


    [mkdir] Created dir: /home/linas/src/novamente/svn/open-relex/trunk/bin
     [copy] Copying 241 files to /home/linas/src/novamente/svn/open-relex/trunk/bin

/home/linas/src/novamente/svn/open-relex/trunk/build.xml:36: Failed to copy /home/linas/src/novamente/svn/open-relex/trunk/src/link-4.1b/.pc/utils.patch/include/utils.h to /home/linas/src/novamente/svn/open-relex/trunk/bin/link-4.1b/.pc/utils.patch/include/utils.h due to /home/linas/src/novamente/svn/open-relex/trunk/src/link-4.1b/.pc/utils.patch/include/utils.h (Permission denied)

Total time: 1 second

Brought to you by ...