so you agreed on using java tools then? And Ivan, you will not provide an alternative?
Cheers, Sebastian On Monday 27 July 2009 00:29:15 Antoni Mylka wrote: > Xesamies, > > After the discussion with Ivan, I've uploaded a little specification of > the validator we used in Nepomuk: > > https://sourceforge.net/apps/trac/oscaf/wiki/Validator > > Now I updated the validator code and wrote an ant task that encapsulates > it. Basically what you need to do is put a following bit of xml inside > build.xml: > > <onttest> > <ontologies dir="${oscaf.trunk.folder}"> > <exclude name="**/README"/> > <exclude name="**/doc/**"/> > <exclude name="**/pimo/**"/> > <exclude name="**/tmo/**"/> > <exclude name="**/base/**"/> > </ontologies> > <baseontologies dir="${oscaf.trunk.folder}"> > <include name="**/base/*"/> > <exclude name="**/README"/> > </baseontologies> > <testcases dir="tests" /> > </onttest> > > The ontologies, base ontologies and test cases are specified as ant > FileSets: http://ant.apache.org/manual/CoreTypes/fileset.html It allows > for pretty fancy file choosing schemes. > > I've uploaded a tarball with the sources of the ant task, all > dependencies and a build.xml script that compiles the java source, > validates all NIE ontologies and a single example file. It's here: > > http://www.dfki.uni-kl.de/~mylka/nie-ant.tar.bz2 > > Please > - download, untar > - edit the build.xml to point it at the oscaf ontologies trunk folder > - type 'ant' > - and see the validation report (or some other problem in which case > send me an email). > > Right now it detects 519 problems in NIE. All of them are due to missing > base ontologies: > - W3C Geo > - Masahide Kanzaki EXIF > - a little hack that states that all XSD datatypes are rdf datatypes > > The missing base ontologies are included in the tarball. > > I would like to create a tools/java folder in SVN and upload the > build.xml, the jars and the testcases there. I wouldn't change anything > in the 'ontologies' folder. If anyone is allergic to java he/she won't > have to check it out at all. > > More testcases will come in near future. Stay tuned. > > Any objections? > > Antoni Mylka > [email protected] > > _______________________________________________ > Xesam mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xesam _______________________________________________ Xesam mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xesam
