Added new class org.lamsfoundation.lams.contentrepository.client.ToolContentHandler The class handles a simple connection to the content repository, and allows a file to be stored and retrieved. Designed to be used by tools when their only use of the content repository is to store files for online and offline instructions.
SetProperties wasn't working for file nodes - had forgotten to update the validate test, so was expected a file to be included even when just the properties had changed. Altered validation to check inputStream and check on disk for a file.
Added a call to set a custom property, and cleaned up some unnecessary classes - I had moved the service related classes to the service package earlier but the old classes haven't been removed.
Changed testcases to use resource files stored in the test java package, rather than relying them to be on the filesystem. Anyone should now be able to run the test, rather than needed to set their PC up manually.
Rejigged a few things to make junit work locally, now that main code uses JNDI database. Included moving the test context to the src area so that is in jar and available for junit testing in other projects. Changed name of createCredential to createCredentials. More consistent with other methods. Fixed a transaction bug - this method was defined as createCredentials in the Spring xml file.
Change name from com.lamsinternational to org.lamsfoundation. Changed all the entries I can find but the jar file still contains a folder reference it appears.