[MKSearch-dev] Week 52 and 53 round up
Phil Shaw
phil at mkdoc.com
Fri Oct 14 20:54:00 BST 2005
The whole system is tested and running on Fedora Core 4 now and
there's not much standing in the way of a beta release. I would like
to run some tests with the distribution next week, and add some notes
to the Web site, but it's pretty much ready to go...
Best regards,
Phil
Friday 7 October
~~~~~~~~~~~~~~~~
Introduced an AbstractApplicationContext and refactored the
getStoreDirectory method to enable relative paths in
ServletApplicationContext (for easy deployment on FC4). Added tests
for the key methods in these classes and made adjustments to the
HttpQuery and AbstractRepositoryManager tests as necessary.
Added the JSpider JAR to the Tomcat deployment (temporarily), changed
the repository file path to a relative one and the Ant home property
'local' configuration to a Windows-style file path with escaped back
slashes.
Created a test release of MKSearch and a first draft WAR deployment.
Monday 10 October
~~~~~~~~~~~~~~~~~
Modified the XhtmlResultRenderer class to introduce rolling page
navigation when there are more than 9 pages of results. Refactored to
simplify the functions for adding next and previous links, and the
page navigation itself. Also modified other parts of the class
hierarchy to adapt to the changes required for page navigation.
Removed the getValue(row, column) method from QueryResult and updated
the QueryResultTag and JSP results pages to use new numeric attribute
for results rendering mode. Added coverage test suites for
PluginApplicationContext and XhtmlResultRenderer.
Update to localised build properties and filters for new Windows
drive references (clean install!).
Thursday 13 October
~~~~~~~~~~~~~~~~~~~
First test run for the query component on Fedora Core 4 with Tomcat
5. Many path references did not resolve correctly, so changed CSS
references to relative paths and hard coded the repository file
reference.
Prefixed paths in QueryBuilderTag with the request context path so
that the MKSearch query application can be deployed irrespective of
its path, and added a static manifest file to the application source
directory.
Completed working draft of the war-mksearch.sh script and removed
echo of script directory path from all other scripts. All paths
resolving correctly.
Friday 14 October
~~~~~~~~~~~~~~~~~
Corrected a minor error case in QueryBuilderTag, optimised several
string constants and simplified the logic for several methods. Also
introduced a Locale argument to the lowercase conversion to allow for
non-English SchemaProperty types via a new getLocale method.
Added a default context path to the MockHttpServletRequest class and
extended the QueryBuilderTag tests to check non-default context path
handling. Created a MockQueryResult class to help test
XhtmlResultRenderer navigation methods.
Refactored the ApplicationContext hierarchy to remove the query
application's dependency on JSpider. Required a template method, re-
organisation of AbstractApplicationContext methods and a final change
to the servlet context configuration scheme. Updated the web.xml
configuration and HttpQueryTest to conform to the new scheme.
Simplified the Ant build.xml and bash war-mksearch.sh script to
exclude the JSpider JAR from the query application WAR file. Updated
the Ant filters files with simple file name references for the Sesame
repository, even though the name is not currently copied dynamically.
--
MKSearch (alpha)
http://www.mksearch.mkdoc.org/
Free, open source metadata search engine with RDF storage and query.
More information about the MKSearch-dev
mailing list