HowTo:Swing Store Browser

From iFolder

Table of contents

Overview

Simias stores its data in a database, commonly referred to by the development team (and in code) as the "Store". This document describes a utility that was written to be able to view the data in the store. A Windows-based store browser exists, but this didn't really help much in Linux and Mac, so this Java-based store browser was whipped up.

Building

The SwingStoreBrowser is located in SVN (https://forgesvn1.novell.com/svn/simias/trunk) inside the simias/tools/SwingStoreBrowser/ directory.

A Java compiler (javac) must be in your path for you to build.

Run the following commands:

  ./autogen.sh
  ./configure
  make

If everything goes as planned, you'll end up with SwingStoreBrowser.jar (among other things).

Installing

This tool has not been configured to "install" anywhere. The one thing you must do is copy the SimiasBrowser.asmx file into your ${simias install prefix}/web/ directory. The entire thing will not work if you don't do this. If you've installed to the standard prefix:

  cp simias/src/Simias.Web/SimiasBrowser.asmx /opt/novell/ifolder3/web

Running

Note: Simias (iFolder) must be running before you launch SwingStoreBrowser.

From the simias/tools/SwingStoreBrowser directory, run the following script:

  ./storebrowser

As long as you've followed all the previous steps and Java (java) is in your path, SwingStoreBrowser will launch and connect to your local Simias Store.