Hi all,
I've committed the first version of the hibernate stk. Yippee!
Docs at:
http://fuge.sourceforge.net/stks/hibernate-stk/
There are a few things people should know about this:
URGENT
- There is a problem where the many-2-many relationship between Software and Equipment is not getting filled. I have posted to the Andromda forum, but without luck. For full details of this failure, please see that post: http://galaxy.andromda.org/forum/viewtopic.php?t=5837 . Does anyone have any ideas? In the meantime, all code will work without exceptions, but you lose all links that would normally be held in that table. There is a unit test which, if you run, will fail and illustrates the problem. You would also see the problem with the XmlDbRoundtripTest unit test, if I didn't purposefully remove those parts of the XML before comparison so that any other unknown errors would be displayed. Comparing the two XML files would result in missing equipment references in Software, and vice versa.
IMPORTANT
- Documentation is still fairly sparse. I'll continue working on it. Particularly, there is nothing in the docs yet regarding how to show MagicDraw where the andromda zips are.
- We need a location to host a maven repository of our STK jars. In this way (for instance), people using the hibernate stk can use the xsd stk jars without having to download and install the xsd stk themselves. I am happy to be the one who maintains this repo, but I have no physical location to put it. Many SF projects seem to use their public html space, but I know that SF frowns on the upload of any third-party jars to its website, as their licensing status may be unclear. Is there anyone who would mind hosting the FuGE maven repository?
- There is another limitation of one of the Unit tests that is run: I call it the AccessRight Chicken and the Egg problem. Full details of this are available on: http://fuge.sourceforge.net/stks/hibernate-stk/fuge-hibernate-books/fuge-hibernate/access-rights.html. If anyone has any ideas for possible solutions, that would be great.
OF LESS IMMEDIATE IMPORT
- There has been quite a bit of discussion on the list about which license to use: I have chosen MIT, as that seems to have been the consensus, but others can still speak up! The full text of the license, as it appears within the java documents, is as follows. I'm a little worried that I got the authors right - is the copyright really owned by the PSI and MGED society? Shouldn't the authors be FuGE developers, or the authors found in the documents, or something similar?
/**
* Copyright Notice
*
* The MIT License
*
* Copyright (c) 2008 2007-8 Proteomics Standards Initiative / Microarray and Gene Expression Data Society
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Acknowledgements
* The authors wish to thank the Proteomics Standards Initiative for
* the provision of infrastructure and expertise in the form of the PSI
* Document Process that has been used to formalise this document.
*/
--
Thanks,
Allyson :)
Allyson Lister
Research Associate
Centre for Integrated Systems Biology for Ageing and Nutrition
Newcastle University
http://www.cisban.ac.ukSchool of Computing Science
Newcastle University
Newcastle upon Tyne, NE1 7RU