longwell build system

From: Jon Crump <jjcrump_at_u.washington.edu>
Date: Wed, 6 Jul 2005 11:32:29 -0700 (PDT)

Wiser Heads,

So far, all of my experimentation with longwell has been based on altering
the web application directly. I'm now trying to understand how the 'build
system' works. The user's guide is awfully telegraphic on this score:

>>
The ./data directory of the Longwell distribution is where all the data is
stored.

If you have more than one dataset to merge, we suggest you to create a
bundle and then reference them from it.

If you just want to browser one single dataset that you have already in
RDF, probably the easiest way is just to create your own bundle and put
those RDF files in the ./data directory inside your bundle, they will be
copied over by the build system into the web application.
>>

I've created a bundle in ./data/bundles, in that bundle I've created a
conf and a data directory. config.n3 went into conf and several rdf files
into data (can I do this? "browser one single dataset" "*those* RDF
files"). I've created a local.build.properties file in ./ that includes
the name of my bundle in the comma separated list of bundles. Then I run
the build.sh, select my bundle, and get the following error:

>>
BUILD FAILED
/home/jjcrump/Simile/longwell-1.1/tools/targets/webapp-build.xml:40:
Following error occured while executing this line
/home/jjcrump/Simile/longwell-1.1/tools/targets/webapp-build.xml:44:
Following error occured while executing this line
java.io.FileNotFoundException:
/home/jjcrump/Simile/longwell-1.1/data/datasets/${bundle.datasets}/build.xml
(No such file or directory)
>>

What has to go in /data/datasets? what does the build.xml file have to say
and where does it need to go? Do I have to include a data.properties file
in the bundle, if so, how should it point to the RDF files in the bundle,
or do the RDF files actually have to go in /data/datasets?

This experiment is with functional RDF files, but in future I'll want to
work out how to run an XSL transform on the raw XML files at build time;
any guidance on how to construct the build.xml file to do this, what sort
of syntax to use, and where to put it?

Also, my XSLT stylesheets make use of XSL 2.0 functions, but longwell
looks like it uses saxon7.jar, can I simply plug the saxon8.jar into
./tools/lib?


I apologize for this shotgun spray of questions. Any guidance for the tyro
will be gratefully accepted.

Jon
__________
J.J. Crump
Dept. of History 353560
University of Washington
Seattle, WA. 98195
Received on Wed Jul 06 2005 - 18:29:50 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT