Skip navigation.
Home
Semantic Software Lab
Concordia University
Montréal, Canada

OwlExporter: Installation issues on Windows based systems

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

Hi,

I am having problem while installing OwlExporter on Windows based systems (Win XP). I have installed the following softwares from the mentioned links

1. Apache ANT, http://ant.apache.org/
ZIP FILES

2. Sun JDK 6, http://java.sun.com/javase/downloads/index.jsp
EXE FILE

3. GATE v5.0 or newer, http://gate.ac.uk/
EXE FILE

4. Prot´eg´e-OWL API, http://protege.stanford.edu/plugins/owl/api/
EXE FILE

I have set following Environment Variables

ANT_HOME, \apache-ant-1.8.2

GATE_HOME, \GATE-6.0

JAVA_HOME, \Java\jdk1.6.0_23

PROTEGE_HOME, \Protege_4.1_beta

Path, \Java\jdk1.6.0_23\bin;
\apache-ant-1.8.2\bin

According to Guide when I follow these steps on cmd:
1. cd to OwlExporterV2
2. ant jar.

I get following BUILD FAILED Message

ERROR 1
BUILD FAILED
C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\build.xml:100
: C:\usr\local\durmtools\GATE_SVN\gate\lib does not exist.

And when I modify gate.home and protege.home in build.properties as shown below

# gate.home - the location of your top-level GATE directory
gate.home=C:\Program Files\GATE-6.0

# protege.home - the location of your top-level Protege directory
protege.home=C:\Program Files\Protege_4.1_beta

Following error occures

ERROR 2

BUILD FAILED
C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\build.xml:100
: C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\Program Fil
esGATE-6.0\lib does not exist.

And when I modify gate.home and protege.home in build.properties as shown below

# gate.home - the location of your top-level GATE directory
#gate.home=/usr/local/durmtools/GATE_SVN/gate
gate.home=/Program Files/GATE-6.0

# protege.home - the location of your top-level Protege directory
#protege.home=/usr/local/durmtools/Protege
protege.home=/Program Files/Protege_4.1_beta

Following error occures

ERROR 3
BUILD FAILED
C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\lib does no
t exist.

When I extracted the OwlExporterV2 zip no \lib was present, I can't figure out which lib it is trying to refer to, is it GATE lib, if yes then why it is not getting the right path to it, what is that I missed ?

DETAILED ERROR 1

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Fahad Farrukh>cd C:\Documents and Settings\Fahad Farru
kh\My Documents\OwlExporterV2

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>ant jar
Buildfile: C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\bu
ild.xml

prepare:
[mkdir] Created dir: C:\Documents and Settings\Fahad Farrukh\My Documents\Ow
lExporterV2\classes

compile:
[javac] C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\b
uild.xml:100: warning: 'includeantruntime' was not set, defaulting to build.sysc
lasspath=last; set to false for repeatable builds
[javac] Compiling 9 source files to C:\Documents and Settings\Fahad Farrukh\
My Documents\OwlExporterV2\classes

BUILD FAILED
C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\build.xml:100
: C:\usr\local\durmtools\GATE_SVN\gate\lib does not exist.

Total time: 1 second

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>

DETAILED ERROR 2

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Fahad Farrukh>cd C:\Documents and Settings\Fahad Farru
kh\My Documents\OwlExporterV2

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>ant jar
Buildfile: C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\bu
ild.xml

prepare:
[mkdir] Created dir: C:\Documents and Settings\Fahad Farrukh\My Documents\Ow
lExporterV2\classes

compile:
[javac] C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\b
uild.xml:100: warning: 'includeantruntime' was not set, defaulting to build.sysc
lasspath=last; set to false for repeatable builds
[javac] Compiling 9 source files to C:\Documents and Settings\Fahad Farrukh\
My Documents\OwlExporterV2\classes

BUILD FAILED
C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\build.xml:100
: C:\usr\local\durmtools\GATE_SVN\gate\lib does not exist.

Total time: 1 second

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>ant jar
Buildfile: C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\bu
ild.xml

prepare:

compile:
[javac] C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\b
uild.xml:100: warning: 'includeantruntime' was not set, defaulting to build.sysc
lasspath=last; set to false for repeatable builds
[javac] Compiling 9 source files to C:\Documents and Settings\Fahad Farrukh\
My Documents\OwlExporterV2\classes

BUILD FAILED
C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\build.xml:100
: C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\Program Fil
esGATE-6.0\lib does not exist.

Total time: 1 second

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>

DETAILED ERROR 3

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Fahad Farrukh>cd C:\Documents and Settings\Fahad Farru
kh\My Documents\OwlExporterV2

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>ant jar
Buildfile: C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\bu
ild.xml

prepare:
[mkdir] Created dir: C:\Documents and Settings\Fahad Farrukh\My Documents\Ow
lExporterV2\classes

compile:
[javac] C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\b
uild.xml:100: warning: 'includeantruntime' was not set, defaulting to build.sysc
lasspath=last; set to false for repeatable builds
[javac] Compiling 9 source files to C:\Documents and Settings\Fahad Farrukh\
My Documents\OwlExporterV2\classes

BUILD FAILED
C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\build.xml:100
: C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2\lib does no
t exist.

Total time: 1 second

C:\Documents and Settings\Fahad Farrukh\My Documents\OwlExporterV2>

rene's picture

New release 3.0 should not have this problem...

We've been busy creating a new major release that changes the build structure and also comes with pre-compiled plugins and an example pipeline. This should avoid the issues you've been seeing. It will be up soon; but we can also mail you a pre-release if you want to try it out (is your profile email correct?).