27 Şubat 2011 Pazar

Warning: {W130} Base URI is "", relative URIs left as relative.

The warning {W130} Base URI is "", relative URIs left as relative. is given when i try to import an owl file using jena api.
Specifically, adding the following lines to .owl file solved my problem:

xmlns="http://Mpeg7-2001.owl#"
xml:base="http:///Mpeg7-2001.owl#"

change namespace of an xml file in java code

I have to change a specific namespace of xml files to a predefined one automatically in java code.
here is working sample code:

7 Şubat 2011 Pazartesi

1 Şubat 2011 Salı

recursively removing .svn folders in a project

execute this command from the project location in order to recursively remove .svn folders in a linux environment:
find . -name ".svn" -type d -exec rm -rf {} \;