Previous Topic

Next Topic

Compiling with Ant

Example Ant script files (build-tutorial.xml and build-tutorial.properties in the directory you unzipped the tutorial to) are provided to allow you to compile the resolver and content handler. Make sure that you have Apache Ant installed and set up on your machine first. For more information on installing and running Ant software, read the Apache Ant Manual.

The following structure within the Kowari installation directory is assumed:

/tutorial
build-tutorial.xml
build-tutorial.properties
/conf
/handler
parserfactory.conf
/handler
/java
compile-handler.list
**Handler package directory structure**
/rdfs
mp3.rdfs
/resolver
/java
compile-resolver.list
**Resolver package directory structure**
/lib
**Supporting jars for the resolver and content handler**

In This Section

See Also

HTTP Resolver and MP3 Content Handler Tutorial

Prerequisites

Developing Protocol Resolvers

Developing Content Handlers

Integrating into Kowari

Change the following properties:

  • server-version property in the build-tutorial.properties file to be the version of the server you are using. For example, 1.1.0
  • server.base.dir property to the directory you installed TKS in

All other properties should not require changing.

Both of the modules used in this tutorial are in the Kowari distribution and can be built using the main build file.

From the main directory of your Kowari installation, run:

  • build.bat content-mp3-jar (for systems running a Linux® or UNIX® operating system use ./build.sh content-mp3-jar)

    This produces the file content-mp3-base-<Kowari version>.jar (where <Kowari version> is the version of your Kowari installation) in the bin directory.

  • build.bat resolver-http-jar (for systems running a Linux® or UNIX® operating system use ./build.sh resolver-http-jar)

    This produces a file called resolver-http-base-<Kowari version>.jar in the bin directory.

Latest News

Kowari 1.1.0 Pre-release 1 Released

Kowari 1.0.5 Released

Kowari 1.0.4.1 Released

Kowari 1.0.4 Released

DAWG Evaluates iTQL

Kowari article in XML.com

Kowari mentioned on XML.com

Kowari 1.0.3 Released

Kowari Lite Introduced

Kowari 1.0.2 Released

Kowari 1.0.1 Released

View all news items


Open Source logo Tucana Technologies Logo SourceForge.net Logo

© 2001-2004 Tucana Technologies, Inc. Some rights reserved.