problem building relex

Asked by fbuendiag

I'm trying to build relex 1.2.1 but ant returns me the next message:

Buildfile: build.xml

build-subprojects:

init:

build-version:
     [echo] Building RelEx version 1.2.1
     [copy] Copying 1 file to /home/tecnico/relex/relex-1.2.1/src/java/relex

look-for-gate:

look-for-owl:
     [echo] Will not build OWL output format; org.semanticweb.owl classes not found.

look-for-opennlp:

build-project:
     [echo] relex: /home/tecnico/relex/relex-1.2.1/build.xml
    [javac] Compiling 136 source files to /home/tecnico/relex/relex-1.2.1/bin
    [javac] ----------
    [javac] 1. ERROR in /home/tecnico/relex/relex-1.2.1/src/java/anaphora/history/SentenceHistoryFactory.java (at line 1)
    [javac] /*
    [javac] ^
    [javac] The type Enum is not generic; it cannot be parameterized with arguments <SentenceHistoryFactory.HistoryEnum>
    [javac] ----------
    [javac] 1 problem (1 error)

Question information

Language:
English Edit question
Status:
Solved
For:
RelEx Edit question
Assignee:
No assignee Edit question
Solved by:
fbuendiag
Solved:
Last query:
Last reply:
Revision history for this message
linas (linasvepstas) said :
#1

what version of java are you using? Would it be possible for you to try other versions of java?

Revision history for this message
fbuendiag (fbuendiag) said :
#2

that is right, I thought that the java was 1.6 but the java compiler redirected me to a earlier version
now the problem is fixed and I have built the relex system (only owl output is pending but I'll try).

Best regards.

Revision history for this message
linas (linasvepstas) said :
#3

You almost surely won't need/want the OWL output, unless you are specifically interested in that. It was created by a student, but I am not convinced that the format is either useful or correct. Unfortunately, that format is not documented.